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

Method Call

cpp/src/arrow/compute/kernels/base_arithmetic_internal.h:344–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342struct MultiplyChecked {
343 template <typename T, typename Arg0, typename Arg1>
344 static enable_if_integer_value<T> Call(KernelContext*, Arg0 left, Arg1 right,
345 Status* st) {
346 static_assert(std::is_same<T, Arg0>::value && std::is_same<T, Arg1>::value, "");
347 T result = 0;
348 if (ARROW_PREDICT_FALSE(MultiplyWithOverflow(left, right, &result))) {
349 *st = Status::Invalid("overflow");
350 }
351 return result;
352 }
353
354 template <typename T, typename Arg0, typename Arg1>
355 static enable_if_floating_value<T> Call(KernelContext*, Arg0 left, Arg1 right,

Callers

nothing calls this directly

Calls 2

MultiplyWithOverflowFunction · 0.85
InvalidFunction · 0.50

Tested by

no test coverage detected