Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxsql
/ GetNextRandom
Function
GetNextRandom
phxsqlclient/utils/random.cpp:81–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
unsigned int GetNextRandom() {
82
return GetFastRandom();
83
}
84
85
bool CheckByRatio(unsigned int base, unsigned int ratio) {
86
if (base == 0 || ratio == 0) {
Callers
nothing calls this directly
Calls
1
GetFastRandom
Function · 0.85
Tested by
no test coverage detected