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

Method Seek

util/system/file.cpp:969–975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967 }
968
969 i64 Seek(i64 offset, SeekDir origin) {
970 i64 pos = Handle_.Seek(offset, origin);
971 if (pos == -1L) {
972 ythrow TFileError() << "can't seek " << offset << " bytes in " << FileName_.Quote();
973 }
974 return pos;
975 }
976
977 void Resize(i64 length) {
978 if (!Handle_.Resize(length)) {

Callers

nothing calls this directly

Calls 1

SeekMethod · 0.45

Tested by

no test coverage detected