MCPcopy Create free account
hub / github.com/bytedance/bolt / registerVectorFunctions

Function registerVectorFunctions

bolt/exec/tests/FunctionResolutionTest.cpp:117–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 std::make_unique<VectorFunctionOneArg>());
116
117void registerVectorFunctions() {
118 BOLT_REGISTER_VECTOR_FUNCTION(udf_vector_function_two_args, "my_function");
119 BOLT_REGISTER_VECTOR_FUNCTION(
120 udf_vector_function_one_arg, "my_function_one_arg");
121 BOLT_REGISTER_VECTOR_FUNCTION(
122 udf_vector_function_one_arg, "my_func_return_type");
123
124 registerFunction<SimpleFunctionTwoArgs, bool, Generic<T1>, Generic<T1>>(
125 {"my_function"});
126 registerFunction<SimpleFunctionTwoArgs, bool, Generic<T1>, Generic<T1>>(
127 {"my_function_one_arg"});
128}
129} // namespace bytedance::bolt::functions
130namespace bytedance::bolt::exec {
131namespace {

Callers 1

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected