Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ExpandPrime() [2/2]

static int System.Collections.HashHelpers.ExpandPrime ( int oldSize)
inlinestatic

Definition at line 58 of file HashHelpers.cs.

59 {
60 int num = 2 * oldSize;
61 if ((uint)num > 2147483587u && 2147483587 > oldSize)
62 {
63 return 2147483587;
64 }
65 return GetPrime(num);
66 }
static int GetPrime(int min)

References System.Collections.HashHelpers.GetPrime().