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

Method MakeLabel

extensions/sets_functions_benchmark_test.cc:78–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 CelValue result;
77
78 std::string MakeLabel(int len) const {
79 std::string list_impl;
80 switch (this->list_impl) {
81 case ListImpl::kRhsConstant:
82 list_impl = "rhs_constant";
83 break;
84 case ListImpl::kWrappedModern:
85 list_impl = "wrapped_modern";
86 break;
87 case ListImpl::kLegacy:
88 list_impl = "legacy";
89 break;
90 }
91
92 return absl::StrCat(test_name, "/", list_impl, "/", len);
93 }
94};
95
96class ListStorage {

Callers 1

RunBenchmarkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected