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

Method bucket_for

lib/swoc/include/swoc/IntrusiveHashMap.h:391–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389
390template <typename H>
391auto
392IntrusiveHashMap<H>::bucket_for(key_type key) -> Bucket * {
393 return &_table[H::hash_of(key) % _table.size()];
394}
395
396template <typename H>
397auto

Callers 3

findMethod · 0.95
insertMethod · 0.95
eraseMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected