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

Function ok

cpp/src/arrow/status.h:288–288  ·  view source on GitHub ↗

Return true iff the status indicates success.

Source from the content-addressed store, hash-verified

286
287 /// Return true iff the status indicates success.
288 constexpr bool ok() const { return (state_ == NULLPTR); }
289
290 /// Return true iff the status indicates an out-of-memory error.
291 constexpr bool IsOutOfMemory() const { return code() == StatusCode::OutOfMemory; }

Callers 15

status.ccFile · 0.85
AddContextLineMethod · 0.85
statusMethod · 0.85
ResultClass · 0.85
ValueOrDieMethod · 0.85
ValueMethod · 0.85
ValueOrMethod · 0.85
ValueOrElseMethod · 0.85
MapMethod · 0.85
AsMethod · 0.85
codeFunction · 0.85
OrElseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected