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

Method endKey

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

Source from the content-addressed store, hash-verified

148 int cycleOffset(int clientId) { return clientId * cycleSize(0); }
149 int beginKey(int clientId) { return cycleOffset(clientId); }
150 int endKey(int clientId) { return cycleSize(clientId) + cycleOffset(clientId); }
151
152 Standalone<KeyValueRef> operator()(int n) {
153 const uint64_t val = (n + 1) % endKey(clientId) ? n + 1 : beginKey(clientId);

Callers 2

cycleClientMethod · 0.95
cycleCheckClientMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected