Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Resize
Method
Resize
util/system/file.cpp:977–981 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
975
}
976
977
void Resize(i64 length) {
978
if (!Handle_.Resize(length)) {
979
ythrow TFileError() <<
"can't resize "
<< FileName_.Quote() <<
" to size "
<< length;
980
}
981
}
982
983
void Reserve(i64 length) {
984
if (!Handle_.Reserve(length)) {
Callers
nothing calls this directly
Calls
1
Resize
Method · 0.45
Tested by
no test coverage detected