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