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

Method GenRand

util/random/common_ops_ut.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 template <class T>
12 struct TRng: public TCommonRNG<T, TRng<T>> {
13 inline T GenRand() noexcept {
14 return IntHash(C_++);
15 }
16
17 T C_ = RandomNumber<T>();
18 };

Callers

nothing calls this directly

Calls 1

IntHashFunction · 0.85

Tested by

no test coverage detected