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

Function PositiveOrMax

parser/parser.cc:125–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125int32_t PositiveOrMax(int32_t value) {
126 return value >= 0 ? value : std::numeric_limits<int32_t>::max();
127}
128
129SourceRange SourceRangeFromToken(const antlr4::Token* token) {
130 SourceRange range;

Callers 1

ErrorMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected