Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Reserve
Method
Reserve
library/cpp/yt/memory/blob.cpp:74–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
void TBlob::Reserve(size_t newCapacity)
75
{
76
if (newCapacity > Capacity_) {
77
Reallocate(newCapacity);
78
}
79
}
80
81
void TBlob::Resize(size_t newSize, bool initializeStorage)
82
{
Callers
11
FlushImpl
Method · 0.45
Encode
Method · 0.45
Decode
Method · 0.45
ReserveNewChunk
Method · 0.45
DoWrite
Method · 0.45
DoNext
Method · 0.45
Preallocate
Method · 0.45
THttpResponseFormatter
Method · 0.45
BuildRequest
Function · 0.45
LoadBaseHeader
Method · 0.45
Add
Method · 0.45
Calls
1
Reallocate
Function · 0.85
Tested by
no test coverage detected