5 instantiations of SegmentedArraySegment
Microsoft.Build.Framework (5)
SegmentedArray.cs (3)
360
var segment = new
SegmentedArraySegment
<T>(array, 0, array.Length);
386
var segment = new
SegmentedArraySegment
<T>(array, index, length);
400
var segment = new
SegmentedArraySegment
<T>(array, 0, array.Length);
SegmentedArraySegment`1.cs (2)
36
return new
SegmentedArraySegment
<T>(Array, Start + start, Length - start);
49
return new
SegmentedArraySegment
<T>(Array, Start + start, length);
39 references to SegmentedArraySegment
Microsoft.Build.Framework (39)
ArraySortHelper.cs (34)
28
public static void Sort(
SegmentedArraySegment
<T> keys, IComparer<T>? comparer)
61
internal static void Sort(
SegmentedArraySegment
<T> keys, Comparison<T> comparer)
106
private static void SwapIfGreater(
SegmentedArraySegment
<T> keys, Comparison<T> comparer, int i, int j)
119
private static void Swap(
SegmentedArraySegment
<T> a, int i, int j)
128
internal static void IntrospectiveSort(
SegmentedArraySegment
<T> keys, Comparison<T> comparer)
138
private static void IntroSort(
SegmentedArraySegment
<T> keys, int depthLimit, Comparison<T> comparer)
183
private static int PickPivotAndPartition(
SegmentedArraySegment
<T> keys, Comparison<T> comparer)
228
private static void HeapSort(
SegmentedArraySegment
<T> keys, Comparison<T> comparer)
246
private static void DownHeap(
SegmentedArraySegment
<T> keys, int i, int n, int lo, Comparison<T> comparer)
271
private static void InsertionSort(
SegmentedArraySegment
<T> keys, Comparison<T> comparer)
292
public static void Sort(
SegmentedArraySegment
<T> keys, IComparer<T>? comparer)
417
private static void IntroSort(
SegmentedArraySegment
<T> keys, int depthLimit)
464
private static int PickPivotAndPartition(
SegmentedArraySegment
<T> keys)
527
private static void HeapSort(
SegmentedArraySegment
<T> keys)
544
private static void DownHeap(
SegmentedArraySegment
<T> keys, int i, int n, int lo)
568
private static void InsertionSort(
SegmentedArraySegment
<T> keys)
669
public static void Sort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey>? comparer)
687
private static void SwapIfGreaterWithValues(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey> comparer, int i, int j)
707
private static void Swap(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int i, int j)
720
internal static void IntrospectiveSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey> comparer)
731
private static void IntroSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int depthLimit, IComparer<TKey> comparer)
777
private static int PickPivotAndPartition(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey> comparer)
822
private static void HeapSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey> comparer)
840
private static void DownHeap(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int i, int n, int lo, IComparer<TKey> comparer)
869
private static void InsertionSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey> comparer)
895
public static void Sort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, IComparer<TKey>? comparer)
942
private static void SwapIfGreaterWithValues(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int i, int j)
960
private static void Swap(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int i, int j)
973
private static void IntroSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int depthLimit)
1018
private static int PickPivotAndPartition(
SegmentedArraySegment
<TKey> keys, Span<TValue> values)
1077
private static void HeapSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values)
1094
private static void DownHeap(
SegmentedArraySegment
<TKey> keys, Span<TValue> values, int i, int n, int lo)
1122
private static void InsertionSort(
SegmentedArraySegment
<TKey> keys, Span<TValue> values)
1235
public static int MoveNansToFront<TKey, TValue>(
SegmentedArraySegment
<TKey> keys, Span<TValue> values) where TKey : notnull
SegmentedArray.cs (3)
360
var
segment = new SegmentedArraySegment<T>(array, 0, array.Length);
386
var
segment = new SegmentedArraySegment<T>(array, index, length);
400
var
segment = new SegmentedArraySegment<T>(array, 0, array.Length);
SegmentedArraySegment`1.cs (2)
31
public
SegmentedArraySegment
<T> Slice(int start)
39
public
SegmentedArraySegment
<T> Slice(int start, int length)