Searched refs:LOG2_SHARD_COUNT (Results 1 – 4 of 4) sorted by relevance
35 #define LOG2_SHARD_COUNT 5 macro36 #define SHARD_COUNT (1 << LOG2_SHARD_COUNT)39 #define TABLE_IDX(hash, capacity) (((hash) >> LOG2_SHARD_COUNT) % (capacity))40 #define SHARD_IDX(hash) ((hash) & ((1 << LOG2_SHARD_COUNT) - 1))
37 #define LOG2_SHARD_COUNT 5 macro38 #define SHARD_COUNT (1 << LOG2_SHARD_COUNT)41 #define TABLE_IDX(hash, capacity) (((hash) >> LOG2_SHARD_COUNT) % (capacity))42 #define SHARD_IDX(hash) ((hash) & ((1 << LOG2_SHARD_COUNT) - 1))
66 #define LOG2_SHARD_COUNT 4 macro67 #define SHARD_COUNT ((size_t)(1 << LOG2_SHARD_COUNT))69 #define TABLE_IDX(hash, capacity) (((hash) >> (LOG2_SHARD_COUNT)) % (capacity))70 #define SHARD_IDX(hash) ((hash) & ((1 << (LOG2_SHARD_COUNT)) - 1))
98 #define LOG2_SHARD_COUNT 4 macro99 #define SHARD_COUNT ((size_t)(1 << LOG2_SHARD_COUNT))101 #define TABLE_IDX(hash, capacity) (((hash) >> (LOG2_SHARD_COUNT)) % (capacity))102 #define SHARD_IDX(hash) ((hash) & ((1 << (LOG2_SHARD_COUNT)) - 1))