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

Method HasEnough

eval/eval/evaluator_stack.h:95–95  ·  view source on GitHub ↗

Check that stack has enough elements.

Source from the content-addressed store, hash-verified

93
94 // Check that stack has enough elements.
95 bool HasEnough(size_t size) const { return this->size() >= size; }
96
97 // Dumps the entire stack state as is.
98 void Clear() {

Callers 15

EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected