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

Method clear

lib/swoc/include/swoc/IntrusiveHashMap.h:337–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335
336template <typename H>
337void
338IntrusiveHashMap<H>::Bucket::clear() {
339 _v = nullptr;
340 _count = 0;
341 _mixed_p = false;
342 // Need to clear these, or they persist after an expansion which breaks the active bucket list.
343 _link._next = _link._prev = nullptr;
344}
345
346template <typename H>
347bool

Callers 2

eraseMethod · 0.45
expandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected