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

Method Read

cpp/src/arrow/ipc/reader.cc:3026–3030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3024}
3025
3026Result<int64_t> IoRecordedRandomAccessFile::Read(int64_t nbytes, void* out) {
3027 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(position_, nbytes, out));
3028 position_ += bytes_read;
3029 return bytes_read;
3030}
3031
3032Result<std::shared_ptr<Buffer>> IoRecordedRandomAccessFile::Read(int64_t nbytes) {
3033 ARROW_ASSIGN_OR_RAISE(std::shared_ptr<Buffer> buffer, ReadAt(position_, nbytes));

Callers 5

DoPreBufferMetadataMethod · 0.45
TESTFunction · 0.45
CheckSliceMethod · 0.45
CheckRoundtripMethod · 0.45
TEST_PFunction · 0.45

Calls 2

ReadAtFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.70

Tested by 4

TESTFunction · 0.36
CheckSliceMethod · 0.36
CheckRoundtripMethod · 0.36
TEST_PFunction · 0.36