MCPcopy Create free account
hub / github.com/apache/arrow / Read

Method Read

cpp/src/arrow/io/file.cc:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 Status Close() { return fd_.Close(); }
129
130 Result<int64_t> Read(int64_t nbytes, void* out) {
131 RETURN_NOT_OK(CheckClosed());
132 RETURN_NOT_OK(CheckPositioned());
133 return ::arrow::internal::FileRead(fd_.fd(), reinterpret_cast<uint8_t*>(out), nbytes);
134 }
135
136 Result<int64_t> ReadAt(int64_t position, int64_t nbytes, bool allow_short_read,
137 void* out) {

Callers

nothing calls this directly

Calls 3

FileReadFunction · 0.85
CheckClosedFunction · 0.70
fdMethod · 0.45

Tested by

no test coverage detected