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

Method Seek

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

Source from the content-addressed store, hash-verified

1562 }
1563
1564 Status Seek(int64_t position) override {
1565 RETURN_NOT_OK(CheckClosed());
1566 RETURN_NOT_OK(CheckPosition(position, "seek"));
1567
1568 pos_ = position;
1569 return Status::OK();
1570 }
1571
1572 Result<int64_t> ReadAt(int64_t position, int64_t nbytes, void* out) override {
1573 RETURN_NOT_OK(CheckClosed());

Callers 5

TEST_FFunction · 0.45
TestOpenInputFileMethod · 0.45
TEST_FFunction · 0.45
TestBucketFunction · 0.45
TEST_FFunction · 0.45

Calls 2

CheckClosedFunction · 0.50
OKFunction · 0.50

Tested by 5

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