| 1012 | |
| 1013 | template <typename Op> |
| 1014 | std::shared_ptr<ScalarFunction> MakeShiftFunctionNotNull(std::string name, |
| 1015 | FunctionDoc doc) { |
| 1016 | auto func = std::make_shared<ArithmeticFunction>(name, Arity::Binary(), std::move(doc)); |
| 1017 | for (const auto& ty : IntTypes()) { |
| 1018 | auto exec = ShiftExecFromOp<ScalarBinaryNotNullEqualTypes, Op>(ty); |
| 1019 | DCHECK_OK(func->AddKernel({ty, ty}, ty, exec)); |
| 1020 | } |
| 1021 | AddNullExec(func.get()); |
| 1022 | return func; |
| 1023 | } |
| 1024 | |
| 1025 | template <typename Op, typename FunctionImpl = ArithmeticFloatingPointFunction> |
| 1026 | std::shared_ptr<ScalarFunction> MakeUnaryArithmeticFunctionFloatingPoint( |
nothing calls this directly
no test coverage detected