reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
186 H.Capacity = capacity(); 222 uint32_t H = Traits.hashLookupKey(K) % capacity(); 240 I = (I + 1) % capacity(); 306 uint32_t MaxLoad = maxLoad(capacity()); 307 if (S < maxLoad(capacity())) 309 assert(capacity() != UINT32_MAX && "Can't grow Hash table!"); 311 uint32_t NewCapacity = (capacity() <= INT32_MAX) ? MaxLoad * 2 : UINT32_MAX; 326 assert(capacity() == NewCapacity);unittests/DebugInfo/PDB/HashTableTest.cpp
48 EXPECT_GT(Table.capacity(), 0u); 60 EXPECT_GT(Table.capacity(), 0u); 65 uint32_t N1 = Table.capacity() + 1; 82 EXPECT_GT(Table.capacity(), 0u); 98 EXPECT_GT(Table.capacity(), 0u); 103 uint32_t N1 = Table.capacity() + 1; 128 uint32_t OldCapacity = Table.capacity(); 133 EXPECT_GT(Table.capacity(), OldCapacity); 143 uint32_t Cap = Table.capacity(); 162 EXPECT_EQ(Table.capacity(), Table2.capacity()); 162 EXPECT_EQ(Table.capacity(), Table2.capacity()); 244 uint32_t Cap = Table.capacity(); 266 EXPECT_EQ(Table.capacity(), Table2.capacity()); 266 EXPECT_EQ(Table.capacity(), Table2.capacity());