Lines Matching refs:NumBuckets
49 unsigned NumBuckets; variable
58 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
60 : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets), in StringMapImpl()
64 RHS.NumBuckets = 0; in StringMapImpl()
103 unsigned getNumBuckets() const { return NumBuckets; } in getNumBuckets()
111 std::swap(NumBuckets, Other.NumBuckets); in swap()
258 init(RHS.NumBuckets); in StringMap()
259 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1), in StringMap()
260 *RHSHashTable = (unsigned *)(RHS.TheTable + NumBuckets + 1); in StringMap()
264 for (unsigned I = 0, E = NumBuckets; I != E; ++I) { in StringMap()
297 return iterator(TheTable, NumBuckets == 0); in begin()
300 return iterator(TheTable+NumBuckets, true); in end()
303 return const_iterator(TheTable, NumBuckets == 0); in begin()
306 return const_iterator(TheTable+NumBuckets, true); in end()
354 assert(NumItems + NumTombstones <= NumBuckets); in insert()
384 assert(NumItems + NumTombstones <= NumBuckets); in emplace_second()
396 for (unsigned I = 0, E = NumBuckets; I != E; ++I) { in clear()
432 for (unsigned I = 0, E = NumBuckets; I != E; ++I) { in ~StringMap()