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

Function WriteVarInt64

library/cpp/yson/varint.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 int WriteVarInt64(IOutputStream* output, i64 value) {
32 return WriteVarUInt64(output, static_cast<ui64>(ZigZagEncode64(value)));
33 }
34
35 int ReadVarUInt64(IInputStream* input, ui64* value) {
36 size_t count = 0;

Callers 1

OnInt64ScalarMethod · 0.70

Calls 2

WriteVarUInt64Function · 0.85
ZigZagEncode64Function · 0.70

Tested by

no test coverage detected