MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / HashTable

Method HashTable

src/jrd/MetaName.cpp:182–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180#endif
181
182Dictionary::HashTable::HashTable(MemoryPool& p, unsigned lvl)
183 : level(lvl),
184 table(FB_NEW_POOL(p) TableData[hashSize[level]])
185{
186 for (unsigned n = 0; n < hashSize[level]; ++n)
187 table[n].store(nullptr, std::memory_order_relaxed);
188}
189
190unsigned Dictionary::HashTable::getMaxLevel()
191{

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected