Lines Matching refs:NumBuckets
30 NumBuckets = 0;
38 NumBuckets = InitSize ? InitSize : 16;
42 TheTable = (ItemBucket*)calloc(NumBuckets+1, sizeof(ItemBucket));
46 TheTable[NumBuckets].Item = (StringMapEntryBase*)2;
56 unsigned HTSize = NumBuckets;
59 HTSize = NumBuckets;
114 unsigned HTSize = NumBuckets;
172 assert(NumItems + NumTombstones <= NumBuckets);
187 if (NumItems*4 > NumBuckets*3) {
188 NewSize = NumBuckets*2;
189 } else if (NumBuckets-(NumItems+NumTombstones) < NumBuckets/8) {
190 NewSize = NumBuckets;
202 for (ItemBucket *IB = TheTable, *E = TheTable+NumBuckets; IB != E; ++IB) {
228 NumBuckets = NewSize;