System\Number.BigInteger.cs (26)
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]
427leading = leading.Slice(0, BigIntegerCalculator.ActualLength(leading));
448base1E9 = base1E9.Slice(0, BigIntegerCalculator.ActualLength(base1E9));
468bufferLength <= BigIntegerCalculator.StackAllocThreshold
469? stackalloc uint[BigIntegerCalculator.StackAllocThreshold]
475ReadOnlySpan<uint> buffer2 = buffer.Slice(0, BigIntegerCalculator.ActualLength(buffer));
478BigIntegerCalculator.Multiply(buffer2, multiplier, bitsUpper);
480BigIntegerCalculator.Multiply(multiplier, buffer2, bitsUpper);
486BigIntegerCalculator.AddSelf(bits, buffer.Slice(0, BigIntegerCalculator.ActualLength(buffer)));
794Span<uint> base1E9Buffer = cuMax < BigIntegerCalculator.StackAllocThreshold ?
1073BigIntegerCalculator.Square(src, dst);
1117BigIntegerCalculator.Multiply(left, UInt32PowersOfTen[trailingZeroCount], bits.Slice(0, left.Length + 1));
1124bits.Length <= BigIntegerCalculator.StackAllocThreshold
1125? stackalloc uint[BigIntegerCalculator.StackAllocThreshold]
1161BigIntegerCalculator.Multiply(src, power, dst);
1163BigIntegerCalculator.Multiply(power, src, dst);
1181BigIntegerCalculator.Multiply(powersOfTen, left, bits2);
1183BigIntegerCalculator.Multiply(left, powersOfTen, bits2);