Searched refs:is_power_of_two (Results 1 – 4 of 4) sorted by relevance
60 return tbb::detail::is_power_of_two(arg); in isPowerOfTwo()
160 constexpr bool is_power_of_two( IntegerType arg ) { in is_power_of_two() function180 __TBB_ASSERT( is_power_of_two(divisor), "Divisor should be a power of two" ); in modulo_power_of_two()
157 __TBB_ASSERT(tbb::detail::is_power_of_two(alignment), "Alignment is not a power of 2"); in correct_alignment()
183 __TBB_ASSERT(is_power_of_two(cache_line_size), "must be power of two"); in cache_aligned_allocate()