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

Method DoSeek

cpp/src/arrow/io/memory.cc:392–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392Status BufferReader::DoSeek(int64_t position) {
393 RETURN_NOT_OK(CheckClosed());
394
395 if (position < 0 || position > size_) {
396 return Status::IOError("Seek out of bounds");
397 }
398
399 position_ = position;
400 return Status::OK();
401}
402
403} // namespace io
404} // namespace arrow

Callers

nothing calls this directly

Calls 3

IOErrorFunction · 0.85
CheckClosedFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected