MCPcopy 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
81unsigned int GetNextRandom() {
82 return GetFastRandom();
83}
84
85bool CheckByRatio(unsigned int base, unsigned int ratio) {
86 if (base == 0 || ratio == 0) {

Callers

nothing calls this directly

Calls 1

GetFastRandomFunction · 0.85

Tested by

no test coverage detected