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

Method hash

src/jrd/Mapping.cpp:223–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222
223FB_SIZE_T Mapping::Map::hash(const Map& value, FB_SIZE_T hashSize)
224{
225 NoCaseString key = value.makeHashKey();
226 return DefaultHash<Map>::hash(key.c_str(), key.length(), hashSize);
227}
228
229NoCaseString Mapping::Map::makeHashKey() const
230{

Callers 1

getMappedFileNameFunction · 0.45

Calls 4

makeHashKeyMethod · 0.80
hashFunction · 0.50
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected