16 references to Slice
Microsoft.Build.Framework (16)
ArraySortHelper.cs (16)
164InsertionSort(keys.Slice(0, partitionSize), comparer!);
170HeapSort(keys.Slice(0, partitionSize), comparer!);
175int p = PickPivotAndPartition(keys.Slice(0, partitionSize), comparer!);
178IntroSort(keys.Slice(p + 1, partitionSize - (p + 1)), depthLimit, comparer!);
445InsertionSort(keys.Slice(0, partitionSize));
451HeapSort(keys.Slice(0, partitionSize));
456int p = PickPivotAndPartition(keys.Slice(0, partitionSize));
459IntroSort(keys.Slice(p + 1, partitionSize - (p + 1)), depthLimit);
758InsertionSort(keys.Slice(0, partitionSize), values.Slice(0, partitionSize), comparer!);
764HeapSort(keys.Slice(0, partitionSize), values.Slice(0, partitionSize), comparer!);
769int p = PickPivotAndPartition(keys.Slice(0, partitionSize), values.Slice(0, partitionSize), comparer!);
772IntroSort(keys.Slice(p + 1, partitionSize - (p + 1)), values.Slice(p + 1, partitionSize - (p + 1)), depthLimit, comparer!);
999InsertionSort(keys.Slice(0, partitionSize), values.Slice(0, partitionSize));
1005HeapSort(keys.Slice(0, partitionSize), values.Slice(0, partitionSize));
1010int p = PickPivotAndPartition(keys.Slice(0, partitionSize), values.Slice(0, partitionSize));
1013IntroSort(keys.Slice(p + 1, partitionSize - (p + 1)), values.Slice(p + 1, partitionSize - (p + 1)), depthLimit);