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

Method calcNumBytesInfo

libCacheSim/dataStructure/robin_hood.h:2131–2135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2129 }
2130
2131 ROBIN_HOOD(NODISCARD) size_t calcNumBytesInfo(size_t numElements) const noexcept {
2132 // we add a uint64_t, which houses the sentinel (first byte) and padding so we can load
2133 // 64bit types.
2134 return numElements + sizeof(uint64_t);
2135 }
2136
2137 ROBIN_HOOD(NODISCARD)
2138 size_t calcNumElementsWithBuffer(size_t numElements) const noexcept {

Callers 1

operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected