7 references to SegmentedArraySortUtils
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (6)
136
IntroSort(keys, 2 * (
SegmentedArraySortUtils
.Log2((uint)keys.Length) + 1), comparer!);
313
int nanLeft =
SegmentedArraySortUtils
.MoveNansToFront(keys, default(Span<byte>));
321
IntroSort(keys, 2 * (
SegmentedArraySortUtils
.Log2((uint)keys.Length) + 1));
729
IntroSort(keys, values, 2 * (
SegmentedArraySortUtils
.Log2((uint)keys.Length) + 1), comparer!);
915
int nanLeft =
SegmentedArraySortUtils
.MoveNansToFront(keys, values);
924
IntroSort(keys, values, 2 * (
SegmentedArraySortUtils
.Log2((uint)keys.Length) + 1));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\ImmutableIntervalTree`1.cs (1)
138
var perfectPortionHeight =
SegmentedArraySortUtils
.Log2((uint)subtreeNodeCount + 1);