141 references to StackAllocThreshold
System.Runtime.Numerics (141)
System\Number.BigInteger.cs (13)
350base1E9Length <= BigIntegerCalculator.StackAllocThreshold 351? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 376resultLength <= BigIntegerCalculator.StackAllocThreshold 377? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 409powersOf1e9BufferLength <= BigIntegerCalculator.StackAllocThreshold 410? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 421leadingLength <= BigIntegerCalculator.StackAllocThreshold 422? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 468bufferLength <= BigIntegerCalculator.StackAllocThreshold 469? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 794Span<uint> base1E9Buffer = cuMax < BigIntegerCalculator.StackAllocThreshold ? 1124bits.Length <= BigIntegerCalculator.StackAllocThreshold 1125? stackalloc uint[BigIntegerCalculator.StackAllocThreshold]
System\Numerics\BigInteger.cs (84)
777Span<uint> quotient = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 778? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 807Span<uint> rest = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 808? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 813Span<uint> quotient = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 814? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 930Span<uint> bits = (leftBits.Length <= BigIntegerCalculator.StackAllocThreshold 931? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 943Span<uint> bits = (leftBits.Length <= BigIntegerCalculator.StackAllocThreshold 944? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 998Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 999? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1058Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1059? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1069Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1070? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1659Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1660? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1671Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1672? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1683Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1684? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1695Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1696? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1737Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1738? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1749Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1750? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1759Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1760? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1771Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1772? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2348Span<uint> x = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2349? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2355Span<uint> y = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2356? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2362Span<uint> z = (size <= BigIntegerCalculator.StackAllocThreshold 2363? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2404Span<uint> x = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2405? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2411Span<uint> y = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2412? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2418Span<uint> z = (size <= BigIntegerCalculator.StackAllocThreshold 2419? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2455Span<uint> x = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2456? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2462Span<uint> y = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2463? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2469Span<uint> z = (size <= BigIntegerCalculator.StackAllocThreshold 2470? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2509Span<uint> xd = (xl <= BigIntegerCalculator.StackAllocThreshold 2510? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2516Span<uint> zd = ((uint)zl <= BigIntegerCalculator.StackAllocThreshold 2517? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2570Span<uint> xd = (xl <= BigIntegerCalculator.StackAllocThreshold 2571? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2598Span<uint> zd = ((uint)zl <= BigIntegerCalculator.StackAllocThreshold 2599? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2712Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2713? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2724Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2725? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2734Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2735? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2746Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2747? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2759Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2760? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2801Span<uint> quotient = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2802? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2827Span<uint> quotient = ((uint)size < BigIntegerCalculator.StackAllocThreshold 2828? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2877Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 2878? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 3261Span<uint> xd = (xl <= BigIntegerCalculator.StackAllocThreshold) 3262? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 3271Span<uint> zd = (zl <= BigIntegerCalculator.StackAllocThreshold) 3272? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 3396Span<uint> xd = (xl <= BigIntegerCalculator.StackAllocThreshold) 3397? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 3406Span<uint> zd = (zl <= BigIntegerCalculator.StackAllocThreshold) 3407? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 5244Span<uint> xd = (xl <= BigIntegerCalculator.StackAllocThreshold 5245? stackalloc uint[BigIntegerCalculator.StackAllocThreshold]
System\Numerics\BigIntegerCalculator.DivRem.cs (2)
89Span<uint> leftCopy = (left.Length <= StackAllocThreshold ? 90stackalloc uint[StackAllocThreshold]
System\Numerics\BigIntegerCalculator.GcdInv.cs (2)
67Span<uint> rightCopy = (right.Length <= StackAllocThreshold ? 68stackalloc uint[StackAllocThreshold]
System\Numerics\BigIntegerCalculator.PowMod.cs (28)
26Span<uint> temp = (bits.Length <= StackAllocThreshold ? 27stackalloc uint[StackAllocThreshold] 32Span<uint> valueCopy = (bits.Length <= StackAllocThreshold ? 33stackalloc uint[StackAllocThreshold] 219Span<uint> valueCopy = (size <= StackAllocThreshold ? 220stackalloc uint[StackAllocThreshold] 238Span<uint> temp = (bits.Length <= StackAllocThreshold ? 239stackalloc uint[StackAllocThreshold] 268Span<uint> valueCopy = (size <= StackAllocThreshold ? 269stackalloc uint[StackAllocThreshold] 287Span<uint> temp = (bits.Length <= StackAllocThreshold ? 288stackalloc uint[StackAllocThreshold] 326Span<uint> r = ((uint)size <= StackAllocThreshold ? 327stackalloc uint[StackAllocThreshold] 333Span<uint> mu = ((uint)size <= StackAllocThreshold ? 334stackalloc uint[StackAllocThreshold] 340Span<uint> q1 = ((uint)size <= StackAllocThreshold ? 341stackalloc uint[StackAllocThreshold] 346Span<uint> q2 = ((uint)size <= StackAllocThreshold ? 347stackalloc uint[StackAllocThreshold] 386Span<uint> r = ((uint)size <= StackAllocThreshold ? 387stackalloc uint[StackAllocThreshold] 393Span<uint> mu = ((uint)size <= StackAllocThreshold ? 394stackalloc uint[StackAllocThreshold] 400Span<uint> q1 = ((uint)size <= StackAllocThreshold ? 401stackalloc uint[StackAllocThreshold] 406Span<uint> q2 = ((uint)size <= StackAllocThreshold ? 407stackalloc uint[StackAllocThreshold]
System\Numerics\BigIntegerCalculator.SquMul.cs (12)
100Span<uint> fold = ((uint)foldLength <= StackAllocThreshold ? 101stackalloc uint[StackAllocThreshold] 107Span<uint> core = ((uint)coreLength <= StackAllocThreshold ? 108stackalloc uint[StackAllocThreshold] 225Span<uint> carry = ((uint)carryLength <= StackAllocThreshold ? 226stackalloc uint[StackAllocThreshold] 284Span<uint> leftFold = ((uint)foldLength <= StackAllocThreshold ? 285stackalloc uint[StackAllocThreshold] 290Span<uint> rightFold = ((uint)foldLength <= StackAllocThreshold ? 291stackalloc uint[StackAllocThreshold] 303Span<uint> core = ((uint)coreLength <= StackAllocThreshold ? 304stackalloc uint[StackAllocThreshold]