MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / num_nonempty

Method num_nonempty

libCacheSim/dataStructure/sparsepp/spp.h:1287–1287  ·  view source on GitHub ↗

We also may want to know how many *used* buckets there are

Source from the content-addressed store, hash-verified

1285
1286 // We also may want to know how many *used* buckets there are
1287 size_type num_nonempty() const { return (size_type)_num_items(); }
1288
1289 // TODO(csilvers): make protected + friend
1290 // This is used by sparse_hashtable to get an element from the table

Callers 8

resizeMethod · 0.45
setMethod · 0.45
eraseMethod · 0.45
sizeMethod · 0.45
_maybe_shrinkMethod · 0.45
_resize_deltaMethod · 0.45
resizeMethod · 0.45
eraseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected