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

Method pack

fdbclient/Subspace.cpp:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47Key Subspace::pack(const Tuple& tuple) const {
48 return tuple.pack().withPrefix(StringRef(rawPrefix.begin(), rawPrefix.size()));
49}
50
51Tuple Subspace::unpack(StringRef const& key) const {
52 if (!contains(key)) {

Callers 15

makeConfigKeyFunction · 0.45
test_functionsMethod · 0.45
server.pyFile · 0.45
_increment_counterFunction · 0.45
SubspaceMethod · 0.45
rangeMethod · 0.45
commitMethod · 0.45
rangeBytesWrittenMethod · 0.45
logBytesWrittenMethod · 0.45

Calls 4

StringRefClass · 0.50
withPrefixMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45

Tested by 2

test_functionsMethod · 0.36
commitMethod · 0.36