search for: indexc

Displaying 10 results from an estimated 10 matches for "indexc".

Did you mean: index
2011 May 18
3
[LLVMdev] access array problem
...sertPos); Value *newcounter = BinaryOperator::Create(Instruction::Add, oldcounter, ConstantInt::get(Type::getInt64Ty(Context), 1), "newcounter", InsertPos); new StoreInst(newcounter, ElmentPtr, InserPos); //store the memory address to counterArray[oldcounter] std::vector<Constant*> indexC(2); indexC[0] = Constant::getNullvalue(Type:getInt32Ty(Context)); indexC[1] = dync_cast(llvm::ConstantInt>(oldcounter); Constant *ElmentPtr = ConstantExpr::getGetElementPtr(counterArray, &indexC[0], indexC.size()); ......// other codes Unfortunately, the oldcounter of Value type can not be...
2011 May 18
0
[LLVMdev] access array problem
...BinaryOperator::Create(Instruction::Add, > oldcounter, ConstantInt::get(Type::getInt64Ty(Context), 1), > "newcounter", InsertPos); > new StoreInst(newcounter, ElmentPtr, InserPos); > > //store the memory address to counterArray[oldcounter] > std::vector<Constant*> indexC(2); > indexC[0] = Constant::getNullvalue(Type:getInt32Ty(Context)); > indexC[1] = dync_cast(llvm::ConstantInt>(oldcounter); Since oldcounter is not a constant (its value is not known at compile time...) this is never going to work. Declare the vector to be of Value* not Constant*. Then...
2011 May 18
2
[LLVMdev] access array problem
...struction::Add, >> oldcounter, ConstantInt::get(Type::getInt64Ty(Context), 1), >> "newcounter", InsertPos); >> new StoreInst(newcounter, ElmentPtr, InserPos); >> >> //store the memory address to counterArray[oldcounter] >> std::vector<Constant*> indexC(2); >> indexC[0] = Constant::getNullvalue(Type:getInt32Ty(Context)); >> indexC[1] = dync_cast(llvm::ConstantInt>(oldcounter); > Since oldcounter is not a constant (its value is not known at compile time...) > this is never going to work. Declare the vector to be of Value* not...
2011 May 18
0
[LLVMdev] access array problem
...rs. >>> Constant *ElementPtr = ConstantExpr::getGetElementPtr(counter, >>> &index[0], index.size()); What is "counter", the same things as CounterSize? >>> //store the memory address to counterArray[oldcounter] >>> std::vector<Constant*> indexC(2); >>> indexC[0] = Constant::getNullvalue(Type:getInt32Ty(Context)); >>> indexC[1] = dync_cast(llvm::ConstantInt>(oldcounter); >> Since oldcounter is not a constant (its value is not known at compile time...) >> this is never going to work. Declare the vector to...
2011 May 18
2
[LLVMdev] access array problem
...stant *ElementPtr = ConstantExpr::getGetElementPtr(counter, >>>> &index[0], index.size()); > What is "counter", the same things as CounterSize? > >>>> //store the memory address to counterArray[oldcounter] >>>> std::vector<Constant*> indexC(2); >>>> indexC[0] = Constant::getNullvalue(Type:getInt32Ty(Context)); >>>> indexC[1] = dync_cast(llvm::ConstantInt>(oldcounter); >>> Since oldcounter is not a constant (its value is not known at compile time...) >>> this is never going to work. Declar...
2003 Aug 27
1
sample configs / load module failure
Hi List, I am trying to locate some detailed documentation and sample configs. I downloaded and compiled Asterisk, and I haven't been able to find much detailed docs on the config files. The distribution I compiled and installed doesn't have any config files, and the handbook is good but doesn't cover all of the configs. Here's my specific problem, when launching Asterisk for the
2004 Jul 19
1
MAC OS X Panther :?
...ium.com > > > I WANT TO USE G729, I HAVE TO USE IT... > > When you have no FW and no NAT, then you seem to be inside your local > network. In this case you shouldn't really care ?!?! > > > --__--__-- > > Message: 7 > From: "Wallingford, Ted" <ted@indexc.com> > To: "'asterisk-users@lists.digium.com'" <asterisk-users@lists.digium.com> > Subject: RE: [Asterisk-Users] Mac OS X installer for Asterisk > Date: Mon, 19 Jul 2004 11:28:24 -0400 > Reply-To: asterisk-users@lists.digium.com > > This message is in MI...
2004 Jul 19
2
Mac OS X installer: missing files fix
...file to the desktop... Then open up a shell, CD to the desktop, and run the following: cat Archive.pax | pax -r sudo cp -R usr/* /usr Anyway, hope this helps the Mac folks on the list. Thanks Benjamin for your efforts in this area. -----Original Message----- From: Wallingford, Ted [mailto:ted@indexc.com] Sent: Monday, July 19, 2004 11:28 AM To: 'asterisk-users@lists.digium.com' Subject: RE: [Asterisk-Users] Mac OS X installer for Asterisk Benjamin, Is this package intended to mirror the directory structure of the linux builds? If so, I may have an issue: While /var/lib/asterisk is...
2003 Aug 25
0
RE: Asterisk-Users digest, Vol 1 #1133 - 18 msgs
Overhead paging is when somebody picks up an extension, speaks into the handset, and their voice is broadcast throughout a building or zone. > What is overhead paging and how is it done with asterisk? > You can do overhead paging and even stream mp3's using nbsd
2004 Jan 26
0
Anyone run * on OS X ?
With the 1U Apple G5 server at a good reliability/storage/pricepoint level... got to thinking about compiling Asterisk on OS X.. at least for SIP phone call switching, voicemail, etc. Has anybody attempted this? Email me off list if this is too dev-heavy for the user list. Thanks, Ted W -----Original Message----- From: asterisk-users-request@lists.digium.com