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

Method fromValue

fdbserver/workloads/MiniCycle.actor.cpp:138–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 Key key(int n) { return doubleToTestKey(n, keyPrefix); }
137 Value value(int n) { return doubleToTestKey(n, keyPrefix); }
138 int fromValue(const ValueRef& v) { return testKeyToDouble(v, keyPrefix); }
139
140 // cycleSize returns the length of each mini-cycle besides the last,
141 // which is cycleSize + remainder nodes in length

Callers 1

cycleClientMethod · 0.95

Calls 1

testKeyToDoubleFunction · 0.85

Tested by

no test coverage detected