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

Method equal_range

lib/swoc/include/swoc/IntrusiveHashMap.h:451–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449
450template <typename H>
451auto
452IntrusiveHashMap<H>::equal_range(key_type key) -> range {
453 iterator first{this->find(key)};
454 iterator last{first};
455 iterator limit{this->end()};
456
457 while (last != limit && H::equal(key, H::key_of(&*last))) {
458 ++last;
459 }
460
461 return range{first, last};
462}
463
464template <typename H>
465auto

Callers 6

getMethod · 0.80
acquireSessionMethod · 0.80
remove_entryMethod · 0.80

Calls 2

findMethod · 0.95
endMethod · 0.45

Tested by

no test coverage detected