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

Method TBuffer

util/generic/buffer.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <util/system/sanitizers.h>
8
9TBuffer::TBuffer(size_t len)
10 : Data_(nullptr)
11 , Len_(0)
12 , Pos_(0)
13{
14 Reserve(len);
15}
16
17TBuffer::TBuffer(TBuffer&& b) noexcept
18 : Data_(nullptr)

Callers

nothing calls this directly

Calls 3

ReserveFunction · 0.85
SwapFunction · 0.70
AppendFunction · 0.50

Tested by

no test coverage detected