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

Method Size

util/generic/buffer.h:81–83  ·  view source on GitHub ↗

Used space in bytes (do not mix with Capacity!)

Source from the content-addressed store, hash-verified

79
80 /// Used space in bytes (do not mix with Capacity!)
81 inline size_t Size() const noexcept {
82 return Pos_;
83 }
84
85 Y_PURE_FUNCTION inline bool Empty() const noexcept {
86 return !Size();

Callers 13

Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45
TBufferClass · 0.45
operator==Method · 0.45
TestMessageCropMethod · 0.45
TestQuickSortMethod · 0.45
TestSizeMethod · 0.45
TestMoveCtorMethod · 0.45
TestMoveOpEqMethod · 0.45

Calls

no outgoing calls

Tested by 9

TestMessageCropMethod · 0.36
TestQuickSortMethod · 0.36
TestSizeMethod · 0.36
TestMoveCtorMethod · 0.36
TestMoveOpEqMethod · 0.36