search for: plength

Displaying 4 results from an estimated 4 matches for "plength".

Did you mean: length
2001 Jul 09
3
transitions in R
Hi, All. I'd have a set of data in an array: process <- c( 5 , 7 , 4 , 1 , 4 , 1 , 4 , 1 , 4 , 4 , 1 , 5 , 4 , ...) and I'd like to know the number of transitions in this data. I calculate transitions as the number of times a number follows another number. thus, something like this would be a 1 deep transition: 1 --> 1 : 10% (and actual number of 1 --> 1 occurrences) 1
1998 Mar 12
0
Code to check Password Server Group Memberships
...ulen + 3; p[0] = 0x34; p[1] = 0x08; memset(p + 2, 0, 20); send_smb(password_client,outbuf); ret = receive_smb(password_client,inbuf,5000); /* See if we successfully got the groups */ if(ret != 0 && CVAL(inbuf,smb_rcls) == 0) { int plength; struct {uchar name[21];} *groups; char store_groups[600]; int numgroups; int loop; char *grname[100]; int ingroup = 0; p = &inbuf[smb_vwv + (CVAL(inbuf, smb_wct) * 2)]; plength = *((short *) p); numgroup...
2012 Oct 30
4
There is pmin and pmax each taking na.rm, how about psum?
Hi, Please consider the following : x = c(1,3,NA,5) y = c(2,NA,4,1) min(x,y,na.rm=TRUE) # ok [1] 1 max(x,y,na.rm=TRUE) # ok [1] 5 sum(x,y,na.rm=TRUE) # ok [1] 16 pmin(x,y,na.rm=TRUE) # ok [1] 1 3 4 1 pmax(x,y,na.rm=TRUE) # ok [1] 2 3 4 5 psum(x,y,na.rm=TRUE) [1] 3 3 4 6 # expected result Error: could not find function "psum" # actual result
2006 Nov 17
1
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed