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

Method Read

cpp/src/arrow/filesystem/s3fs.cc:1552–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550 }
1551
1552 Result<int64_t> Read(int64_t nbytes, void* out) override {
1553 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(pos_, nbytes, out));
1554 pos_ += bytes_read;
1555 return bytes_read;
1556 }
1557
1558 Result<std::shared_ptr<Buffer>> Read(int64_t nbytes) override {
1559 ARROW_ASSIGN_OR_RAISE(auto buffer, ReadAt(pos_, nbytes));

Callers 11

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TestOpenInputStreamMethod · 0.45
TestOpenInputFileMethod · 0.45
TEST_FFunction · 0.45
TestBucketFunction · 0.45
TEST_FFunction · 0.45
CoalescedReadFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 10

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TestOpenInputStreamMethod · 0.36
TestOpenInputFileMethod · 0.36
TEST_FFunction · 0.36
TestBucketFunction · 0.36
TEST_FFunction · 0.36