17#if SIZE_MAX > 0xFFFFFFFF
28 return index & (capacity - 1);
32 uintptr_t
const mask = (1U << exp) - 1;
33 return (((uintptr_t)ptr) & mask) == 0;
static bool INLINE CONST is_aligned_pow2_exp(const void *ptr, unsigned exp)
static INLINE CONST size_t next_power_of_2(size_t x)
static size_t INLINE CONST modulus_power_of_2_capacity(size_t index, size_t capacity)
static bool INLINE CONST is_power_of_2(size_t x)