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

Method Seek

util/system/file.cpp:378–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378i64 TFileHandle::Seek(i64 offset, SeekDir origin) noexcept {
379 return DoSeek(Fd_, offset, origin);
380}
381
382i64 TFileHandle::GetLength() const noexcept {
383 // XXX: returns error code, but does not set errno

Callers 7

Y_UNIT_TESTFunction · 0.45
SeekMethod · 0.45
TestResizeMethod · 0.45
TestRWMethod · 0.45
TestReadMethod · 0.45
DoSkipMethod · 0.45
ForInputMethod · 0.45

Calls 1

DoSeekFunction · 0.85

Tested by 3

TestResizeMethod · 0.36
TestRWMethod · 0.36
TestReadMethod · 0.36