Lines Matching refs:BucketCount
66 // unsigned BucketCount = 1;
69 // if (BucketCount * 3 / 4 < StringCount)
70 // BucketCount = BucketCount * 3 / 2 + 1;
72 // This list contains all StringCount, BucketCount pairs where BucketCount was
73 // just incremented. It ends before the first BucketCount entry where
74 // BucketCount * 3 would overflow a 32-bit unsigned int.
177 uint32_t BucketCount = computeBucketCount(Strings.size());
178 if (auto EC = Writer.writeInteger(BucketCount))
180 std::vector<ulittle32_t> Buckets(BucketCount);
187 for (uint32_t I = 0; I != BucketCount; ++I) {
188 uint32_t Slot = (Hash + I) % BucketCount;