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

Function CheckClosed

cpp/src/arrow/gpu/cuda_memory.h:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 Result<int64_t> DoGetSize();
188
189 Status CheckClosed() const {
190 if (!is_open_) {
191 return Status::Invalid("Operation forbidden on closed CudaBufferReader");
192 }
193 return Status::OK();
194 }
195
196 std::shared_ptr<CudaBuffer> buffer_;
197 std::shared_ptr<CudaContext> context_;

Callers 5

DoTellMethod · 0.70
DoGetSizeMethod · 0.70
DoSeekMethod · 0.70
DoReadAtMethod · 0.70
DoReadMethod · 0.70

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected