Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ExchangeUtilities.cs
Go to the documentation of this file.
3
5
6internal static class ExchangeUtilities
7{
35
40
45
47 {
48 if ((int)state1 <= (int)state2)
49 {
50 return state2;
51 }
52 return state1;
53 }
54
56 {
57 return (int)state1 > (int)state2;
58 }
59}
static OrdinalIndexState Worse(this OrdinalIndexState state1, OrdinalIndexState state2)
static PartitionedStream< T, int > PartitionDataSource< T >(IEnumerable< T > source, int partitionCount, bool useStriping)
static PartitionedStream< Pair< TElement, THashKey >, TOrderKey > HashRepartitionOrdered< TElement, THashKey, TOrderKey >(PartitionedStream< TElement, TOrderKey > source, Func< TElement, THashKey > keySelector, IEqualityComparer< THashKey > keyComparer, IEqualityComparer< TElement > elementComparer, CancellationToken cancellationToken)
static bool IsWorseThan(this OrdinalIndexState state1, OrdinalIndexState state2)
static PartitionedStream< Pair< TElement, THashKey >, int > HashRepartition< TElement, THashKey, TIgnoreKey >(PartitionedStream< TElement, TIgnoreKey > source, Func< TElement, THashKey > keySelector, IEqualityComparer< THashKey > keyComparer, IEqualityComparer< TElement > elementComparer, CancellationToken cancellationToken)
static string ParallelPartitionable_IncorretElementCount
Definition SR.cs:20
static string ParallelPartitionable_NullElement
Definition SR.cs:22
static string ParallelPartitionable_NullReturn
Definition SR.cs:18
Definition SR.cs:7