Lines Matching refs:NumBuckets
31 NumBuckets = 0;
39 NumBuckets = InitSize ? InitSize : 16;
43 TheTable = (StringMapEntryBase **)calloc(NumBuckets+1,
49 TheTable[NumBuckets] = (StringMapEntryBase*)2;
59 unsigned HTSize = NumBuckets;
62 HTSize = NumBuckets;
66 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
117 unsigned HTSize = NumBuckets;
121 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
175 assert(NumItems + NumTombstones <= NumBuckets);
186 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
191 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) {
192 NewSize = NumBuckets*2;
193 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <=
194 NumBuckets / 8)) {
195 NewSize = NumBuckets;
211 for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
242 NumBuckets = NewSize;