search for: st2

Displaying 20 results from an estimated 87 matches for "st2".

Did you mean: st
2012 Jan 27
2
[LLVMdev] Double spills with Greedy regalloc
Hello, I noticed the following interesting code sequence while compiling a piece of code with the backend I'm developing. Probably this issue is for Jakob, but anyways this is what I'm getting: STDWPtrQRr <fi#12>, 0, %R25R24; mem:ST2[FixedStack12](align=1) STDWPtrQRr <fi#12>, 0, %R25R24; mem:ST2[FixedStack12](align=1) STDWPtrQRr <fi#13>, 0, %R23R22; mem:ST2[FixedStack13](align=1) STDWPtrQRr <fi#13>, 0, %R23R22; mem:ST2[FixedStack13](align=1) STDWPtrQRr <fi#14>, 0, %R21R20; mem:ST2[FixedSt...
2012 Jan 27
0
[LLVMdev] Double spills with Greedy regalloc
...AM, Borja Ferrer wrote: > Hello, > > I noticed the following interesting code sequence while compiling a piece of code with the backend I'm developing. Probably this issue is for Jakob, but anyways this is what I'm getting: > > STDWPtrQRr <fi#12>, 0, %R25R24; mem:ST2[FixedStack12](align=1) > STDWPtrQRr <fi#12>, 0, %R25R24; mem:ST2[FixedStack12](align=1) > STDWPtrQRr <fi#13>, 0, %R23R22; mem:ST2[FixedStack13](align=1) > STDWPtrQRr <fi#13>, 0, %R23R22; mem:ST2[FixedStack13](align=1) > STDWPtrQRr <fi#14>, 0, %R21...
2003 Nov 16
2
prevent conversion to factors in aggregate?
...39;ve been trying to figure out how to prevent a column that is the result of an aggregate function call so that I can use it in further calculations. For example, I would like to aggregate the expf for the data.frame by sp (character) and dbh (double d=rounded to integer) using the command: > st2 <- aggregate( ntrs$expf, by=list(sp=ntrs$sp,dbh=ntrs$dbh), sum ) > st2$expf <- st2$x / 20 > st2$basal.area <- st2$dbh^2 * st2$expf Warning message: "^" not meaningful for factors in: Ops.factor(st2$dbh, 2) > attributes(st2$dbh) tell me the class is a factor. I would lik...
2020 Jun 19
2
Aliasing and forwarding optimization
----Snip-- struct st1{ int a; }; struct st2{ int b; }; struct st { struct st1 obj1; struct st2 obj2; }Obj; int test1(struct st1 * ptr1 , struct st2 * ptr2, struct st2 *ptr3) { ptr1->a = 10; *ptr3 = *ptr2; return ptr1->a; } --Snip--- For the above case GCC is able to store forward the value 10 to the return place. LLVM is...
2007 Jun 15
0
No subject
...DFEE Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st2=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns:st1=3D"schemas-snapanumber-com/snap" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta n...
2010 Jun 28
3
data frame row statistics (mean)?
...o calculate the mean value of each row in a data frame (d), I am having troubles and getting errors using the code I have written. Below is a brief example of the code, any thought or suggestions would be great. Thank you for your time, Doug # Example Code: d <- data.frame(st1=c(1,2,3,4), st2=c(2,5,6,7), st3=c(5,5,NA,7), st4=c(6,5,7,8)) avg <- rep(NA,length(d[,1])) for (i in 1:length(d[,1])) { avg[i] = mean(d[i,1:4], na.rm=TRUE) } # Final Output wanted. st1 st2 st3 st4 avg 1 1 2 5 6 3.50 2 2 5 5 5 4.25 3 3 6 NA 7 5.33 4 4 7 7 8 6.50 -- -...
2012 May 15
1
Error in eval(expr, envir, enclos) : object 'Rayos' not found???
...ter(resp$QuadratEvent) envir <- envir[!is.na(envir$Aeventexhumed), ] envir$QuadratEvent <- paste(envir$QuadratID, envir$Aeventexhumed, sep="") envir$QuadratEvent <- as.character(envir$QuadratEvent) ExDate <- Sector <- Quadrat <- Aeventexhumed <- NULL ST1 <- ST2 <- ST3 <- ST4 <- ST0 <- NULL Shells <- Hatchlings <- MaxHatch <- DeadHatch <- NULL Oldeggs <- TotalEggs <- QuadratEvent <- NULL for (q in unique(as.character(resp$QuadratEvent))) { s <- resp[as.character(resp$QuadratEvent) == q, ] ExDate <- c...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...pr 9 14:02:14 2002 --- backup.c Tue Apr 9 15:21:56 2002 *************** *** 110,116 **** rprintf(FERROR,"make_bak_dir stat %s : %s\n",fullpath,strerror(errno)); } else { st2=&st; ! set_modtime(fullpath,st2->st_mtime); if(do_lchown(fullpath,st2->st_uid,st2->st_gid)!=0) { rprintf(FERROR,"make_bak_dir chown %s : %s\n",fullpath,strerror(errno)); }; --- 110,117 ----...
2002 Sep 04
0
Problem with st driver
Hi ; I used a scsi tape driver (/dev/st2) on a red hat 7.2 system ia64. when I rewind first the tape, it is ok when I write a long file on the tape (dump 0f /dev/st2 /dev/sda3), dump seems to be ok, but the next rewind operation ( mt rewind ) gives an error message : /dev/st2: Input/output error and , in the /var/log/messages, I get : ke...
2009 Oct 26
1
regular expressions
...ry(gsubfn) ( parsed = strapply(st, "^START +([[:alnum:]]+) +([0-9.]+) +([[:alnum:]]+) +([0-9.]+)",c, simplify=rbind,combine=c) ) d = data.frame(parsed[ ,c(2,4)]) names(d) <- apply(parsed[ ,c(1,3)], 2, unique) d ## this one has more fields: how do I generalize the regular expression? st2 = c("START text1 1 text2 2.3 text3 5", "whatever intermediate text", "START text1 23.4 text2 3.1415 text3 6") Best regards, Baptiste
2012 Sep 20
2
[LLVMdev] Scheduling question (memory dependency)
...gn=2, fixed, at location [SP+50] Function Live Ins: %X3 in %vreg1, %X4 in %vreg2 0B BB#0: derived from LLVM BB %entry Live Ins: %X3 %X4 16B %vreg2<def> = COPY %X4; G8RC_with_sub_32:%vreg2 32B %vreg1<def> = COPY %X3; G8RC:%vreg1 48B STH8 %vreg1<kill>, 0, <fi#-1>; mem:ST2[FixedStack-1] G8RC:%vreg1 64B %vreg4<def> = LHA 0, <fi#-1>; mem:LD2[%0] GPRC:%vreg4 ... --------------------------------------------------------------- So far, so good. When we get to list scheduling, not quite so good: -----------------------------------------------...
2003 May 29
0
[LLVMdev] Re: recursive structs (linked list)
...mory, which allows users to do pointer comparisons to check structural equality of types. Naturally, this makes things interesting when it comes to building recursive structures. :) The trick to it is to use an Opaque type like so: // ST1 === struct ST1; OpaqueType *ST1 = OpaqueType::get(); // ST2 === { int, ST1* } StructType *ST2 = StructType::get(make_vector(Type::IntTy, PointerType::get(ST1), 0)); // ST1 === ST2, delete ST1 ST1->refineAbstractTypeTo(ST2);
2012 Sep 21
0
[LLVMdev] Scheduling question (memory dependency)
...now whether this helps or not. Later the lowered instructions look like: ------------------------------------------------------------------ 16B %vreg2<def> = COPY %X4; G8RC_with_sub_32:%vreg2 32B %vreg1<def> = COPY %X3; G8RC:%vreg1 48B STH8 %vreg1<kill>, 0, <fi#-1>; mem:ST2[FixedStack-1] G8RC:%vreg1 64B %vreg0<def> = LHZ 0, <fi#-1>; mem:LD2[%i11] GPRC:%vreg0 ... ------------------------------------------------------------------ Note the %i11 instead of %0 on the LHZ as another difference. The scheduler then generates a dependency between...
2007 Jun 15
0
No subject
...uot; Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"schemas-snapanumber-com/snap" = xmlns:st2=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta nam...
2012 Sep 21
2
[LLVMdev] Scheduling question (memory dependency)
...Later the lowered instructions > look like: > > ------------------------------------------------------------------ > 16B %vreg2<def> = COPY %X4; G8RC_with_sub_32:%vreg2 > 32B %vreg1<def> = COPY %X3; G8RC:%vreg1 > 48B STH8 %vreg1<kill>, 0, <fi#-1>; mem:ST2[FixedStack-1] > G8RC:%vreg1 > 64B %vreg0<def> = LHZ 0, <fi#-1>; mem:LD2[%i11] GPRC:%vreg0 > ... > ------------------------------------------------------------------ > > Note the %i11 instead of %0 on the LHZ as another difference. The > scheduler...
2004 Sep 02
1
--partiall-dir not behaving like it ought too
Hi, I have awaited the new release inorder to use the -"-partial-dir" option. But after testing it seems that it does not behave like it says on the tin. It will correctly move and rename the interrupted file to the declared directory, but it will not attempt to use it when the client attempts to rsync the file again. I have a Solaris 8 box running as a server (Matthew), and another
2012 Oct 18
3
Upper limit in nlsLM not working as expected
...t;-seq(from=0.1,to=0.6,by=0.5/150) #Simulate a function with noise fu<-function(y0,A,w,xc,x){ eq<-y0 + 2*A/pi*w/(4*(x-xc)^2+w^2) eq<-jitter(eq,factor=200) } #Evaluate function aka Measured data y<-fu(0,0.01,0.06,0.23,x) data<-as.data.frame(cbind(x,y)) #Start values for fitting st2<-data.frame( y0=0, A=0.0001, w=0.055, xc=0.28 ) #Fit function to data fit<-nlsLM(y ~ y0 + 2*(A/pi)*w/(4*(x-xc)^2+w^2), control=nls.lm.control( factor=100, maxiter=1024, ftol = .Machine$double.eps, ptol = .Machine$doub...
2008 Feb 15
4
Revised flags patch
...e9-flags/backup.c --- rsync-3.0.0pre9/backup.c Mon Sep 24 00:19:55 2007 +++ rsync-3.0.0pre9-flags/backup.c Fri Feb 15 19:33:09 2008 @@ -61,7 +61,17 @@ static int make_simple_backup(const char return 0; while (1) { - if (do_rename(fname, fnamebak) == 0) { +#ifdef SUPPORT_FLAGS + STRUCT_STAT st2; + + link_stat(fname, &st2, 0); + make_mutable(fname, st2.st_mode, st2.st_flags); +#endif + if (do_rename(fname, fnamebak) == 0) + { +#ifdef SUPPORT_FLAGS + undo_make_mutable(fnamebak, st2.st_mode, st2.st_flags); +#endif if (verbose > 1) { rprintf(FINFO, "backed up...
2012 Sep 21
2
[LLVMdev] Scheduling question (memory dependency)
...gt; > > > > > ------------------------------------------------------------------ > > > 16B %vreg2<def> = COPY %X4; G8RC_with_sub_32:%vreg2 > > > 32B %vreg1<def> = COPY %X3; G8RC:%vreg1 > > > 48B STH8 %vreg1<kill>, 0, <fi#-1>; mem:ST2[FixedStack-1] > > > G8RC:%vreg1 > > > 64B %vreg0<def> = LHZ 0, <fi#-1>; mem:LD2[%i11] GPRC:%vreg0 > > > ... > > > ------------------------------------------------------------------ > > > > > > Note the %i11 instead...
2012 Sep 21
0
[LLVMdev] Scheduling question (memory dependency)
...ns > > look like: > > > > ------------------------------------------------------------------ > > 16B %vreg2<def> = COPY %X4; G8RC_with_sub_32:%vreg2 > > 32B %vreg1<def> = COPY %X3; G8RC:%vreg1 > > 48B STH8 %vreg1<kill>, 0, <fi#-1>; mem:ST2[FixedStack-1] > > G8RC:%vreg1 > > 64B %vreg0<def> = LHZ 0, <fi#-1>; mem:LD2[%i11] GPRC:%vreg0 > > ... > > ------------------------------------------------------------------ > > > > Note the %i11 instead of %0 on the LHZ as another di...