Searched refs:log2 (Results 1 – 3 of 3) sorted by relevance
153 …unsigned int e_bits = (int) (std::ceil(std::log2(max_addr - min_addr)) - std::log2(getpagesize())); in calc_mmap_entropy()193 unsigned int pgbits = std::log2(getpagesize()); in SetUpTestCase()206 unsigned int pgbits = std::log2(getpagesize()); in SetUpTestCase()
106 static inline unsigned int log2(size_t n) { in log2() function112 return log2(size - 1) + 1 - const_log2(kMinBucketAllocationSize); in size_to_bucket()
157 int height = log2(maxCount) + 1; // maxCount > 0, safe to call log2