search for: check2

Displaying 20 results from an estimated 20 matches for "check2".

Did you mean: check
2008 Jun 25
1
data frame manipulation - splitting monitoring interval and assigning stage
...hen the second nest check was before the hatch date (incubation), or when the first nest check was after the hatch date (brood-rearing). But I can't figure out a quick way to split the interval when it contained both incubation and brood-rearing activities. I'd like to go from: Check1 Check2 HatchDate 101 121 110 to: Check1 Check2 HatchDate Stage 101 109 110 I 110 121 110 B because even though the nest wasn't actually checked on the day of hatching, we know that it transitioned t...
2008 Jun 04
5
help understanding why #function(x, y) (if((x-y)>=0) {2^(x-y)} else{-(2^abs(x-y))})# doesn't work like I think it should
...first element will be used ### why will it only use the first element and how to I get around this #### ## example 2 making the fist comparison negative ### x1<-c(5,6,4,3,5,3,1) y1<-c(11,6,2,1,7,1,9) folds<-function(x,y) (if((x-y)>=0) {2^(x-y)} else{-(2^abs(x-y))}) z1<-folds(x1,y1) check2<-cbind(x1,y1,z1) View(check2) Warning message: In if ((x - y) >= 0) { : the condition has length > 1 and only the first element will be used ################################################################################ #### loop I am trying to avoid writing many many times ##### folds...
2010 Sep 17
1
ifelse statement
Dear list, I have a question I'm trying to use the following command in R, but it gives me an error message.The command is: data<-ddply(data,c("year","name"), transform, check1=ifelse(check1==1 & check2==1, 1,NULL)) so in my data frame I already have the check1 variable, if the conditions (check1==1 & check2==1) is respected, check has to have 1 as value, whereas if it is not I want that variable to maintain its value. Anyone knows, how to do this, by doing this for name and year??
2010 Feb 18
1
an error about " return some vectors from some functions within a function"
...e functions I created : ################### # functions in the convg # ################### check1 <- function(sumgt,beta1.0,gamma.0,sigma.0){    if (any(!is.finite(sumgt))){        count1 <- count1+1        return(c(count1,beta1.0,gamma.0,sigma.0))    }   else {return(c(NaN,NaN,NaN,NaN))}  } check2 <- function(v0,maxit,iter,beta1.0,gamma.0,sigma.0){     if (is.nan(sum(v0))==TRUE | any(!is.finite(v0)) | maxit == iter){        count1 <- count1+1        return(c(count1,beta1.0,gamma.0,sigma.0))    }    else {return(c(NaN,NaN,NaN,NaN))}  } check3 <- function(maxit,diff,error,beta1.0,ga...
2018 Jun 09
2
getting real sip status after dial
I think HANGUPCAUSE is channel agnostic. See: core show function HANGUPCAUSE Some thing like this IIRC: Set(my_cause=${HANGUPCAUSE(${CHANNEL(name)},tech)}) Remember the incoming leg of the call and the outgoing leg of the call are different channels. Make sure you are giving HANGUPCAUSE the correct channel. On 06/09/2018 02:01 PM, Khalil Khamlichi wrote: > It seems very weird to me
2020 Jan 31
2
[RFC][FileCheck] New option to negate check patterns
...gt; CHECK<NAME>: mov [[REG:r[0-9]+]], #42 > CHECK-NOT: <NAME> I.e. without adding a new optinons for FileCheck, something like the following? # RUN: llvm-sometool --print-string | FileCheck %s --check-prefix=CHECK1 # RUN: llvm-sometool --no-print-string | FileCheck %s --check-prefix=CHECK2 CHECK1<NAME>: mov [[REG:r[0-9]+]], #42 CHECK2-NOT: <NAME> It might work probably. We already have the ability to name parts of the output checked: // CHECK: Dynamic Relocations { // CHECK-NEXT: {{.*}} R_AARCH64_RELATIVE - [[BAR_ADDR:.*]] // CHECK: Symbols [ // CHECK-NEX...
2012 Jun 06
0
[LLVMdev] LIT Any/All options
...ss. This should only walk over the output multiple times, not re-execute the command multiple times. I'm unsure if MULTI should be a global option (as in, all CHECKs should be checked multiple times within the same output) or not. So, if you have two runs: %run foo | lit CHECK %run bar | lit CHECK2 and you say: CHECK-MULTI That'll mean that all "CHECK" checks will be done multiple times, but no CHECK2. If MULTI is not a global option, than just the "CHECK-MULTI" line will be recorded for future attempts in case of failure. -- cheers, --renato http://systemcall.o...
2010 Jan 14
1
username map is not working properly
...the share share1, then user and group permission is properly assigned to the mapped user 'root' as expected. Please see here: brajesh_01:~ # ls -l /vx/fs2/ total 0 drwxrwxr-x+ 2 root root 96 2010-01-14 06:55 check1 brajesh_01:~ # If I delete the mapping and create another folder 'check2' then permission is still being assigned to the earlier mapped user 'root' even after reloading the smb.conf. brajesh_01:~ # cat $mapfile <--No entry in the map file now brajesh_01:~ # /etc/init.d/smb reload Reloading Samba SMB daemon don...
2013 Oct 10
0
Using calibrate for raking (survey package)
...gregate.stage, :Sample and population totals have different names. # check weights--M and F seem reversed when "calibrate" used library(reshape2) check1 <- with(rake.svy, cbind(variables, weight = 1/prob)) dcast(check1, Gender~Age, sum, value.var = "weight", margins = TRUE) check2 <- with(cal.svy, cbind(variables, weight = 1/prob)) dcast(check2, Gender~Age, sum, value.var = "weight", margins = TRUE)
2015 May 25
0
[LLVMdev] Alias-based Loop Versioning
It’s a good thought in general Adam, but I worried about following scenarios: 1) As Dibyendu already mentioned Check1 + Check2 is not very clear. If your intent is superset/union of check1 & check2 then I’m not sure it will always help passes those needs smaller checks (i.e. loop distribution) Every pass has a different need of runtime check, i.e. vectorizer checks each memory against all others except (read vs read...
2020 Feb 03
2
[RFC][FileCheck] New option to negate check patterns
...t; CHECK-NOT: <NAME> > > > > I.e. without adding a new optinons for FileCheck, something like the > following? > > # RUN: llvm-sometool --print-string | FileCheck %s --check-prefix=CHECK1 > > # RUN: llvm-sometool --no-print-string | FileCheck %s --check-prefix= > CHECK2 > > > > CHECK1<NAME>: mov [[REG:r[0-9]+]], #42 > > CHECK2-NOT: <NAME> > > > > It might work probably. We already have the ability to name parts of > > the output checked: > > > > // CHECK: Dynamic Relocations { > > // CHECK-NEX...
2012 Sep 13
6
[newbie] aggregating table() results and simplifying code with loop
Dear all, I'm looking for primary help at aggregating table() results and at writing a loop (if useful) My dataset ( http://goo.gl/gEPKW ) is composed of 23k rows, each one representing a point in the space of which we know the land cover over 10 years (column y01 to y10). I need to analyse it with a temporal sliding window of 5 years (y01 to y05, y02 to y06 and so forth) For each period
2015 May 28
1
[LLVMdev] Alias-based Loop Versioning
...nce and keep amending the checking block: checks_1+checks_2.) Adam > On May 24, 2015, at 9:35 PM, Nema, Ashutosh <Ashutosh.Nema at amd.com> wrote: > > It’s a good thought in general Adam, but I worried about following scenarios: > > 1) As Dibyendu already mentioned Check1 + Check2 is not very clear. If your intent is superset/union > of check1 & check2 then I’m not sure it will always help passes those needs smaller checks (i.e. loop distribution) > > Every pass has a different need of runtime check, i.e. vectorizer checks each memory against all others >...
2015 May 23
2
[LLVMdev] Alias-based Loop Versioning
----- Original Message ----- > From: "Dibyendu Das" <Dibyendu.Das at amd.com> > To: "Adam Nemet" <anemet at apple.com>, "Dev" <llvmdev at cs.uiuc.edu>, "Ashutosh Nema" <Ashutosh.Nema at amd.com>, "Hal > Finkel" <hfinkel at anl.gov> > Sent: Saturday, May 23, 2015 5:45:27 AM > Subject: RE: [LLVMdev]
2013 Aug 28
2
netlogo r-extension loadlibrary() failures
Trying to access R from Netlogo5 (using the NetLogo R-Extension), running the configuration validation tests in NetLogo5/extensions/r/Systemcheck.nlogo, I get several loadlibrary() errors ... in rJava Check2, > library(rJava); .path.package('rJava') Error : .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'D:/Programs/R/R-3.0.1/library/rJava/libs/x64/rJava.dll': LoadLi...
2004 Mar 23
3
Logging from cron
Hello, I've just spent several hours going over several Google searches trying to find a way to configure rsync to log into a file named "/var/log/rsync.log". So far, every instance where I've found someone asking about rsync logging remained unanswered (which is kind of weird in itself). As far as I can tell, the only way to do this is to setup rsync as a daemon process so
2020 Jan 31
2
[RFC][FileCheck] New option to negate check patterns
Hi all, There have been a few cases recently where I've noticed two test cases in the same lit test that do the same thing except invert the CHECK, to show that something is NOT present. I'm talking about something like the following: # RUN: llvm-sometool --print-string | FileCheck %s --check-prefix=STRING # RUN: llvm-sometool --no-print-string | FileCheck %s --check-prefix=NO-STRING #
2005 Nov 18
3
repeated %in%
Hi I have a list of vectors, each one of which should be a subset of the previous one. How do I check that this property actually holds? Toy problem follows with a list of length 4 but my list can be any length subsets <- list( l1 = 1:10 , l2 = seq(from=1,to=9,by=2), l3 = c(3,7), l4 = 3 ) I need
2020 Mar 19
13
[10.0.0 Release] Release Candidate 5 is here
Hello again, I had hoped that rc4 would be the last one, but I wanted to pick up one more fix, so here we go. Release Candidate 5 was just tagged as llvmorg-10.0.0-rc5 on the release branch at 35627038123. Source code and docs are available at https://prereleases.llvm.org/10.0.0/#rc5 and https://github.com/llvm/llvm-project/releases/tag/llvmorg-10.0.0-rc5 If nothing new comes up, I plan to tag
2020 Apr 25
2
[PATCH 1/3] Add private key protection information extraction to ssh-keygen
...ar *passphrase, ??? ?struct sshbuf *kdf = NULL, *decrypted = NULL; ??? ?struct sshcipher_ctx *ciphercontext = NULL; ??? ?struct sshkey *pubkey = NULL; +?? ?struct sshkey_vault *vault_info = NULL; ??? ?u_char *key = NULL, *salt = NULL, *dp; ??? ?u_int blocksize, rounds, nkeys, encrypted_len, check1, check2; ? ??? ?if (decoded == NULL || decryptedp == NULL || pubkeyp == NULL) ??? ??? ?return SSH_ERR_INVALID_ARGUMENT; ? +?? ?if (vault_infop != NULL) { +?? ??? ?*vault_infop = NULL; +?? ?} +?? ?if ((vault_info = sshkey_vault_new()) == NULL) { +?? ??? ?r = SSH_ERR_ALLOC_FAIL; +?? ??? ?goto out; +?? ?} + ?...