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