| 249 | } |
| 250 | |
| 251 | Status CudaBufferReader::DoSeek(int64_t position) { |
| 252 | RETURN_NOT_OK(CheckClosed()); |
| 253 | |
| 254 | if (position < 0 || position > size_) { |
| 255 | return Status::IOError("Seek out of bounds"); |
| 256 | } |
| 257 | |
| 258 | position_ = position; |
| 259 | return Status::OK(); |
| 260 | } |
| 261 | |
| 262 | Result<int64_t> CudaBufferReader::DoReadAt(int64_t position, int64_t nbytes, |
| 263 | void* buffer) { |
nothing calls this directly
no test coverage detected