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