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

Method ReadAt

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

Source from the content-addressed store, hash-verified

132 bool supports_zero_copy() const override { return delegate_->supports_zero_copy(); }
133 Result<int64_t> GetSize() override { return delegate_->GetSize(); }
134 Result<int64_t> ReadAt(int64_t position, int64_t nbytes, void* out) override {
135 SaveReadRange(position, nbytes);
136 return delegate_->ReadAt(position, nbytes, out);
137 }
138 Result<std::shared_ptr<Buffer>> ReadAt(int64_t position, int64_t nbytes) override {
139 return ReadAt(position, nbytes, /*allow_short_read=*/true);
140 }

Callers

nothing calls this directly

Calls 1

ReadAtFunction · 0.85

Tested by

no test coverage detected