12 references to HashToUInt64
aspire (2)
Configuration\ConfigSourceService.cs (1)
525
var key = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes($"{source.Repository}\n{source.Path}\n{source.Ref ?? ""}")).ToString("x16", CultureInfo.InvariantCulture);
NuGet\BundleNuGetService.cs (1)
591
return XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(content)).ToString("X16", CultureInfo.InvariantCulture);
Aspire.Hosting (1)
Utils\DotnetSdkVersionProvider.cs (1)
192
var hash = XxHash3.
HashToUInt64
(File.ReadAllBytes(globalJsonPath));
Aspire.Hosting.Azure (1)
src\Shared\ResourceNameHelpers.cs (1)
29
var hash = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(name))
Aspire.Hosting.Azure.ConnectorNamespace (1)
Provisioning\ConnectorNamespaceBicepIdentifiers.cs (1)
53
var hash = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(identity))
Aspire.Hosting.Azure.Sandboxes (3)
AzureSandboxContainerDeployment.cs (3)
857
var lockName = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(lockIdentity)).ToString("x16", CultureInfo.InvariantCulture);
1900
var hash = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(identity));
1921
var hash = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(identity));
Aspire.Hosting.Rust (1)
RustDockerfileGenerator.cs (1)
387
var hash = XxHash3.
HashToUInt64
(Encoding.UTF8.GetBytes(identity));
System.IO.Hashing (3)
System\IO\Hashing\XxHash3.cs (3)
75
ulong hash =
HashToUInt64
(source, seed);
106
ulong hash =
HashToUInt64
(source, seed);
195
current =
HashToUInt64
(new ReadOnlySpan<byte>(buffer, (int)_state.TotalLength), (long)_state.Seed);