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

Function Read

util/random/fast.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template <class T>
36static inline T Read(IInputStream& in) noexcept {
37 T t = T();
38
39 in.LoadOrFail(&t, sizeof(t));
40
41 return t;
42}
43
44TFastRng32::TFastRng32(IInputStream& entropy)
45 : TFastRng32(Read<ui64>(entropy), Read<ui32>(entropy))

Callers 5

LoadMethod · 0.50
DoReadToMethod · 0.50
DoReadAllMethod · 0.50
LoadMethod · 0.50
DoSkipMethod · 0.50

Calls 2

LoadOrFailMethod · 0.80
TClass · 0.50

Tested by

no test coverage detected