Searched refs:const_log2 (Results 1 – 1 of 1) sorted by relevance
49 constexpr size_t const_log2(size_t n, size_t p = 0) { in const_log2() function50 return (n <= 1) ? p : const_log2(n / 2, p + 1); in const_log2()63 const_log2(kMaxBucketAllocationSize) - const_log2(kMinBucketAllocationSize) + 1;112 return log2(size - 1) + 1 - const_log2(kMinBucketAllocationSize); in size_to_bucket()