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

Method OnInt64Scalar

library/cpp/yson/writer.cpp:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 }
221
222 void TYsonWriter::OnInt64Scalar(i64 value) {
223 if (Format == EYsonFormat::Binary) {
224 Stream->Write(NDetail::Int64Marker);
225 WriteVarInt64(Stream, value);
226 } else {
227 Stream->Write(::ToString(value));
228 }
229 EndNode();
230 }
231
232 void TYsonWriter::OnUint64Scalar(ui64 value) {
233 if (Format == EYsonFormat::Binary) {

Callers 3

ParseNodeMethod · 0.45
ReadNumericMethod · 0.45
operator()Method · 0.45

Calls 3

WriteVarInt64Function · 0.70
ToStringFunction · 0.70
WriteMethod · 0.45

Tested by

no test coverage detected