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

Method CheckNotReleased

cpp/src/arrow/c/bridge.cc:2322–2329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2320 }
2321
2322 Status CheckNotReleased() {
2323 if (StreamTraits::IsReleasedFunc(&stream_)) {
2324 return Status::Invalid(
2325 "Attempt to read from a stream that has already been closed");
2326 }
2327
2328 return Status::OK();
2329 }
2330
2331 Status StatusFromCError(int errno_like) const {
2332 return StatusFromCError(&stream_, errno_like);

Callers 2

ReadNextMethod · 0.80
ReadNextMethod · 0.80

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected