MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / RegisterLists

Function RegisterLists

extensions/sets_functions_benchmark_test.cc:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194absl::StatusOr<std::unique_ptr<ListStorage>> RegisterLists(
195 bool overlap, int len, bool use_modern, google::protobuf::Arena* absl_nonnull arena,
196 Activation& activation) {
197 if (use_modern) {
198 return RegisterModernLists(overlap, len, arena, activation);
199 } else {
200 return RegisterLegacyLists(overlap, len, activation);
201 }
202}
203
204void RunBenchmark(const TestCase& test_case, benchmark::State& state) {
205 bool lists_overlap = test_case.result.BoolOrDie();

Callers

nothing calls this directly

Calls 2

RegisterModernListsFunction · 0.85
RegisterLegacyListsFunction · 0.85

Tested by

no test coverage detected