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

Method contains

lib/swoc/include/swoc/IntrusiveHashMap.h:347–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346template <typename H>
347bool
348IntrusiveHashMap<H>::Bucket::contains(value_type *v) const {
349 value_type *x = _v;
350 value_type *limit = this->limit();
351 while (x != limit && x != v) {
352 x = H::next_ptr(x);
353 }
354 return x == v;
355}
356
357// ---------------------
358template <typename H>

Callers 1

findMethod · 0.45

Calls 1

limitMethod · 0.95

Tested by

no test coverage detected