search for: idx0

Displaying 14 results from an estimated 14 matches for "idx0".

Did you mean: idx
2016 May 09
2
C++ CreateConstGEP questions
There are two C++ signatures for CreateConstGEP1_32: Value * CreateConstGEP1_32 (Value *Ptr, unsigned Idx0, const Twine &Name="") Value * CreateConstGEP1_32 (Type *Ty, Value *Ptr, unsigned Idx0, const Twine &Name="") I'm assuming that this means that the caller can supply the expected type, and get error checking or casting? Or choose to not supply the type and get w...
2001 Mar 04
1
bubblebabble patch
...x' }; + unsigned int rounds, idx, retval_idx, seed; + char *retval; + + rounds = (dgst_raw_len / 2) + 1; + + retval = xmalloc(sizeof(char)*(rounds*6)); + + seed = 1; + + retval_idx = 0; + + retval[retval_idx++] = 'x'; + + for (idx=0;idx<rounds;idx++) { + + unsigned int idx0, idx1, idx2, idx3, idx4; + + if ((idx + 1 < rounds) || (dgst_raw_len % 2 != 0)) { + + idx0 = (((((unsigned int)(dgst_raw[2*idx])) >> 6) & 3) + seed) % 6; + idx1 = (((unsigned int)(dgst_raw[2*idx])) >> 2) & 15; + idx2 = ((((unsigned int)(dgst_raw[2*idx])) & 3) + (se...
2011 Feb 04
3
[LLVMdev] ConstantBuilder proposal
...); } static Constant *GetGEP( Constant *C, ///< Pointer to item being indexed Constant * Idx, ...) END_WITH_NULL; ///< List of indices static Constant *GetGEP1_32( Constant *C, ///< Pointer to item being indexed unsigned Idx0); ///< Index 0 of GEP static Constant *GetGEP2_32( Constant *C, ///< Pointer to item being indexed unsigned Idx0, ///< Index 0 of GEP unsigned Idx1); ///< Index 1 of GEP static Constant...
2015 Jun 11
2
[LLVMdev] Question about NoWrap flag for SCEVAddRecExpr
...njoy Das <sanjoy at playingwithpointers.com> wrote: > >> Base is treated as unsigned so 0xff…ff + 1 would be 0x100…00 > > This is the part I was missing, thanks for pointing out the FAQ. So > the infinitely precise address computed by a GEP is > > zext(Base) + sext(Idx0) + sext(Idx1) … ? Yes, that is the way I read it. >> 0x100…00 which would be out of bounds (sort of). > > Does this mean, for C++ programs of the form, > > for (int *I = array, *E = array + size; I != E; ++I) > ... > > the memory allocator has to guarantee that ar...
2013 Mar 20
3
highlight overlapping region of two densities
Hi all. I would like to highlight overlapping regions of two densities and I could not find a way to do it. Here is the sample code: myd <- c(2,4,5, 4,3,2,2,3,3,3,2,3,3,4,2,4,3,3,3,2,2.5, 2, 3,3, 2.3, 3, 3, 2, 3) myd1 <- myd-2 plot(range(density(myd)$x, density(myd1)$x), range(density(myd)$y, density(myd1)$y), type = "n") lines(density(myd), col=1, lwd=4)
2015 Jun 11
2
[LLVMdev] Question about NoWrap flag for SCEVAddRecExpr
...: >>> >>>> Base is treated as unsigned so 0xff…ff + 1 would be 0x100…00 >>> >>> This is the part I was missing, thanks for pointing out the FAQ. So >>> the infinitely precise address computed by a GEP is >>> >>> zext(Base) + sext(Idx0) + sext(Idx1) … ? >> >> Yes, that is the way I read it. >> >>>> 0x100…00 which would be out of bounds (sort of). >>> >>> Does this mean, for C++ programs of the form, >>> >>> for (int *I = array, *E = array + size; I != E; ++I) &...
2010 Apr 09
1
Rsge: recursive parallelization
In principle, I'd like to be able to do something like this: sge.parLapply(seq(10), function(x) parLapply(seq(x), function(x) x^2)) In practice, however, I have to resort to acrobatics like this: sge.options(sge.remove.files=FALSE) sge.options(sge.qsub.options='-cwd -V') sge.parLapply(seq(10), function(x) { sge.options(sge.save.global=TRUE)
2007 Jul 23
1
Error using Rd2dvi on OSX
...tput from LaTeX ... /Library/Frameworks/R.framework/Resources/bin/Rd2dvi: line 333: pdflatex: command not found lstat(./makeindex) failed ... ./makeindex: No such file or directory Couldn't find input index file Rd2 nor Rd2.idx. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...] /Library/Frameworks/R.framework/Resources/bin/Rd2dvi: line 335: pdflatex: command not found /Library/Frameworks/R.framework/Resources/bin/Rd2dvi: line 337: pdflatex: command not found Saving output to 'Rd2.pdf' ... cp: .Rd2dvi28208/Rd2.pdf: No such file or directory Done
2010 Oct 27
2
Why is cpu-to-node mapping different between Xen 4.0.2-rc1-pre and Xen 4.1-unstable?
...CPU-to-node mapping for Xen 4.0.2-rc1-pre (xen_changeset:Fri Sep 17 17:06:57 2010 +0100 21350:6e0ffcd2d9e0): (XEN) *** Serial input -> Xen (type ''CTRL-a'' three times to switch input to DOM0) (XEN) ''u'' pressed -> dumping numa info (now-0x4B:40CB2A11) (XEN) idx0 -> NODE0 start->0 size->1703936 (XEN) phys_to_nid(0000000000001000) -> 0 should be 0 (XEN) idx1 -> NODE1 start->1703936 size->1572863 (XEN) phys_to_nid(00000001a0001000) -> 1 should be 1 (XEN) CPU0 -> NODE0 (XEN) CPU1 -> NODE1 (XEN) CPU2 -> NODE0 (XEN) CPU3 -> NO...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...faultInserter<1> >::Insert<llvm::GetElementPtrInst>(llvm::GetElementPtrInst * I, const llvm::Twine & Name) Line 497 C++ XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> >::CreateConstInBoundsGEP1_32(llvm::Value * Ptr, unsigned int Idx0, const llvm::Twine & Name) Line 1014 C++ > XXXTest.exe!XXX::LlvmCodeGenerator::Visit(const XXX::FeatureRefExpression & p_expr) Line 953 C++ XXXTest.exe!XXX::FeatureRefExpression::Accept(XXX::Visitor & p_visitor) Line 46 C++ -------------- next part -------------- An HTML attachment...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...t; > >::Insert<llvm::GetElementPtrInst>(llvm::GetElementPtrInst * I, const > llvm::Twine & Name) Line 497 C++ > XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> > >::CreateConstInBoundsGEP1_32(llvm::Value * Ptr, unsigned int Idx0, const > llvm::Twine & Name) Line 1014 C++ > > XXXTest.exe!XXX::LlvmCodeGenerator::Visit(const > XXX::FeatureRefExpression & p_expr) Line 953 C++ > XXXTest.exe!XXX::FeatureRefExpression::Accept(XXX::Visitor & p_visitor) > Line 46 C++ > -- 刘未鹏(pongba) http://min...
2015 Jun 11
2
[LLVMdev] Question about NoWrap flag for SCEVAddRecExpr
> On Jun 10, 2015, at 6:17 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > > I'm not sure if inbounds can be used to prove <nuw>. If an object > %OBJ is allocated at address -1 then "gep inbounds %OBJ 1" is not > poison, but the underlying computation unsigned-overflows. I think that this should yield poison per langref because the signed
2005 Feb 10
2
Problem with "R CMD Rd2dvi": Rd.sty not found
...y) Enter file name: ! Emergency stop. <read *> l.4 \usepackage {makeidx} No pages of output. Transcript written on Rd2.log. Couldn't find input index file Rd2 nor Rd2.idx. Usage: c:\Program Files\latex\miktex\bin\makeindex.exe [-ilqrcg] [-s sty] [-o id] [-t log] [-p num] [idx0 idx1 ...] This is pdfTeX, Version 3.141592-1.20a-rc7.2 (MiKTeX 2.4) output format initialized to PDF (Rd2.tex LaTeX2e <2003/12/01> Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman, dumylang, nohyphenation, loaded. (C:\Program Files\latex\tex\latex\base\book.c...
2008 Jul 31
1
Samba 3.2.0: Unable make document Help
Dear list, I compiled Samba 3.2.0 document like this. cd samba-3.2.0/source configure ... ... ... cd ../docs-xml make all but some error happen. --------------------------------- # make all ... ... xsltproc --output output/manpages-3/eventlogadm.8 xslt/man.xsl tmp/manpages-3/eventlogadm.8.xml runtime error: file xslt/man.xsl line 41 element if unregistered variable list-indent