157 references to StackAllocThreshold
System.Runtime.Numerics (157)
System\Number.BigInteger.cs (19)
358base1E9Length <= BigIntegerCalculator.StackAllocThreshold 359? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 384resultLength <= BigIntegerCalculator.StackAllocThreshold 385? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 417(uint)powersOf1e9BufferLength <= BigIntegerCalculator.StackAllocThreshold 418? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 429leadingLength <= BigIntegerCalculator.StackAllocThreshold 430? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 476bufferLength <= BigIntegerCalculator.StackAllocThreshold 477? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 817Span<uint> base1E9Buffer = ((uint)base1E9BufferLength <= BigIntegerCalculator.StackAllocThreshold ? 987powersOf1e9BufferLength <= BigIntegerCalculator.StackAllocThreshold 988? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1024Span<uint> upper = ((uint)upperLength <= BigIntegerCalculator.StackAllocThreshold 1025? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1030Span<uint> lower = ((uint)lowerLength <= BigIntegerCalculator.StackAllocThreshold 1031? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1304bits.Length <= BigIntegerCalculator.StackAllocThreshold 1305? stackalloc uint[BigIntegerCalculator.StackAllocThreshold]
System\Numerics\BigInteger.cs (70)
797Span<uint> quotient = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 798? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 827Span<uint> rest = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 828? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 833Span<uint> quotient = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 834? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 950Span<uint> bits = (leftBits.Length <= BigIntegerCalculator.StackAllocThreshold 951? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 963Span<uint> bits = (leftBits.Length <= BigIntegerCalculator.StackAllocThreshold 964? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1018Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1019? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1078Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1079? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1089Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1090? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1711Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1712? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1723Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1724? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1735Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1736? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1747Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 1748? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1789Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1790? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1801Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1802? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1811Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1812? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 1823Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 1824? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2416Span<uint> x = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2417? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2423Span<uint> y = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2424? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2430Span<uint> z = (size <= BigIntegerCalculator.StackAllocThreshold 2431? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2472Span<uint> x = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2473? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2479Span<uint> y = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2480? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2486Span<uint> z = (size <= BigIntegerCalculator.StackAllocThreshold 2487? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2523Span<uint> x = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2524? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2530Span<uint> y = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2531? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2537Span<uint> z = (size <= BigIntegerCalculator.StackAllocThreshold 2538? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2680Span<uint> zd = ((uint)zLength <= BigIntegerCalculator.StackAllocThreshold 2681? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2774Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2775? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2786Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2787? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2796Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2797? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2809Span<uint> bits = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2810? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2851Span<uint> quotient = ((uint)size <= BigIntegerCalculator.StackAllocThreshold 2852? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2877Span<uint> quotient = ((uint)size < BigIntegerCalculator.StackAllocThreshold 2878? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 2927Span<uint> bits = (size <= BigIntegerCalculator.StackAllocThreshold 2928? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 3324Span<uint> zd = ((uint)zLength <= BigIntegerCalculator.StackAllocThreshold 3325? stackalloc uint[BigIntegerCalculator.StackAllocThreshold] 5162Span<uint> zd = ((uint)zLength <= BigIntegerCalculator.StackAllocThreshold 5163? stackalloc uint[BigIntegerCalculator.StackAllocThreshold]
System\Numerics\BigIntegerCalculator.DivRem.cs (24)
105Span<uint> leftCopy = (left.Length <= StackAllocThreshold ? 106stackalloc uint[StackAllocThreshold] 141Span<uint> quotient = (quotientLength <= StackAllocThreshold ? 142stackalloc uint[StackAllocThreshold] 178Span<uint> leftCopy = (left.Length <= StackAllocThreshold ? 179stackalloc uint[StackAllocThreshold] 190quotientActual = (quotientLength <= StackAllocThreshold ? 191stackalloc uint[StackAllocThreshold] 384Span<uint> b = (n <= StackAllocThreshold ? 385stackalloc uint[StackAllocThreshold] 398Span<uint> a = (aLength <= StackAllocThreshold ? 399stackalloc uint[StackAllocThreshold] 438Span<uint> r = ((n + 1) <= StackAllocThreshold ? 439stackalloc uint[StackAllocThreshold] 443Span<uint> z = (2 * n <= StackAllocThreshold ? 444stackalloc uint[StackAllocThreshold] 453Span<uint> q = (n <= StackAllocThreshold ? 454stackalloc uint[StackAllocThreshold] 566Span<uint> r1 = (left.Length <= StackAllocThreshold ? 567stackalloc uint[StackAllocThreshold] 610Span<uint> r1 = ((right.Length + 1) <= StackAllocThreshold ? 611stackalloc uint[StackAllocThreshold] 639Span<uint> d = (right.Length <= StackAllocThreshold ? 640stackalloc 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] 212Span<uint> valueCopy = (size <= StackAllocThreshold ? 213stackalloc uint[StackAllocThreshold] 231Span<uint> temp = (bits.Length <= StackAllocThreshold ? 232stackalloc uint[StackAllocThreshold] 261Span<uint> valueCopy = (size <= StackAllocThreshold ? 262stackalloc uint[StackAllocThreshold] 280Span<uint> temp = (bits.Length <= StackAllocThreshold ? 281stackalloc uint[StackAllocThreshold] 319Span<uint> r = ((uint)size <= StackAllocThreshold ? 320stackalloc uint[StackAllocThreshold] 326Span<uint> mu = ((uint)size <= StackAllocThreshold ? 327stackalloc uint[StackAllocThreshold] 333Span<uint> q1 = ((uint)size <= StackAllocThreshold ? 334stackalloc uint[StackAllocThreshold] 339Span<uint> q2 = ((uint)size <= StackAllocThreshold ? 340stackalloc uint[StackAllocThreshold] 379Span<uint> r = ((uint)size <= StackAllocThreshold ? 380stackalloc uint[StackAllocThreshold] 386Span<uint> mu = ((uint)size <= StackAllocThreshold ? 387stackalloc uint[StackAllocThreshold] 393Span<uint> q1 = ((uint)size <= StackAllocThreshold ? 394stackalloc uint[StackAllocThreshold] 399Span<uint> q2 = ((uint)size <= StackAllocThreshold ? 400stackalloc uint[StackAllocThreshold]
System\Numerics\BigIntegerCalculator.ShiftRot.cs (2)
78Span<uint> tmp = ((uint)tmpLength <= StackAllocThreshold ? 79stackalloc uint[StackAllocThreshold]
System\Numerics\BigIntegerCalculator.SquMul.cs (12)
120Span<uint> fold = ((uint)foldLength <= StackAllocThreshold 121? stackalloc uint[StackAllocThreshold] 127Span<uint> core = ((uint)coreLength <= StackAllocThreshold 128? stackalloc uint[StackAllocThreshold] 438Span<uint> leftFold = ((uint)foldLength <= StackAllocThreshold 439? stackalloc uint[StackAllocThreshold] 444Span<uint> rightFold = ((uint)foldLength <= StackAllocThreshold 445? stackalloc uint[StackAllocThreshold] 457Span<uint> core = ((uint)coreLength <= StackAllocThreshold 458? stackalloc uint[StackAllocThreshold] 505Span<uint> carry = ((uint)carryLength <= StackAllocThreshold 506? stackalloc uint[StackAllocThreshold]