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

Method CheckOverflow

cpp/src/arrow/util/int_util_test.cc:608–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606 }
607
608 void CheckOverflow(T a, T b) {
609 ARROW_SCOPED_TRACE("a = ", a, ", b = ", b);
610 T result;
611 ASSERT_TRUE(AddWithOverflow(a, b, &result));
612 }
613};
614
615using SignedIntegerTypes = ::testing::Types<int8_t, int16_t, int32_t, int64_t>;

Callers 1

TYPED_TESTFunction · 0.80

Calls 1

AddWithOverflowFunction · 0.85

Tested by

no test coverage detected