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

Method TArgs

util/random/fast.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21TFastRng64::TArgs::TArgs(ui64 seed) noexcept {
22 TReallyFastRng32 rng(seed);
23
24 Seed1 = rng.GenRand64();
25 Seq1 = rng.GenRand();
26 Seed2 = rng.GenRand64();
27 Seq2 = rng.GenRand();
28}
29
30TFastRng64::TArgs::TArgs(IInputStream& entropy) {
31 static_assert(sizeof(*this) == 3 * sizeof(ui64), "please, fix me");

Callers

nothing calls this directly

Calls 3

GenRand64Method · 0.80
LoadOrFailMethod · 0.80
GenRandMethod · 0.45

Tested by

no test coverage detected