OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CurArraySize
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Support/
SmallPtrSet.cpp
28
CurArraySize
= NumElements > 16 ? 1 << (Log2_32_Ceil(NumElements) + 1) : 32;
32
CurArray = (const void**)malloc(sizeof(void*) * (
CurArraySize
+1));
34
memset(CurArray, -1,
CurArraySize
*sizeof(void*));
38
CurArray[
CurArraySize
] = 0;
50
if (NumElements <
CurArraySize
-1) {
57
if (NumElements*4 >=
CurArraySize
*3) {
59
Grow(
CurArraySize
< 64 ? 128 :
CurArraySize
*2);
60
} else if (
CurArraySize
-(NumElements+NumTombstones) <
CurArraySize
/8)
[
all
...]
/external/llvm/include/llvm/ADT/
SmallPtrSet.h
56
///
CurArraySize
- The allocated size of CurArray, always a power of two.
57
/// Note that CurArray points to an array that has
CurArraySize
+1 elements in
59
unsigned
CurArraySize
;
68
SmallArray(SmallStorage), CurArray(SmallStorage),
CurArraySize
(SmallSize) {
85
if (!isSmall() && NumElements*4 <
CurArraySize
&&
CurArraySize
> 32)
89
memset(CurArray, -1,
CurArraySize
*sizeof(void*));
281
return iterator(CurArray+
CurArraySize
);
Completed in 42 milliseconds