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

Method DoRead

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

Source from the content-addressed store, hash-verified

269}
270
271Result<int64_t> CudaBufferReader::DoRead(int64_t nbytes, void* buffer) {
272 RETURN_NOT_OK(CheckClosed());
273
274 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, DoReadAt(position_, nbytes, buffer));
275 position_ += bytes_read;
276 return bytes_read;
277}
278
279Result<std::shared_ptr<Buffer>> CudaBufferReader::DoReadAt(int64_t position,
280 int64_t nbytes) {

Callers

nothing calls this directly

Calls 1

CheckClosedFunction · 0.70

Tested by

no test coverage detected