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

Method IntrusiveHashMap

lib/swoc/include/swoc/IntrusiveHashMap.h:384–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382// ---------------------
383
384template <typename H> IntrusiveHashMap<H>::IntrusiveHashMap(size_t n) {
385 if (n) {
386 _table.resize(*std::lower_bound(PRIME.begin(), PRIME.end(), n));
387 }
388}
389
390template <typename H>
391auto

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected