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

Method Seek

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

Source from the content-addressed store, hash-verified

445Status CudaBufferWriter::Flush() { return impl_->Flush(); }
446
447Status CudaBufferWriter::Seek(int64_t position) {
448 if (impl_->buffer_position() > 0) {
449 RETURN_NOT_OK(Flush());
450 }
451 return impl_->Seek(position);
452}
453
454Result<int64_t> CudaBufferWriter::Tell() const { return impl_->Tell(); }
455

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