terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ PickPivotAndPartition()

int System.Array.SorterGenericArray.PickPivotAndPartition ( int lo,
int hi )
inlineprivate

Definition at line 1735 of file Array.cs.

1736 {
1737 this.SwapIfGreaterWithItems(lo, hi);
1738 this.SwapIfGreaterWithItems(lo, hi);
1739 this.SwapIfGreaterWithItems(lo, hi);
1740 this.Swap(lo, hi);
1743 this.Swap(lo, hi);
1744 this.Swap(lo, hi);
1745 return lo;
1746 }
class f__AnonymousType0<< Count > j__TPar
void Swap(int i, int j)
Definition Array.cs:1702
void SwapIfGreaterWithItems(int a, int b)
Definition Array.cs:1696

References System.Array.SorterGenericArray.comparer, j__TPar, System.Array.SorterGenericArray.Swap(), and System.Array.SorterGenericArray.SwapIfGreaterWithItems().

Referenced by System.Array.SorterGenericArray.IntroSort().