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