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

Method get

fdbserver/networktest.actor.cpp:335–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333 }
334
335 int get() const { return (max == 0) ? 0 : nondeterministicRandom()->randomInt(min, max + 1); }
336
337 std::string toString() const { return format("%d:%d", min, max); }
338};

Callers

nothing calls this directly

Calls 2

nondeterministicRandomFunction · 0.85
randomIntMethod · 0.45

Tested by

no test coverage detected