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