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

Method copy

fdbrpc/include/fdbrpc/ReplicationTypes.h:156–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 _lookuparray.clear();
155 }
156 void copy(StringToIntMap const& source) {
157 _hashmap = source._hashmap;
158 _lookuparray = source._lookuparray;
159 }
160 std::string lookupString(int hashValue) const {
161 return (hashValue < _lookuparray.size()) ? _lookuparray[hashValue] : "<missing>";
162 }

Callers 8

keyForIndexMethod · 0.45
Future<Void> makoClientFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
LocalitySetClass · 0.45
LocalityGroupClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected