Searched refs:log2 (Results 1 – 8 of 8) sorted by relevance
51 return x == 0 ? -1 : static_cast<intptr_t>(tbb::detail::log2(x)); in BitScanRev()
160 …N = n_lanes >= max_lanes ? max_lanes : n_lanes > 2 ? 1 << (tbb::detail::log2(n_lanes - 1) + 1) : 2; in initialize()
131 return segment_index_type(tbb::detail::log2( index|1 )); in segment_index_of()293 segment_index_type new_seg = tbb::detail::log2( mask+1 ); //optimized segment_index_of in insert_new_node()731 …hashcode_type mask = (hashcode_type(1) << tbb::detail::log2(hash)) - 1; // get parent mask from th… in __TBB_requires()976 …hashcode_type m = ( hashcode_type(1) << tbb::detail::log2( h ) ) - 1; // get parent mask from the … in __TBB_requires()1475 … m = ( hashcode_type(1) << tbb::detail::log2( h ) ) - 1; // get parent mask from the topmost bit in __TBB_requires()
142 std::uintptr_t log2(T in) { in log2() function
234 …return size_type(1) << size_type(tbb::detail::log2(uintptr_t(bucket_count == 0 ? 1 : bucket_count)… in round_up_to_power_of_two()1456 size_type msb = tbb::detail::log2(bucket); in get_parent()1461 size_type bits = tbb::detail::log2(my_bucket_count.load(std::memory_order_relaxed)); in get_next_bucket_index()
310 return size_type(tbb::detail::log2(uintptr_t(index|1))); in segment_index_of()
1272 std::size_t result = max_level - std::size_t(tbb::detail::log2(engines.local()() + 1)) - 1; in operator()
354 …if(oneapi::tbb::detail::log2(/*reserved size*/old_size|1) > oneapi::tbb::detail::log2(fill_size|1)… in TestCapacity()