Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Resize
Method
Resize
util/generic/buffer.h:162–165 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
}
161
162
inline void Resize(size_t len) {
163
Reserve(len);
164
Pos_ = len;
165
}
166
167
// Method works like Resize, but allocates exact specified number of bytes
168
// rather than rounded up to next power of 2
Callers
1
Y_UNIT_TEST
Function · 0.45
Calls
1
Reserve
Function · 0.85
Tested by
no test coverage detected