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
);
34
memset(CurArray, -1,
CurArraySize
*sizeof(void*));
46
if (NumElements <
CurArraySize
-1) {
53
if (NumElements*4 >=
CurArraySize
*3) {
55
Grow(
CurArraySize
< 64 ? 128 :
CurArraySize
*2);
56
} else if (
CurArraySize
-(NumElements+NumTombstones) <
CurArraySize
/8) {
59
Grow(
CurArraySize
);
[
all
...]
/external/llvm/include/llvm/ADT/
SmallPtrSet.h
56
///
CurArraySize
- The allocated size of CurArray, always a power of two.
57
unsigned
CurArraySize
;
68
SmallArray(SmallStorage), CurArray(SmallStorage),
CurArraySize
(SmallSize) {
83
if (!isSmall() && NumElements*4 <
CurArraySize
&&
CurArraySize
> 32)
87
memset(CurArray, -1,
CurArraySize
*sizeof(void*));
280
return iterator(CurArray, CurArray+
CurArraySize
);
283
return iterator(CurArray+
CurArraySize
, CurArray+
CurArraySize
);
Completed in 60 milliseconds