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

Method find

include/tsutil/Metrics.h:246–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 }
245
246 iterator
247 find(const std::string_view name) const
248 {
249 auto id = lookup(name);
250
251 if (id == NOT_FOUND) {
252 return end();
253 } else {
254 return iterator(*this, id);
255 }
256 }
257
258private:
259 // These are private, to assure that we don't use them by accident creating naked metrics

Callers

nothing calls this directly

Calls 2

lookupFunction · 0.85
iteratorClass · 0.70

Tested by

no test coverage detected