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

Function SignalFromStatus

cpp/src/arrow/util/io_util.cc:502–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501
502int SignalFromStatus(const Status& status) {
503 const auto detail = status.detail();
504 if (detail != nullptr && detail->type_id() == kSignalDetailTypeId) {
505 return checked_cast<const SignalDetail&>(*detail).signum();
506 }
507 return 0;
508}
509
510namespace {
511

Callers 3

TEST_FFunction · 0.85
AssertStopRequestedMethod · 0.85
TESTFunction · 0.85

Calls 2

signumMethod · 0.80
type_idMethod · 0.45

Tested by 3

TEST_FFunction · 0.68
AssertStopRequestedMethod · 0.68
TESTFunction · 0.68