20 references to UInt128
Microsoft.CodeAnalysis (2)
Hashing\XxHash128.cs (2)
129return new UInt128(hash.High64, hash.Low64); 214return new UInt128(current.High64, current.Low64);
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\Hashing\XxHash128.cs (2)
129return new UInt128(hash.High64, hash.Low64); 214return new UInt128(current.High64, current.Low64);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
XxHash128Tests.cs (2)
51Assert.Equal(new UInt128(test.HashHigh, test.HashLow), XxHash128.HashToUInt128(input, test.Seed)); 129Assert.Equal(new UInt128(test.HashHigh, test.HashLow), hash.GetCurrentHashAsUInt128());
System.IO.Hashing (2)
System\IO\Hashing\XxHash128.cs (2)
125return new UInt128(hash.High64, hash.Low64); 210return new UInt128(current.High64, current.Low64);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReverseEndianness.cs (1)
189return new UInt128(
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\FormattingHelpers.CountDigits.Int128.cs (1)
35value /= new UInt128(0x5, 0x6BC7_5E2D_6310_0000); // value /= 1e20
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
1389var significand = new UInt128(value._hi32, value._lo64); 1622result = (actualValue >= new UInt128(0x0000_0000_FFFF_FFFF, 0xFFFF_FFFF_FFFF_FFFF)) ? MaxValue : (decimal)actualValue;
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
284return new UInt128(high, low);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (1)
2447UInt128 divisor = new UInt128(0, 10_000_000_000_000_000_000);
System.Runtime.Numerics (6)
System\Numerics\BigInteger.cs (6)
1953uu = new UInt128( 2071return new UInt128( 2212else if (x <= new UInt128(0x0000_0000_FFFF_FFFF, 0xFFFF_FFFF_FFFF_FFFF)) 2296else if (value <= new UInt128(0x0000_0000_FFFF_FFFF, 0xFFFF_FFFF_FFFF_FFFF)) 5009UInt128 bits = new UInt128(upperBits, lowerBits); 5190UInt128 bits = new UInt128(upperBits, lowerBits);