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

Method randomUInt64

flow/DeterministicRandom.cpp:91–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91uint64_t DeterministicRandom::randomUInt64() {
92 return gen64();
93}
94
95uint32_t DeterministicRandom::randomSkewedUInt32(uint32_t min, uint32_t maxPlusOne) {
96 ASSERT(min < maxPlusOne);

Callers 14

getTraceThreadIdFunction · 0.80
BlobCipherKeyMethod · 0.80
MoveKeys.actor.cppFile · 0.80
_startMethod · 0.80
unit_tests.cppFile · 0.80
generateSpanIDFunction · 0.80
setMethod · 0.80
newShardIdFunction · 0.80
Tracing.actor.cppFile · 0.80

Calls

no outgoing calls

Tested by 1

setMethod · 0.64