MCPcopy Create free account
hub / github.com/catboost/catboost / GenRand64

Method GenRand64

util/random/common_ops.h:94–96  ·  view source on GitHub ↗

generates 64-bit random number for current(may be 32 bit) rng */

Source from the content-addressed store, hash-verified

92
93 /* generates 64-bit random number for current(may be 32 bit) rng */
94 inline ui64 GenRand64() noexcept {
95 return ::NPrivate::ToRand64(Engine(), Engine().GenRand());
96 }
97
98 /* generates a random number on [0, 1]-real-interval */
99 inline double GenRandReal1() noexcept {

Callers 6

GenerateRandomStringFunction · 0.80
operator()Method · 0.80
NextUniformLMethod · 0.80
Y_UNIT_TESTFunction · 0.80
GenRandReal4Method · 0.80
TArgsMethod · 0.80

Calls 3

ToRand64Function · 0.85
EngineEnum · 0.85
GenRandMethod · 0.45

Tested by

no test coverage detected