Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
9
TBuffer::TBuffer(size_t len)
10
: Data_(nullptr)
11
, Len_(0)
12
, Pos_(0)
13
{
14
Reserve(len);
15
}
16
17
TBuffer::TBuffer(TBuffer&& b) noexcept
18
: Data_(nullptr)
Callers
nothing calls this directly
Calls
3
Reserve
Function · 0.85
Swap
Function · 0.70
Append
Function · 0.50
Tested by
no test coverage detected