MCPcopy Create free account
hub / github.com/SergeyMakeev/ExcaliburHash / makeHugeHashTable

Function makeHugeHashTable

ExcaliburHashTest03.cpp:381–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379
380static const int kNumElementsInHugeTable = 1000;
381static Excalibur::HashTable<int, int> makeHugeHashTable()
382{
383 Excalibur::HashTable<int, int> ht;
384 EXPECT_TRUE(ht.empty());
385 for (int i = 0; i < kNumElementsInHugeTable; i++)
386 {
387 ht.emplace(i, i);
388 }
389 EXPECT_EQ(ht.size(), uint32_t(kNumElementsInHugeTable));
390 return ht;
391}
392
393static Excalibur::HashTable<int, int> makeHashTable(int numElements)
394{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected