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

Method Seek

cpp/src/arrow/gpu/cuda_memory.cc:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435Status CudaBufferWriter::Flush() { return impl_->Flush(); }
436
437Status CudaBufferWriter::Seek(int64_t position) {
438 if (impl_->buffer_position() > 0) {
439 RETURN_NOT_OK(Flush());
440 }
441 return impl_->Seek(position);
442}
443
444Result<int64_t> CudaBufferWriter::Tell() const { return impl_->Tell(); }
445

Callers 3

TestWritesMethod · 0.45
TEST_FFunction · 0.45

Calls 2

FlushFunction · 0.85
buffer_positionMethod · 0.80

Tested by 2

TestWritesMethod · 0.36
TEST_FFunction · 0.36