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

Method ClearValueEntry

eval/public/activation.cc:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool Activation::ClearValueEntry(absl::string_view name) {
94 auto entry = value_map_.find(name);
95
96 // No entry found.
97 if (entry == value_map_.end()) {
98 return false;
99 }
100
101 return entry->second.ClearValue();
102}
103
104int Activation::ClearCachedValues() {
105 int n = 0;

Callers 1

TESTFunction · 0.80

Calls 2

ClearValueMethod · 0.80
endMethod · 0.45

Tested by 1

TESTFunction · 0.64