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

Method Call

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

Source from the content-addressed store, hash-verified

97struct AddTimeDuration {
98 template <typename T, typename Arg0, typename Arg1>
99 static T Call(KernelContext*, Arg0 left, Arg1 right, Status* st) {
100 T result =
101 arrow::internal::SafeSignedAdd(static_cast<T>(left), static_cast<T>(right));
102 if (result < 0 || multiple <= result) {
103 *st = Status::Invalid(result, " is not within the acceptable range of ", "[0, ",
104 multiple, ") s");
105 }
106 return result;
107 }
108};
109
110template <int64_t multiple>

Callers

nothing calls this directly

Calls 2

SafeSignedAddFunction · 0.50
InvalidFunction · 0.50

Tested by

no test coverage detected