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

Function CheckClosed

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

Source from the content-addressed store, hash-verified

185 Result<int64_t> DoGetSize();
186
187 Status CheckClosed() const {
188 if (!is_open_) {
189 return Status::Invalid("Operation forbidden on closed CudaBufferReader");
190 }
191 return Status::OK();
192 }
193
194 std::shared_ptr<CudaBuffer> buffer_;
195 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