search for: ival

Displaying 20 results from an estimated 39 matches for "ival".

Did you mean: _val
2002 Mar 13
2
MASS Library
Hi, I was just trying out an example on Page 247 of the MASS (Modern Applied Statistics with S-plus) book and saw the function "negexp.ival". It says it is supplied in the MASS library, however when I load the library in R and typed: negexp.ival it says: Error: Object "negexp.ival" not found Does it mean it only appears in the MASS library for S-plus? ---------------------------------------------------------------...
2017 Sep 13
2
How to add optimizations to InstCombine correctly?
...the new BinaryOp returned from visitMul should replace the original Instruction in the Worklist. However, I end up in an infinite loop and the Instruction I try to replace gets scheduled again and again. What is wrong in my code? // Replace X * (2^C+/-1) with (X << C) -/+ X APInt Plus1 = *IVal + 1; APInt Minus1 = *IVal - 1; int isPow2 = Plus1.isPowerOf2() ? 1 : Minus1.isPowerOf2() ? -1 : 0; if (isPow2) { APInt &Pow2 = isPow2 > 0 ? Plus1 : Minus1; Value *Shl = Builder.CreateShl(Op0, Pow2.logBase2()); return BinaryOperator::Create(isPow2 > 0 ? BinaryOperator::Sub : Bin...
2013 Sep 18
1
ENC paramater interpolation in ENC, and inline templates
...nterpolation, only inline templates. And I assume that I can''t put an inline template as the value of a class param. So it looks like that''s not going to be solved any time soon. 2) Even if I ditch the hash and just use straight params, i.e. classes: interpolate_test: ival: "${::my_ival}" parameters: my_ival: param_ival_value and then in interpolate_test: class interpolate_test($ival) { notice("interpolate_test - value of ival is ${ival}") notice("interpolate_test - value of ::my_ival is ${::my_ival}") } I end up seeing: Noti...
2017 Sep 13
3
How to add optimizations to InstCombine correctly?
...hould replace the original Instruction in the Worklist. >> However, I end up in an infinite loop and the Instruction I try to >> replace gets scheduled again and again. What is wrong in my code? >> >> // Replace X * (2^C+/-1) with (X << C) -/+ X >> APInt Plus1 = *IVal + 1; >> APInt Minus1 = *IVal - 1; >> int isPow2 = Plus1.isPowerOf2() ? 1 : Minus1.isPowerOf2() ? -1 : 0; >> >> if (isPow2) { >> APInt &Pow2 = isPow2 > 0 ? Plus1 : Minus1; >> Value *Shl = Builder.CreateShl(Op0, Pow2.logBase2()); >> return Bin...
2009 Jun 01
5
Changing a Regedit and Half Life/CS Out
...ise (0x67e8460)->(1 00000002 0xe4d8c0) fixme:shdocvw:PersistStreamInit_InitNew (0x67e8460) fixme:shdocvw:WebBrowser_put_RegisterAsBrowser (0x67e8460)->(ffffffff) fixme:shdocvw:WebBrowser_put_RegisterAsDropTarget (0x67e8460)->(ffffffff) net.cpp (931) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cSendBufSize <= iVal net.cpp (939) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cRecvBufSize <= iVal fixme:shdocvw:ViewObject_SetAdvise (0x67ee968)->(1 00000002 0xf45fe8) fixme:shdocvw:PersistStreamInit_InitNew (0x67ee968) fi...
2017 Sep 14
3
How to add optimizations to InstCombine correctly?
...However, I end up in an infinite loop and the Instruction I > try to > replace gets scheduled again and again. What is wrong in my > code? > > // Replace X * (2^C+/-1) with (X << C) -/+ X > APInt Plus1 = *IVal + 1; > APInt Minus1 = *IVal - 1; > int isPow2 = Plus1.isPowerOf2() ? 1 : Minus1.isPowerOf2() ? > -1 : 0; > > if (isPow2) { > APInt &Pow2 = isPow2 > 0 ? Plus1 : Minus1; > Value *Shl = Builder...
2005 Jun 05
0
[PATCH] line endings fix
...es; - cursamplepos += cursamples; - totsamp += cursamples; - if ( totsamp == sampleWindow ) { /* Get the Root Mean Square (RMS) for this set of samples */ - double val = STEPS_per_dB * 10. * log10 ( (lsum+rsum) / totsamp * 0.5 + 1.e-37 ); - int ival = (int) val; - if ( ival < 0 ) ival = 0; - if ( ival >= (int)(sizeof(A)/sizeof(*A)) ) ival = (int)(sizeof(A)/sizeof(*A)) - 1; - A [ival]++; - lsum = rsum = 0.; - memmove ( loutbuf , loutbuf + totsamp, MAX_ORDER * size...
2005 Jun 04
2
[PATCH] line endings fix
The replay gain code has dos line endings in CVS, which causes problems for the Sun compiler, among others. Attached is a patch for the lazy, but it's probably easier to fix locally and commit. -r
2015 Apr 06
2
[LLVMdev] inconsistent wording in the LangRef regarding "shl nsw"
...folding multiplies into left shifts: ... if (I.hasNoUnsignedWrap()) Shl->setHasNoUnsignedWrap(); if (I.hasNoSignedWrap() && *** NewCst->isNotMinSignedValue() ***) Shl->setHasNoSignedWrap(); ... (though the check is a bit weird -- NewCst is Log2(IVal) so I think it cannot ever be INT_MIN, and I suspect that the check is supposed to be "IVal->isNotMinSignedValue()" or equivalent.) Should one of the two clauses be removed from the LangRef? I'd prefer keeping (2) and removing (1) unless it inhibits some important optimization, s...
2001 May 01
0
SSfpl self-start sometimes fails... workaround proposed
...lt;- -((.expr1 * (.expr4 * (1/scal)))/.expr13) .grad[, "scal"] <- (.expr1 * (.expr4 * (.expr2/(scal^2))))/.expr13 dimnames(.grad) <- list(NULL, .actualArgs) attr(.value, "gradient") <- .grad } .value } # Self-starting function for fpl fpl.ival <- function (mCall, data, LHS) { xy <- sortedXyData(mCall[["input"]], LHS, data) if (nrow(xy) < 5) { stop("Too few distinct input values to fit a four-parameter logistic") } xydata <- c(as.list(xy), xmid = NLSstClosestX(xy, mean(range(xy[[&quo...
2017 Sep 16
2
How to add optimizations to InstCombine correctly?
...n an infinite loop and the Instruction I > > try to > > replace gets scheduled again and again. What is wrong in my > > code? > > > > // Replace X * (2^C+/-1) with (X << C) -/+ X > > APInt Plus1 = *IVal + 1; > > APInt Minus1 = *IVal - 1; > > int isPow2 = Plus1.isPowerOf2() ? 1 : Minus1.isPowerOf2() ? > > -1 : 0; > > > > if (isPow2) { > > APInt &Pow2 = isPow2 > 0 ? Plus1 : Minus1; > >...
2017 Sep 19
0
How to add optimizations to InstCombine correctly?
...try to >> > replace gets scheduled again and again. What is >> wrong in my >> > code? >> > >> > // Replace X * (2^C+/-1) with (X << C) -/+ X >> > APInt Plus1 = *IVal + 1; >> > APInt Minus1 = *IVal - 1; >> > int isPow2 = Plus1.isPowerOf2() ? 1 : >> Minus1.isPowerOf2() ? >> > -1 : 0; >> > >> > if (isPow2) { >> > A...
2009 Jun 18
3
merging data.frames of different length
hi, I have two data.frames each with two columns; x1 1 4 1 3 1 6 2 9 2 2 2 5 3 6 3 7 3 4 x2 1 -3 1 -7 2 -3 2 -2 2 -8 3 -1 3 -2 3 -1 now I want to merge this data.frames to one data.frame. The problem is, that sometimes there is a different number of elements per category. (like above x1 has 3 values for the value 1 in the first row, but x2 has only 2 values for the value 1 in the
2011 Mar 03
2
Greek character and R
Dear R users. In a loop, I set the title of my graph with : mytitle = expression(paste(delta^13,'C Station ', i) title(mytitle) However, instead of using value of i, it will literally use "i" character. Any one know the way to concatenate the value of i to the mathematical expression? With regards, Phil -- View this message in context:
2017 Sep 19
0
How to add optimizations to InstCombine correctly?
...try to >> > replace gets scheduled again and again. What is >> wrong in my >> > code? >> > >> > // Replace X * (2^C+/-1) with (X << C) -/+ X >> > APInt Plus1 = *IVal + 1; >> > APInt Minus1 = *IVal - 1; >> > int isPow2 = Plus1.isPowerOf2() ? 1 : >> Minus1.isPowerOf2() ? >> > -1 : 0; >> > >> > if (isPow2) { >> > A...
2011 Nov 17
1
Introducing \n's so that par.strip.text can produce multiline strips in lattice
...2L, 2L, 2L, 2L, 2L), .Label = c("", "Rs.crore"), class = "factor"), Expression = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("", "Ival"), class = "factor"), time = c(7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 1, 1, 1, 1, 1, 1), X03 = c(66170.46, 65337.72, 62669.86, 33870.17, 36779.35, 27133.25, 71829.14, 67226.04, 75086.89, 29505.61, 31750.99, 32961.26, 1047...
2005 May 30
2
smbclient hangs
Hello, I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9. I want to tar the whole directory of a share. Into a file on the server What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is
2017 Sep 19
5
How to add optimizations to InstCombine correctly?
...> replace gets scheduled again and again. What is > >> wrong in my > >> > code? > >> > > >> > // Replace X * (2^C+/-1) with (X << C) -/+ X > >> > APInt Plus1 = *IVal + 1; > >> > APInt Minus1 = *IVal - 1; > >> > int isPow2 = Plus1.isPowerOf2() ? 1 : > >> Minus1.isPowerOf2() ? > >> > -1 : 0; > >> > > >> > if (isPow2) { >...
2024 Sep 15
0
Possible update to survival
I got good feedback from the list about a scope issue, so I am coming back for more. Prior issue: users who type survival::coxph(survival::Surv(time, status) ~ x1 + x2 + surv ival::strata(group), data=mydata) This messes up the character string matching for strata, done via tt <- terms(formula, specials= ?strata?). The code runs, and gives the wrong answer (group is treated as an ordinary covariate). The soluti...
1999 Sep 14
0
SCO lan manager
...ess an incoming LanMan host announcement packet. *******************************************************************/ void process_lm_host_announce(struct subnet_record *subrec, struct packet_struct *p, char *buf) { struct dgram_packet *dgram = &p->packet.dgram; uint32 servertype = IVAL(buf,1); int osmajor=CVAL(buf,5); /* major version of node software */ int osminor=CVAL(buf,6); /* minor version of node software */ int ttl = SVAL(buf,7); char *announce_name = buf+9; struct work_record *work; struct server_record *servrec; char *work_name;...