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

Method MeasureLeaf

library/cpp/containers/comptrie/protopacker.h:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 entry.SerializeToArcadiaStream(&out);
19 }
20 size_t MeasureLeaf(const Proto& entry) const {
21 return entry.ByteSize() + sizeof(ui32);
22 }
23 size_t SkipLeaf(const char* p) const {
24 TMemoryInput in(p, sizeof(ui32));
25 ui32 size;

Callers

nothing calls this directly

Calls 1

ByteSizeMethod · 0.45

Tested by

no test coverage detected