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

Method ByteSize

library/cpp/yt/memory/ref.cpp:425–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423////////////////////////////////////////////////////////////////////////////////
424
425i64 TSharedRefArray::ByteSize() const
426{
427 i64 result = 0;
428 if (*this) {
429 for (const auto& part : *this) {
430 result += part.Size();
431 }
432 }
433 return result;
434}
435
436std::vector<TSharedRef> TSharedRefArray::ToVector() const
437{

Callers 4

MeasureLeafMethod · 0.45
MakeCopyMethod · 0.45
PackLeafMethod · 0.45
MeasureLeafMethod · 0.45

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected