5 references to Log2
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (4)
136IntroSort(keys, 2 * (SegmentedArraySortUtils.Log2((uint)keys.Length) + 1), comparer!); 321IntroSort(keys, 2 * (SegmentedArraySortUtils.Log2((uint)keys.Length) + 1)); 729IntroSort(keys, values, 2 * (SegmentedArraySortUtils.Log2((uint)keys.Length) + 1), comparer!); 924IntroSort(keys, values, 2 * (SegmentedArraySortUtils.Log2((uint)keys.Length) + 1));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\ImmutableIntervalTree`1.cs (1)
138var perfectPortionHeight = SegmentedArraySortUtils.Log2((uint)subtreeNodeCount + 1);