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

Method DoRead

util/stream/direct_io.cpp:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <util/generic/utility.h>
4
5size_t TRandomAccessFileInput::DoRead(void* buf, size_t len) {
6 const size_t result = File.Pread(buf, len, Position);
7 Position += result;
8 return result;
9}
10
11TRandomAccessFileInput::TRandomAccessFileInput(TDirectIOBufferedFile& file, ui64 position)
12 : File(file)

Callers

nothing calls this directly

Calls 1

PreadMethod · 0.45

Tested by

no test coverage detected