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

Method Seek

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

Source from the content-addressed store, hash-verified

1502 }
1503
1504 Status Seek(int64_t position) override {
1505 RETURN_NOT_OK(CheckClosed());
1506 RETURN_NOT_OK(CheckPosition(position, "seek"));
1507
1508 pos_ = position;
1509 return Status::OK();
1510 }
1511
1512 Result<int64_t> ReadAt(int64_t position, int64_t nbytes, void* out) override {
1513 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