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

Method WriteULongLong

library/cpp/json/ordered_maps/json_ordered.cpp:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 }
249
250 TValueContext TBuf::WriteULongLong(unsigned long long i) {
251 char buf[22]; // enough to hold any 64-bit number
252 size_t len = ToString(i, buf, sizeof(buf));
253 UnsafeWriteValue(buf, len);
254 return TValueContext(*this);
255 }
256
257 template <class TFloat>
258 TValueContext TBuf::WriteFloatImpl(TFloat f, EFloatToStringMode mode, int ndigits) {

Callers 1

WriteMethod · 0.45

Calls 2

TValueContextClass · 0.70
ToStringFunction · 0.50

Tested by

no test coverage detected