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

Method DoRead

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

Source from the content-addressed store, hash-verified

273}
274
275Result<int64_t> CudaBufferReader::DoRead(int64_t nbytes, void* buffer) {
276 RETURN_NOT_OK(CheckClosed());
277
278 ARROW_ASSIGN_OR_RAISE(int64_t bytes_read,
279 DoReadAt(position_, nbytes, /*allow_short_read=*/true, buffer));
280 position_ += bytes_read;
281 return bytes_read;
282}
283
284Result<std::shared_ptr<Buffer>> CudaBufferReader::DoReadAt(int64_t position,
285 int64_t nbytes,

Callers

nothing calls this directly

Calls 1

CheckClosedFunction · 0.70

Tested by

no test coverage detected