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

Method Reserve

util/system/file.cpp:983–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981 }
982
983 void Reserve(i64 length) {
984 if (!Handle_.Reserve(length)) {
985 ythrow TFileError() << "can't reserve " << length << " for file " << FileName_.Quote();
986 }
987 }
988
989 void FallocateNoResize(i64 length) {
990 if (!Handle_.FallocateNoResize(length)) {

Callers

nothing calls this directly

Calls 1

ReserveMethod · 0.45

Tested by

no test coverage detected