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

Method getEntryByHash

src/jrd/MetaName.cpp:220–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220Dictionary::TableData* Dictionary::HashTable::getEntryByHash(const char* s, FB_SIZE_T len)
221{
222 unsigned h = Firebird::InternalHash::hash(len, reinterpret_cast<const UCHAR*>(s), hashSize[level]);
223 return &table[h];
224}
225
226bool Dictionary::checkConsistency(Dictionary::HashTable* oldValue)
227{

Callers 3

getMethod · 0.80
growHashMethod · 0.80
waitForMutexMethod · 0.80

Calls 1

hashFunction · 0.50

Tested by

no test coverage detected