| 273 | } |
| 274 | |
| 275 | Result<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 | |
| 284 | Result<std::shared_ptr<Buffer>> CudaBufferReader::DoReadAt(int64_t position, |
| 285 | int64_t nbytes, |
nothing calls this directly
no test coverage detected