MCPcopy Create free account
hub / github.com/apache/trafficserver / get_next_int

Method get_next_int

include/proxy/hdrs/HdrUtils.h:190–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190inline bool
191HdrCsvIter::get_next_int(int &result)
192{
193 auto val = this->get_next();
194
195 if (val) {
196 TextView parsed;
197 int n = swoc::svtoi(val, &parsed);
198 if (parsed) {
199 result = n;
200 return true;
201 }
202 }
203 return false;
204}

Callers 1

delete_warning_valueMethod · 0.80

Calls 2

get_nextMethod · 0.95
svtoiFunction · 0.85

Tested by

no test coverage detected