Displaying 20 results from an estimated 71 matches for "zhongli".
Did you mean:
hongli
2010 Dec 07
9
[PATCH] Btrfs: pwrite blocked when writing from the mmaped buffer of the same page
This problem is found in meego testing:
http://bugs.meego.com/show_bug.cgi?id=6672
A file in btrfs is mmaped and the mmaped buffer is passed to pwrite to write to the same page
of the same file. In btrfs_file_aio_write(), the pages is locked by prepare_pages(). So when
btrfs_copy_from_user() is called, page fault happens and the same page needs to be locked again
in filemap_fault(). The fix is to
2011 Apr 06
3
[PATCH V2] Btrfs: fix subvolume mount by name problem when default mount subvolume is set
We create two subvolumes (meego_root and meego_home) in
btrfs root directory. And set meego_root as default mount
subvolume. After we remount btrfs, meego_root is mounted
to top directory by default. Then when we try to mount
meego_home (subvol=meego_home) to a subdirectory, it failed.
The problem is when default mount subvolume is set to
meego_root, we search meego_home in meego_root but can not
2001 Nov 25
2
What is this!
I have installed samba 2.2.2 successfully on my linux box and have
tested it perfectly on linux itself (smbclient //hostname/tmp). However,
when I tried "net use x: \\hostname\tmp" on my win2000 professional
laptop, it gave me "There are currently no logon servers available to
service the logon request". What should I do?
Thanks,
Zhong
2013 Apr 18
1
snow: cluster initialization
Dear all,
I found a strange thing with the snow package.
This will work:
y = matrix(1:4, 2)
cl = makeCluster(rep('localhost', 8), type='SOCK')
parMM(cl, y, y)
This will not:
y = matrix(1:4, 2)
ncore = system('nproc')
parMM(cl, y, y)
Error in cut.default(i, breaks) : invalid number of intervals
I also tried:
cl = makeCluster(rep('localhost', ncore),
2013 Apr 18
1
parSapply can't find function
Here is the code, assuming 8 cores in the cpu.
library('modeest')
library('snow')
cl = makeCluster(rep('localhost', 8), 'SOCK')
x = vector(length=50)
x = sapply(x, function(i) i=sample(c(1,0), 1))
pastK = function(n, x, k) {
if (n>k) { return(x[(n-k):(n-1)]) }
else {return(NA)}
}
predR = function(x, k) {
pastList = lapply(1:length(x), function(n)
2007 Jun 26
3
About stdlib.h system()
Hi all,
I tried to call another .exe file in my own exe file by using the system()
API.
But the return value of system() is -1 and errno is set to ENOENT. It
indicates that the another exe file is not found.
So I copy the another exe to the fake directory: C:\windoes\system32, since
wine always find the exe file there.
And I also set the environment variable "System" and
2003 Dec 12
5
estara softphone problem
Hi all, I installed the estara softphone and had no
problem registering it with asterisk. I could make
calls to other hardware SIP phones (Cisco 7960) from
the softphone, but I couldn't call the softphone from
the Cisco 7960s. The asterisk console gave me an error
message saying "unable to create channel" to my
softphone. What could be the problem? I searched the
archive with no
2018 Sep 19
1
[PATCH] drm: nouveau: remove a redundant local variable 'pclks'
The local variable 'pclks' is never used after being assigned.
hence it should be redundant and can be removed.
Signed-off-by: zhong jiang <zhongjiang at huawei.com>
---
drivers/gpu/drm/nouveau/dispnv04/arb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/dispnv04/arb.c b/drivers/gpu/drm/nouveau/dispnv04/arb.c
index c79160c..cae8f71
2011 Dec 08
1
How to plot multiple graphs in one go?
I am trying to do this, but it won't work:
> library(lattice)
> elemconc = data.frame(expand.grid(id=1:20, geno=c('exp', 'wt'),
region=c('cor', 'cr', 'spine'), elem=c('fe', 'cu', 'zn')), conc=rnorm(360,
10))
> elemconc$geno = factor(elemconc$geno)
> elemconc$region = factor(elemconc$region)
> for (i in
2011 Dec 23
2
cast in reshape and reshape2
> library(reshape2)
> x = melt(airquality, id=c('month', 'day'))
With reshape I can cast with multiple functions:
> library(reshape)
> cast(x, month+variable~., c(mean,sd))
month variable mean sd
1 5 ozone 23.615385 22.224449
2 5 solar.r 181.296296 115.075499
3 5 wind 11.622581 3.531450
4 5 temp 65.548387
2003 Mar 13
6
error installing R on linux 8.0
Hi there,
When installing R on linux 8.0, I got the following error message:
rpm -i /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm
error: /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm: V3 DSA signature: BAD,
key ID 97d3544e
error: /mnt/cdrom/linux/8.x/R-1.6.2-1.i386.rpm cannot be installed
Any suggestions as what I did wrong?
Thanks in advance.
Wenyan
[[alternate HTML version deleted]]
2012 Sep 09
2
Lustre系统管理员培训,中国北京, 2012年10月30日至11月2日/ Lustre Administration and Installation training, Beijing, China, 10/30~11/02 2012
Intel??????????Whamcloud??????????Lustre???????????????Whamcloud???Lustre????????????
????? 2012?10?30? ? 11?2?
???????? ??? ????????2? ??????A?8?
?????????????http://www.whamcloud.com/events/lustre-installation-and-administration-beijing-china/
????????????????
The 1st Lustre Administration and Installation training in Great China area after Intel Corporation acquired Whamcloud will soon be
2005 Aug 10
1
port blocking/disruption i think
hi list
this is as probably more of networking problem than an icecast problem but
it is related - hope people don't mind.
I've been running tests for a project that starts 20 August. I'm sending
stream from my audio software to a local icecast server, then relaying
this to a commercial shoutcast service.
Initially i was using 7000 for the relay port. Worked fine. Then one
morning
2008 Jun 08
3
how to important a date file into R
Hi:
I have a data file in the following format. The first three digits stand for the ID of a respondent such as 402, 403. Different respondents may have the same ID. Followed the ID are 298 single digit number ranging from 1 to 5. My question is how to read this data file into R. I tried "scan" and "read" but they do not work because the numbers in the file are not
2020 Apr 15
2
question on the signature of malloc
Hi all,
consider the following function from Core.cpp in LLVM 9.0.0:
LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef B, LLVMTypeRef Ty,
const char *Name) {
Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext());
Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty));
AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2011 Dec 04
1
Complex multiple t tests in a data frame with several id factors
I have assayed the concentrations of various metal elements in
different anatomic regions of two strains of mice. Now, for each
element, in each region, I want to do a t test to find whether there
is any difference between the two strains.
Here is what I did (using simulated data as an example):
# create the data frame
> elemconc = data.frame(expand.grid(id=1:3, geno=c('exp',
2005 Jul 04
1
question about boxplot axis
Hi:
I have a question making side by side boxplot.
My response is numeric and I want to make a side by
side boxplot of it accroding to a factor vector. So,
there are several boxplots on the same plot. Each
boxplot is with respect to one level for a factor. The
levels of
the factor are some characters. When I make the plot,
the boxplots are arranged according to the alphabetic
order of the
2007 May 25
2
About Parallel Port Driver
Hi all,
I have a .sys driver for parallel port communication.
But it seems wine didn't support loading the driver.
My windows program has to be configured as XP version.
And directly accessing to parallel port is not allowed on the XP host,
therefore _outp and _inp are useless. Is there any solution to this problem?
Best Regards,
Milo Xu
-------------- next part --------------
An HTML
2013 Aug 25
0
"block incomplete" error when compiling R
Dear list,
I am trying to compile R on a 64-bit Ubuntu 13.04 machine and get the
following error:
make[2]: Entering directory
`/home/kaiyin/opt/R-2.15.0/src/library/Recommended'
begin installing recommended package MASS
Error in untar2(tarfile, files, list, exdir) : incomplete block on file
make[2]: *** [MASS.ts] Error 1
make[2]: Leaving directory
2008 Jan 21
2
System logout when installing software
Hi all,
Has anyone encountered this problem when installing software?
This software requires the system to reboot. However, when installing with
root permission, the system will not logout automatically.
After login again, I found that the files have been copied. It seems nothing
wrong exception system logout itself.
My system is ubuntu 7.10 with wine 0.9.46. The same problem pops up on Suse