MCPcopy Create free account
hub / github.com/apple/foundationdb / lookupString

Method lookupString

fdbrpc/include/fdbrpc/ReplicationTypes.h:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 _lookuparray = source._lookuparray;
159 }
160 std::string lookupString(int hashValue) const {
161 return (hashValue < _lookuparray.size()) ? _lookuparray[hashValue] : "<missing>";
162 }
163 int convertString(std::string const& value) {
164 int hashValue;
165 auto itValue = _hashmap.find(value);

Callers 2

keyTextMethod · 0.80
valueTextMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected