Displaying 20 results from an estimated 34 matches for "valuelist".
2020 Jul 16
2
BitcodeReader.cpp bug under LTO
...in a CST_CODE_CE_SELECT record, e.g.
select <selty><cond>, <ty><val1>, <ty><val2>
If "ty" here is a vector type and "cond" is a forward reference, LLVM uses i1 as the placeholder type of "cond" if it cannot find "cond" in ValueList, as the code follows:
Type *SelectorTy = Type::getInt1Ty(Context);
// The selector might be an i1 or an <n x i1>
// Get the type from the ValueList before getting a forward ref.
if (VectorType *VTy = dyn_cast<VectorType>(CurTy))
if (Value *V = ValueList...
2006 Jun 19
9
index columns in postgres
...hed table fields might be useful.
I am using postgres and via postgres, I have added an index to one of my
tables whose index is the same name as the column name. The ''find''
screen I am using this to judge populates a number of ''selection lists''
from a ''valuelists'' table so it hits this table with 4 separate queries
to populate 4 separate selection lists. I can''t see any difference in
speed. Do I have to reference the index within my controller code?
ie...
@employment_type = Valuelist.find(:all,
:conditions => ["list_nam...
2020 Jul 20
2
BitcodeReader.cpp bug under LTO
...in a CST_CODE_CE_SELECT record, e.g.
select <selty><cond>, <ty><val1>, <ty><val2>
If "ty" here is a vector type and "cond" is a forward reference, LLVM uses i1 as the placeholder type of "cond" if it cannot find "cond" in ValueList, as the code follows:
Type *SelectorTy = Type::getInt1Ty(Context);
// The selector might be an i1 or an <n x i1>
// Get the type from the ValueList before getting a forward ref.
if (VectorType *VTy = dyn_cast<VectorType>(CurTy))
if (Value *V = ValueList...
2007 Feb 22
2
[LLVMdev] opt -verify
...:SignalHandler(int)+0x112)[0x8645e74]
[0x70f420]
/lib/libc.so.6(abort+0x101)[0x4cab64f1]
/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
int)+0x1b31)[0x856e825]
opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
std::allocator<llvm::BytecodeReader::ValueList*> >&,
std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
bool)+0x147)[0x856e985]
opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
opt(llvm::BytecodeReader::ParseBytecode(unsigned char const...
2007 Feb 23
2
[LLVMdev] bytecode reader assertion failure
...:SignalHandler(int)+0x112)[0x8645e74]
[0xb87420]
/lib/libc.so.6(abort+0x101)[0x4cab64f1]
/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
int)+0x1b31)[0x856e825]
opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
std::allocator<llvm::BytecodeReader::ValueList*> >&,
std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
bool)+0x147)[0x856e985]
opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
opt(llvm::BytecodeReader::ParseBytecode(unsigned char const...
2007 Feb 22
3
[LLVMdev] opt -verify
...420]
>> /lib/libc.so.6(abort+0x101)[0x4cab64f1]
>> /lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
>> opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
>> int)+0x1b31)[0x856e825]
>> opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
>> std::allocator<llvm::BytecodeReader::ValueList*> >&,
>> std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
>> bool)+0x147)[0x856e985]
>> opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
>> opt(llvm::Bytecod...
2006 May 09
1
[LLVMdev] Memory leaks in LLVM
...x8494CA1: llvm::ConstantExpr::getCast(llvm::Constant*,
llvm::Type const*) (Constants.cpp:1262)
==10132== by 0x83E23D9:
llvm::BytecodeReader::ParseConstantPoolValue(unsigned) (Reader.cpp :1476)
==10132== by 0x83E44E0:
llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
std::allocator<llvm::BytecodeReader::ValueList*> >&,
std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&, bool)
( Reader.cpp:1749)
==10132== by 0x83E68C8: llvm::BytecodeReader::ParseModule() (Reader.cpp
:2351)
==10132== by 0x83E74EE: llvm::Byte...
2007 Feb 22
0
[LLVMdev] opt -verify
...t;/lib/libc.so.6(abort+0x101)[0x4cab64f1]
>>>/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
>>>opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
>>>int)+0x1b31)[0x856e825]
>>>opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
>>>std::allocator<llvm::BytecodeReader::ValueList*> >&,
>>>std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
>>>bool)+0x147)[0x856e985]
>>>opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
>>>op...
2012 Jun 27
2
Select Helper Array of Array + Filter
Noob alert!
Hi, I am having trouble figuring out how to filter a select helper. The
following shows all of the rows in the table but I would like to filter
the collection from the list_name column (:list_name => "Project
Status"):
@project_status = Valuelist.all.collect {|s| [s.list_value,s.id]}
Thanks in advance, James
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3Mboc...
2007 Feb 22
0
[LLVMdev] opt -verify
...8645e74]
> [0x70f420]
> /lib/libc.so.6(abort+0x101)[0x4cab64f1]
> /lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
> opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
> int)+0x1b31)[0x856e825]
> opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
> std::allocator<llvm::BytecodeReader::ValueList*> >&,
> std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
> bool)+0x147)[0x856e985]
> opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
> opt(llvm::BytecodeReader::ParseByteco...
2007 Feb 23
0
[LLVMdev] bytecode reader assertion failure
...645e74]
> [0xb87420]
> /lib/libc.so.6(abort+0x101)[0x4cab64f1]
> /lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
> opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
> int)+0x1b31)[0x856e825]
> opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
> std::allocator<llvm::BytecodeReader::ValueList*> >&,
> std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
> bool)+0x147)[0x856e985]
> opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
> opt(llvm::BytecodeReader::ParseByt...
2007 Feb 23
1
[LLVMdev] bytecode reader assertion failure
...xb87420]
>>/lib/libc.so.6(abort+0x101)[0x4cab64f1]
>>/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
>>opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
>>int)+0x1b31)[0x856e825]
>>opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
>>std::allocator<llvm::BytecodeReader::ValueList*> >&,
>>std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
>>bool)+0x147)[0x856e985]
>>opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe]
>>opt(llvm::BytecodeR...
2009 Nov 01
2
Internal error in 'ls' for pathological environments (PR#14035)
nchar(with(list(2),ls())) gives an internal error. This is of course
a peculiar call (no names in the list), but the error is not caught
cleanly.
It is not clear from the documentation whether with(list(2)...) is
allowable; if it is not, it should presumably give an error. If it is, then
ls
shouldn't have problems with the resulting environment.
> qq <- with(list(2),ls())
2006 May 12
2
[LLVMdev] Instruction->mayReadFromMemory
...that
i need to get the data dependency between the instructions. So currently i am
dooing s.t. like:
for(BasicBlock::iterator j=B.begin(),bbe=B.end();j!=bbe;++j) {
InstructionList.push_back(j);
if (const AllocaInst *AI = dyn_cast<AllocaInst>(j)) {
ValueList.push_back(AI);
} else if(PHINode *PHI=dyn_cast<PHINode>(j)) {
ValueList.push_back(PHI);
} else if(GetElementPtrInst *GEPI= dyn_cast<GetElementPtrInst>(j)) {
ValueList.push_back(GEPI);
};
};
To find the firs...
2012 Sep 11
4
[PATCH] libxl: Tolerate xl config files missing trailing newline
...;''=''", "'';''", "''[''", "'']''", "'',''", "$accept", "file", "assignment",
- "endstmt", "value", "atom", "valuelist", "values", "nlok", 0
+ "''=''", "'';''", "''[''", "'']''", "'',''", "$accept", "file", "stmts", "stmt"...
2007 Feb 22
1
[LLVMdev] opt -verify
...(abort+0x101)[0x4cab64f1]
>>>>/lib/libc.so.6(__assert_fail+0xfd)[0x4caae859]
>>>>opt(llvm::BytecodeReader::ParseConstantPoolValue(unsigned
>>>>int)+0x1b31)[0x856e825]
>>>>opt(llvm::BytecodeReader::ParseConstantPool(std::vector<llvm::BytecodeReader::ValueList*,
>>>>std::allocator<llvm::BytecodeReader::ValueList*> >&,
>>>>std::vector<llvm::PATypeHolder, std::allocator<llvm::PATypeHolder> >&,
>>>>bool)+0x147)[0x856e985]
>>>>opt(llvm::BytecodeReader::ParseModule()+0x188)[0x856edfe...
2006 Jun 16
0
trying to pick up a little speed...
...nel = Personnel.find(:all)
@main_office = Facility.new(:name => "Main Office")
@float = Facility.new(:name => "Floater")
@facility = Facility.find(:all)
@facility = @facility << @main_office
@facility = @facility << @float
@bh_category = Valuelist.find(:all,
:conditions => ["list_name = ''BH Category''"],
:order => ''list_value'')
@position = Valuelist.find(:all,
:conditions => ["list_name = ''Position''"],
:order => ''list_val...
2004 Aug 15
1
index and by groups statement
Dear R-users
Im working with a dataset that contains information
for 8 groups of data and I need to select a sample of
certain size (100 cubic feet by group) from this
database for each of these 8 groups. To clarify, here
is the starting code Im working with:
k<-nrow(dataset)
ix<-sort(runif(k),index.return=TRUE)$ix
M<-max(which(cumsum(dataset$volume[ix])<100))+1
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>>
>> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
2009 Nov 01
0
Internal error in 'ls' for pathological environments (PR#14036)
...all over.)
>
> However, it IS a bug that we are creating ill-formed environments. The
> culprit seems to be that NewEnvironment (memory.c) is getting called in
> violation of its assumption that
>
> " This definition allows
> =A0the namelist argument to be shorter than the valuelist; in this
> =A0case the remaining values must be named already. =A0(This is useful
> =A0in cases where the entire valuelist is already named--namelist can
> =A0then be R_NilValue.)
> "
>
> Removing the assumption from NewEnvironment looks like an efficiency sink=
,
> so I w...