Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LadybugDB/ladybug
/ nextRandomInteger
Method
nextRandomInteger
src/common/random_engine.cpp:23–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
uint32_t RandomEngine::nextRandomInteger() {
24
std::unique_lock xLck{mtx};
25
return randomState.pcg();
26
}
27
28
uint32_t RandomEngine::nextRandomInteger(uint32_t upper) {
29
std::unique_lock xLck{mtx};
Callers
5
evaluateRandom
Method · 0.80
evaluateRandomDotFunction
Method · 0.80
getLineEnds
Method · 0.80
operation
Method · 0.80
generateRandomUUID
Method · 0.80
Calls
no outgoing calls
Tested by
2
evaluateRandom
Method · 0.64
evaluateRandomDotFunction
Method · 0.64