1 instantiation of UInt64
PresentationFramework (1)
833 references to UInt64
aspire (2)
aspire-managed (1)
Aspire.Dashboard (8)
Aspire.Dashboard.Tests (6)
Aspire.Hosting (2)
Aspire.Hosting.RemoteHost (3)
Aspire.Hosting.Rust (1)
Aspire.TerminalHost (1)
cdac-build-tool (1)
dotnet-svcutil-lib (40)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
249UInt64 milliseconds = 0;
GenerateDocumentationAndConfigFiles (41)
ILCompiler.MetadataTransform (1)
Microsoft.AspNetCore.Components (5)
Microsoft.AspNetCore.Components.Server (15)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Microsoft.AspNetCore.Server.HttpSys (9)
Microsoft.AspNetCore.Server.IIS (6)
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (4)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Microsoft.AspNetCore.Session (1)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.Build (1)
Microsoft.Build.Tasks.Git (1)
Microsoft.CodeAnalysis (45)
Microsoft.CodeAnalysis.Analyzers (41)
Microsoft.CodeAnalysis.AnalyzerUtilities (36)
Microsoft.CodeAnalysis.CodeStyle (35)
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
Microsoft.CodeAnalysis.CSharp (7)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (35)
Microsoft.CodeAnalysis.Workspaces (45)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.Data.Analysis (44)
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes (4)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.Identity.Core (2)
Microsoft.Extensions.ServiceDiscovery (8)
Microsoft.Maui.Controls (2)
Microsoft.Maui.Controls.Build.Tasks (1)
Microsoft.Maui.Controls.Xaml (2)
Microsoft.ML.AutoML (4)
Microsoft.ML.AutoML.Tests (4)
Microsoft.ML.Core (3)
Microsoft.ML.CpuMath (17)
Microsoft.ML.Data (64)
Data\Conversion.cs (50)
32using U8 = UInt64;
161AddStd<U1, U8>(Convert);
172AddStd<U2, U8>(Convert);
183AddStd<U4, U8>(Convert);
191AddStd<U8, U1>(Convert);
192AddStd<U8, U2>(Convert);
193AddStd<U8, U4>(Convert);
194AddStd<U8, U8>(Convert);
195AddStd<U8, UG>(Convert);
196AddStd<U8, R4>(Convert);
197AddStd<U8, R8>(Convert);
198AddAux<U8, SB>(Convert);
199AddStd<U8, BL>(Convert);
200AddStd<U8, TX>(Convert);
205AddStd<UG, U8>(Convert);
229AddStd<TX, U8>(Convert);
289AddIsDef<U8>(IsDefault);
298AddHasZero<U8>(HasZero);
307AddTryParse<U8>(TryParse);
521var convSrc = GetStandardConversion<TSrc, U8>(key, NumberDataViewType.UInt64, out identity);
522var convU8 = GetStringConversion<U8>(NumberDataViewType.UInt64);
603private ValueMapper<U8, TDst> GetKeyStandardConversion<TDst>()
605var delegatesKey = (typeof(U8), typeof(TDst));
607throw Contracts.Except("No standard conversion from '{0}' to '{1}'", typeof(U8), typeof(TDst));
608return (ValueMapper<U8, TDst>)del;
787private bool IsDefault(in U8 src) => src == 0;
798private bool HasZero(in VBuffer<U8> src) { if (!src.IsDense) return true; var srcValues = src.GetValues(); for (int i = 0; i < srcValues.Length; i++) { if (srcValues[i] == 0) return true; } return false; }
842public void Convert(in U8 src, ref U1 dst) => dst = src <= U1.MaxValue ? (U1)src : (U1)0;
850public void Convert(in U8 src, ref U2 dst) => dst = src <= U2.MaxValue ? (U2)src : (U2)0;
858public void Convert(in U8 src, ref U4 dst) => dst = src <= U4.MaxValue ? (U4)src : (U4)0;
863public void Convert(in U1 src, ref U8 dst) => dst = src;
864public void Convert(in U2 src, ref U8 dst) => dst = src;
865public void Convert(in U4 src, ref U8 dst) => dst = src;
866public void Convert(in U8 src, ref U8 dst) => dst = src;
867public void Convert(in UG src, ref U8 dst) => dst = src.High == 0 ? src.Low : (U8)0;
874public void Convert(in U8 src, ref UG dst) => dst = new UG(src, 0);
889public void Convert(in U8 src, ref R4 dst) => dst = src;
907public void Convert(in U8 src, ref R8 dst) => dst = src;
922public void Convert(in U8 src, ref SB dst) => ClearDst(ref dst).Append(src);
947public void Convert(in U8 src, ref TX dst) => dst = src.ToString().AsMemory();
967public void Convert(in U8 src, ref BL dst) => dst = System.Convert.ToBoolean(src);
1030public bool TryParse(in TX src, out U8 dst)
1148public bool TryParseKey(in TX src, U8 max, out U8 dst)
1162Contracts.Assert(max < U8.MaxValue);
1515private U8 ParseU8(in TX span)
1673public void Convert(in TX span, ref U8 value)
Transforms\ValueMapping.cs (2)
1152CastInputTo<UInt64>(ctx, out node, srcVariableName, opType, labelEncoderOutput, NumberDataViewType.Int64);
1154CastInputTo<UInt64>(ctx, out node, srcVariableName, opType, labelEncoderOutput, TextDataViewType.Instance);
Microsoft.ML.DataView (2)
Microsoft.ML.OnnxTransformer (3)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TensorFlow.Tests (4)
Microsoft.ML.Transforms (4)
Microsoft.ML.Vision (1)
Microsoft.NET.HostModel (5)
Microsoft.Private.Windows.Core (2)
Microsoft.VisualBasic.Core (55)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (26)
129If TypeOf Value Is UInt64 Then
130Return CBool(DirectCast(Value, UInt64))
272If TypeOf Value Is UInt64 Then
273Return CByte(DirectCast(Value, UInt64))
419If TypeOf Value Is UInt64 Then
420Return CSByte(DirectCast(Value, UInt64))
562If TypeOf Value Is UInt64 Then
563Return CShort(DirectCast(Value, UInt64))
708If TypeOf Value Is UInt64 Then
709Return CUShort(DirectCast(Value, UInt64))
851If TypeOf Value Is UInt64 Then
852Return CInt(DirectCast(Value, UInt64))
996If TypeOf Value Is UInt64 Then
997Return CUInt(DirectCast(Value, UInt64))
1142If TypeOf Value Is UInt64 Then
1143Return CLng(DirectCast(Value, UInt64))
1198Dim ui64Value As UInt64
1289If TypeOf Value Is UInt64 Then
1290Return CULng(DirectCast(Value, UInt64))
1448If TypeOf Value Is UInt64 Then
1449Return CDec(DirectCast(Value, UInt64))
1688If TypeOf Value Is UInt64 Then
1689Return CSng(DirectCast(Value, UInt64))
1833If TypeOf Value Is UInt64 Then
1834Return CDbl(DirectCast(Value, UInt64))
2406Private Shared Function CastUInt64Enum(ByVal Expression As UInt64, ByVal TargetType As Type) As Object
Microsoft\VisualBasic\CompilerServices\Operators.vb (27)
786Private Shared Function CompareUInt64(ByVal left As UInt64, ByVal right As UInt64) As CompareClass
1011If TypeOf Operand Is UInt64 Then
1012Return NegateUInt64(DirectCast(Operand, UInt64))
1105Private Shared Function NegateUInt64(ByVal operand As UInt64) As Object
1259Private Shared Function NotUInt64(ByVal operand As UInt64, ByVal operandType As Type) As Object
1260Dim result As UInt64 = Not operand
1641Private Shared Function AndUInt64(ByVal left As UInt64, ByVal right As UInt64, Optional ByVal enumType As Type = Nothing) As Object
1642Dim result As UInt64 = left And right
2013Private Shared Function OrUInt64(ByVal left As UInt64, ByVal right As UInt64, Optional ByVal enumType As Type = Nothing) As Object
2014Dim result As UInt64 = left Or right
2406Private Shared Function XorUInt64(ByVal left As UInt64, ByVal right As UInt64, Optional ByVal enumType As Type = Nothing) As Object
2407Dim result As UInt64 = left Xor right
2890Private Shared Function AddUInt64(ByVal left As UInt64, ByVal right As UInt64) As Object
3358Private Shared Function SubtractUInt64(ByVal left As UInt64, ByVal right As UInt64) As Object
3783Dim result As UInt64 = CULng(left) * CULng(right)
3809Private Shared Function MultiplyUInt64(ByVal left As UInt64, ByVal right As UInt64) As Object
4633Private Shared Function ModUInt64(ByVal left As UInt64, ByVal right As UInt64) As Object
5019Private Shared Function IntDivideUInt64(ByVal left As UInt64, ByVal right As UInt64) As Object
mscorlib (1)
netstandard (1)
PresentationBuildTasks (2)
PresentationCore (41)
PresentationFramework (6)
Roslyn.Diagnostics.Analyzers (41)
Roslyn.Diagnostics.CSharp.Analyzers (1)
Stress.ApiService (2)
Stress.TelemetryService (1)
System.CommandLine (1)
System.Linq.Expressions (3)
System.Private.CoreLib (68)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (63)
16using nuint_t = System.UInt64;
161get => sizeof(nuint_t);
172get => unchecked((nuint)nuint_t.MaxValue);
179get => unchecked((nuint)nuint_t.MinValue);
224public override string ToString() => ((nuint_t)_value).ToString();
225public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format) => ((nuint_t)_value).ToString(format);
226public string ToString(IFormatProvider? provider) => ((nuint_t)_value).ToString(provider);
227public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format, IFormatProvider? provider) => ((nuint_t)_value).ToString(format, provider);
230((nuint_t)_value).TryFormat(destination, out charsWritten, format, provider);
234((nuint_t)_value).TryFormat(utf8Destination, out bytesWritten, format, provider);
236public static nuint Parse(string s) => (nuint)nuint_t.Parse(s);
237public static nuint Parse(string s, NumberStyles style) => (nuint)nuint_t.Parse(s, style);
238public static nuint Parse(string s, IFormatProvider? provider) => (nuint)nuint_t.Parse(s, provider);
239public static nuint Parse(string s, NumberStyles style, IFormatProvider? provider) => (nuint)nuint_t.Parse(s, style, provider);
240public static nuint Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => (nuint)nuint_t.Parse(s, provider);
241public static nuint Parse(ReadOnlySpan<char> s, NumberStyles style = NumberStyles.Integer, IFormatProvider? provider = null) => (nuint)nuint_t.Parse(s, style, provider);
246return nuint_t.TryParse(s, out Unsafe.As<nuint, nuint_t>(ref result));
257return nuint_t.TryParse(s, provider, out Unsafe.As<nuint, nuint_t>(ref result));
263return nuint_t.TryParse(s, style, provider, out Unsafe.As<nuint, nuint_t>(ref result));
269return nuint_t.TryParse(s, out Unsafe.As<nuint, nuint_t>(ref result));
279return nuint_t.TryParse(utf8Text, out Unsafe.As<nuint, nuint_t>(ref result));
286return nuint_t.TryParse(s, provider, out Unsafe.As<nuint, nuint_t>(ref result));
292return nuint_t.TryParse(s, style, provider, out Unsafe.As<nuint, nuint_t>(ref result));
365if ((source.Length > sizeof(nuint_t)) && (source[..^sizeof(nuint_t)].ContainsAnyExcept((byte)0x00)))
374if (source.Length >= sizeof(nuint_t))
377result = BinaryPrimitives.ReadUIntPtrBigEndian(source.Slice(source.Length - sizeof(nuint_t)));
413if ((source.Length > sizeof(nuint_t)) && (source[sizeof(nuint_t)..].ContainsAnyExcept((byte)0x00)))
422if (source.Length >= sizeof(nuint_t))
449int IBinaryInteger<nuint>.GetShortestBitLength() => (sizeof(nuint_t) * 8) - BitOperations.LeadingZeroCount(_value);
452int IBinaryInteger<nuint>.GetByteCount() => sizeof(nuint_t);
459bytesWritten = sizeof(nuint_t);
472bytesWritten = sizeof(nuint_t);
488get => unchecked((nuint)nuint_t.MaxValue);
853result = (actualValue >= nuint_t.MaxValue) ? unchecked((nuint)nuint_t.MaxValue) :
854(actualValue <= nuint_t.MinValue) ? unchecked((nuint)nuint_t.MinValue) : (nuint)actualValue;
872result = (actualValue >= nuint_t.MaxValue) ? unchecked((nuint)nuint_t.MaxValue) : (nuint)actualValue;
878result = (actualValue >= nuint_t.MaxValue) ? unchecked((nuint)nuint_t.MaxValue) : (nuint)actualValue;
920result = (actualValue >= nuint_t.MaxValue) ? unchecked((nuint)nuint_t.MaxValue) :
921(actualValue <= nuint_t.MinValue) ? unchecked((nuint)nuint_t.MinValue) : (nuint)actualValue;
1182return Number.TryParseBinaryInteger(s.AsSpan(), style | Number.AllowTrailingInvalidCharacters, NumberFormatInfo.GetInstance(provider), out Unsafe.As<nuint, nuint_t>(ref result), out charsConsumed) == Number.ParsingStatus.OK;
1190return Number.TryParseBinaryInteger(s, style | Number.AllowTrailingInvalidCharacters, NumberFormatInfo.GetInstance(provider), out Unsafe.As<nuint, nuint_t>(ref result), out charsConsumed) == Number.ParsingStatus.OK;
1198return Number.TryParseBinaryInteger(utf8Text, style | Number.AllowTrailingInvalidCharacters, NumberFormatInfo.GetInstance(provider), out Unsafe.As<nuint, nuint_t>(ref result), out bytesConsumed) == Number.ParsingStatus.OK;
1246public static nuint Parse(ReadOnlySpan<byte> utf8Text, NumberStyles style = NumberStyles.Integer, IFormatProvider? provider = null) => (nuint)nuint_t.Parse(utf8Text, style, provider);
1252return nuint_t.TryParse(utf8Text, style, provider, out Unsafe.As<nuint, nuint_t>(ref result));
1256public static nuint Parse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider) => (nuint)nuint_t.Parse(utf8Text, provider);
1262return nuint_t.TryParse(utf8Text, provider, out Unsafe.As<nuint, nuint_t>(ref result));
System.Runtime (1)
System.ServiceModel.Primitives (2)
UIAutomationTypes (1)