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

Function size

common/arena_string.h:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 }
140
141 size_type size() const {
142 switch (rep_.kind) {
143 case common_internal::ArenaStringKind::kSmall:
144 return rep_.small.size;
145 case common_internal::ArenaStringKind::kLarge:
146 return rep_.large.size;
147 }
148 }
149
150 bool empty() const { return size() == 0; }
151

Callers 15

atMethod · 0.70
ToStringMethod · 0.70
emptyMethod · 0.70
TypeParametersClass · 0.70
operator[]Method · 0.70
emptyFunction · 0.70
arena_string.hFile · 0.70
operator[]Function · 0.70
remove_prefixFunction · 0.70
remove_suffixFunction · 0.70
ToStringMethod · 0.70
emptyFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected