Displaying 9 results from an estimated 9 matches for "thetabl".
Did you mean:
thetable
2016 Apr 28
2
Why duplicate "protected:" in SmallVector.h, StringMap.h?
...:*
void *BeginX, *EndX, *CapacityX;
*protected:*
SmallVectorBase(void *FirstEl, size_t Size)
: BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
In StringMap.h:
class StringMapImpl {
*protected:*
// Array of NumBuckets pointers to entries, null pointers are holes.
// TheTable[NumBuckets] contains a sentinel value for easy iteration.
Followed
// by an array of the actual hash values as unsigned integers.
StringMapEntryBase **TheTable;
unsigned NumBuckets;
unsigned NumItems;
unsigned NumTombstones;
unsigned ItemSize;
*protected:*
explicit StringMapImpl(uns...
2015 Jul 11
2
[LLVMdev] StringMap question
....} class in include/llvm/ADT/StringMap.h line 56.
Could anyone explain me the purpose of zeroing of all fields of RHS in the
body of this constructor if the declaration of the constructor uses move
semantics? Here is the consturctor code below:
*StringMapImpl(StringMapImpl &&RHS)*
* : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),*
* NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),*
* ItemSize(RHS.ItemSize) {*
* RHS.TheTable = nullptr;*
* RHS.NumBuckets = 0;*
* RHS.NumItems = 0;*
* RHS.NumTombstones = 0;*
* }*
Thank you very much!
BR,
Valeriy
-...
2018 Jun 12
2
Proper method to initialize all LLVM Internal Data Structures?
...rType *ArrayPtrTy =
M->getTypeByName("struct._Array")->getPointerTo();
```
However this piece of code crashes at Module::getTypeByName because getContext().pImpl is NULL pointer. Other similar issues include Module::getTypeByName results in a NULL pointer dereference because TheTable in StringMap is not allocated/initialized.
It would be great if someone could show me what's the correct way to initialize all this kind of internal data structures so I could focus on my tool's logic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <htt...
2007 Sep 26
0
activerecord multiple databases
...unless r.empty?
end
end
module SomeOtherClass
def long_query(number)
r = find_by_sql ["SELECT ...",name]
r.first unless r.empty?
end
end
end
end
module DB1
class SomeClassName < Project::ConnectionFactory::DB1
set_table_name "thetable"
extend Project::ClassMethods::SomeClassName
end
class SomeOtherClass < Project::ConnectionFactory::DB1
set_table_name "theothertable"
extend Project::ClassMethods::SomeOtherClass
end
end
module DB2
class SomeClassName < Project::ConnectionFactory::DB2...
2005 Nov 23
0
Browser inconsistencies when using Effect.MoveBy()
...of the div.
Can anyone give me a hand with this?
Many thanks!
Relevant code is between the lines (ignore dodgy event handler code!):
____________________________________________________________________
function scrollMe(Direction){
var value = Direction == 'left' ? 500 : -500;
var theTable = $('Table');
new Effect.MoveBy(theTable, 0, value, {});
}
<div id="viewer" style="border: 1px solid #c03; width: 500px;
overflow: hidden;">
<p>
<img src="left-arrow.gif" onclick="scrollMe('left');" />
<img...
2006 Jun 09
1
Updating Fields In Migration for HABTM Relationship
Earlier I forgot to add updated_at and created_at columns for my
HABTM relationship so I created a migration to add them. In the
migration I also want to go back and set the value of the created_at
and updated_at columns for the previous rows. What is the best way
to do that?
Initially I thought I was being smart and decided to put an UPDATE
SQL query in a find_by_sql statement and
2012 Sep 11
1
boot() with glm/gnm on a contingency table
Hi everyone!
In a package I'm developing, I have created a custom function to get
jackknife standard errors for the parameters of a gnm model (which is
essentially the same as a glm model for this issue). I'd like to add
support for bootstrap using package boot, but I couldn't find how to
proceed.
The problem is, my data is a table object. Thus, I don't have one
individual per
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
This series of patches address several issues causing memory usage to grow
indefinetely on a long lived process.
These are not convenional leaks -- memory would have been freed when the LLVM
context or/and JIT engine is destroyed -- but for as long as they aren't the
memory is usage effectively ubounded.
The issues were found using valgrind with '--show-reachable=yes' option:
1.
2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
Thanks,
I tried calling ResetAllOptionOccurrences after the run like this…
// Compile the module TimeCompilations times to give better compile time
// metrics.
for (unsigned I = TimeCompilations; I; --I)
if (int RetVal = compileModule(argv, Context))
return RetVal;
if (YamlFile)
YamlFile->keep();
cl::ResetAllOptionOccurrences();
return 0;
}
Unfortunately