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

Function SetRandomSeed

util/random/random.cpp:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void SetRandomSeed(int seed) {
123 *GetRndGen<ui32>() = TRndGen<ui32>(seed);
124 *GetRndGen<ui64>() = TRndGen<ui64>(seed);
125}

Callers 6

TEST_PFunction · 0.85
CaseInsensitiveHashFunction · 0.85
CompareEqualStringsFunction · 0.85
TESTFunction · 0.85
Y_UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected