| 269 | } |
| 270 | |
| 271 | Result<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 | |
| 279 | Result<std::shared_ptr<Buffer>> CudaBufferReader::DoReadAt(int64_t position, |
| 280 | int64_t nbytes) { |
nothing calls this directly
no test coverage detected