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

Method CheckNotReleased

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

Source from the content-addressed store, hash-verified

2315 }
2316
2317 Status CheckNotReleased() {
2318 if (StreamTraits::IsReleasedFunc(&stream_)) {
2319 return Status::Invalid(
2320 "Attempt to read from a stream that has already been closed");
2321 }
2322
2323 return Status::OK();
2324 }
2325
2326 Status StatusFromCError(int errno_like) const {
2327 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