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

Function populateVectorFunctionSignatures

bolt/functions/FunctionRegistry.cpp:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47namespace {
48
49void populateVectorFunctionSignatures(FunctionSignatureMap& map) {
50 auto vectorFunctions = exec::vectorFunctionFactories();
51 vectorFunctions.withRLock([&map](const auto& locked) {
52 for (const auto& it : locked) {
53 const auto& allSignatures = it.second.signatures;
54 auto& curSignatures = map[it.first];
55 curSignatures.insert(
56 std::end(curSignatures), allSignatures.begin(), allSignatures.end());
57 }
58 });
59}
60
61} // namespace
62

Callers 1

getFunctionSignaturesFunction · 0.85

Calls 3

insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected