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

Function spp_popcount

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

Source from the content-addressed store, hash-verified

965#if defined(SPP_POPCNT_CHECK) && defined(SPP_POPCNT)
966
967static inline uint32_t spp_popcount(uint32_t i)
968{
969 static const bool s_ok = spp_popcount_check();
970 return s_ok ? SPP_POPCNT(i) : s_spp_popcount_default(i);
971}
972
973#else
974

Callers 4

_pos_to_offsetMethod · 0.85
offset_to_posMethod · 0.85
read_metadataMethod · 0.85
_num_itemsMethod · 0.85

Calls 2

spp_popcount_checkFunction · 0.85
s_spp_popcount_defaultFunction · 0.85

Tested by

no test coverage detected