19 instantiations of XxHash3
aspire (8)
Documentation\ApiDocs\ApiMemberMarkdownParser.cs (1)
205var xxHash = new XxHash3();
Documentation\SourceContentFingerprint.cs (1)
36var xxHash = new XxHash3();
NuGet\BundleNuGetService.cs (1)
603var hash = new XxHash3();
NuGet\NuGetClient.cs (1)
1084var hash = new XxHash3();
Projects\AppHostServerClosureSnapshots.cs (3)
271var hash = new XxHash3(); 278var hash = new XxHash3(); 293var hash = new XxHash3();
src\Shared\BackchannelConstants.cs (1)
630var xxHash = new XxHash3();
aspire-tray (1)
src\Aspire.Tray\Common\TrayStartupBootstrap.cs (1)
94var hash = new XxHash3();
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
686var hash = new XxHash3();
Aspire.Hosting (3)
ApplicationModel\AspireStore.cs (1)
53var hash = new XxHash3();
src\Shared\BackchannelConstants.cs (1)
630var xxHash = new XxHash3();
Utils\DotnetSdkVersionProvider.cs (1)
229var hash = new XxHash3();
Aspire.Hosting.Dotnet (1)
DotnetProjectBuildResource.cs (1)
274var hash = new XxHash3();
Aspire.Hosting.Native.Core.Tests (1)
NativeCliControlTests.cs (1)
37var contractHash = new XxHash3();
Aspire.Hosting.Native.Server (1)
src\Shared\BackchannelConstants.cs (1)
630var xxHash = new XxHash3();
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\IYarpConfigurationBuilder.cs (1)
292var xxHash = new XxHash3();
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayStartupBootstrap.cs (1)
94var hash = new XxHash3();
System.IO.Hashing (1)
System\IO\Hashing\XxHash3.cs (1)
48public XxHash3 Clone() => new(_state);
64 references to XxHash3
aspire (26)
Bundles\BundleService.cs (1)
787var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(currentVersion));
Caching\AppHostInfoDiskCache.cs (1)
374var hash = XxHash3.Hash(bytes);
Configuration\ConfigSourceService.cs (1)
525var key = XxHash3.HashToUInt64(Encoding.UTF8.GetBytes($"{source.Repository}\n{source.Path}\n{source.Ref ?? ""}")).ToString("x16", CultureInfo.InvariantCulture);
Documentation\ApiDocs\ApiMemberMarkdownParser.cs (1)
205var xxHash = new XxHash3();
Documentation\SourceContentFingerprint.cs (1)
36var xxHash = new XxHash3();
NuGet\BundleNuGetService.cs (2)
591return XxHash3.HashToUInt64(Encoding.UTF8.GetBytes(content)).ToString("X16", CultureInfo.InvariantCulture); 603var hash = new XxHash3();
NuGet\NuGetClient.cs (4)
1084var hash = new XxHash3(); 1147private static void AppendSettingItemAttributes(XxHash3 hash, SettingItem item) 1157XxHash3 hash, 1173private static void AppendCacheIdentityValue(XxHash3 hash, string value)
NuGet\TemporaryNuGetConfigFile.cs (1)
123return Convert.ToHexString(XxHash3.Hash(bytes));
Projects\AppHostServerClosureSnapshots.cs (3)
271var hash = new XxHash3(); 278var hash = new XxHash3(); 293var hash = new XxHash3();
Projects\AppHostWorkloadId.cs (1)
40var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(normalizedPath));
Projects\GuestAppHostProject.cs (1)
2477var bytes = System.IO.Hashing.XxHash3.Hash(System.Text.Encoding.UTF8.GetBytes(sb.ToString()));
Projects\IntegrationClosureBuilder.cs (1)
177var hash = XxHash3.Hash(Encoding.UTF8.GetBytes(appHostFullPath));
src\Shared\BackchannelConstants.cs (2)
446var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(value)); 630var xxHash = new XxHash3();
src\Shared\UserSecrets\AspireSecretsPathHelper.cs (1)
172var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(value));
Templating\TemplateEngineFactory.cs (1)
156var key = Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(identity))).ToLowerInvariant();
Utils\CliPathHelper.cs (3)
131var hex = Convert.ToHexString(XxHash3.Hash(bytes)).ToLowerInvariant(); 152/// Hashing the URL with <see cref="XxHash3"/> (non-cryptographic but very high quality) keeps 166var hex = Convert.ToHexString(XxHash3.Hash(bytes)).ToLowerInvariant();
Utils\ConfigurationHelper.cs (1)
121var lockFileName = Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(normalizedSettingsPath))).ToLowerInvariant();
aspire-tray (1)
src\Aspire.Tray\Common\TrayStartupBootstrap.cs (1)
94var hash = new XxHash3();
Aspire.Dashboard (5)
Model\DimensionFilterViewModel.cs (1)
66public string NameHash => _nameHash ??= Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(Name)));
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (2)
686var hash = new XxHash3(); 695static void AppendHashValue(XxHash3 hash, string value)
ServiceClient\DashboardRunStore.cs (1)
670var hash = Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(applicationName))).ToLowerInvariant();
Utils\DashboardApplicationNameKey.cs (1)
41var hash = Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(applicationName))).ToLowerInvariant();
Aspire.Hosting (8)
ApplicationModel\AspireStore.cs (1)
53var hash = new XxHash3();
src\Shared\BackchannelConstants.cs (2)
446var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(value)); 630var xxHash = new XxHash3();
src\Shared\UserSecrets\AspireSecretsPathHelper.cs (1)
172var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(value));
src\Shared\VolumeMountPathResolver.cs (1)
44return Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(value))).ToLowerInvariant();
Utils\DotnetSdkVersionProvider.cs (3)
192var hash = XxHash3.HashToUInt64(File.ReadAllBytes(globalJsonPath)); 229var hash = new XxHash3(); 244static void AppendHashValue(XxHash3 hash, string value)
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.Dotnet (1)
DotnetProjectBuildResource.cs (1)
274var hash = new XxHash3();
Aspire.Hosting.Foundry (2)
Toolbox\FoundryToolboxBuilderExtensions.cs (1)
354var hash = XxHash3.Hash(identity);
Toolbox\FoundryToolboxReconciler.cs (1)
158var hash = XxHash3.Hash(stream.GetBuffer().AsSpan(0, checked((int)stream.Length)));
Aspire.Hosting.Foundry.Tests (1)
FoundryToolboxReconcilerTests.cs (1)
371? Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(legacyConfiguration))).ToLowerInvariant()
Aspire.Hosting.Kubernetes (1)
src\Shared\VolumeMountPathResolver.cs (1)
44return Convert.ToHexString(XxHash3.Hash(Encoding.UTF8.GetBytes(value))).ToLowerInvariant();
Aspire.Hosting.Native.Core.Tests (1)
NativeCliControlTests.cs (1)
37var contractHash = new XxHash3();
Aspire.Hosting.Native.Server (3)
Rpc\NativeLanguageCatalog.cs (1)
120["contractId"] = Convert.ToHexString(XxHash3.Hash(contents.GetBuffer().AsSpan(0, checked((int)contents.Length)))),
src\Shared\BackchannelConstants.cs (2)
446var hashBytes = XxHash3.Hash(Encoding.UTF8.GetBytes(value)); 630var xxHash = new XxHash3();
Aspire.Hosting.Rust (1)
RustDockerfileGenerator.cs (1)
387var hash = XxHash3.HashToUInt64(Encoding.UTF8.GetBytes(identity));
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\IYarpConfigurationBuilder.cs (1)
292var xxHash = new XxHash3();
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayStartupBootstrap.cs (1)
94var hash = new XxHash3();
Microsoft.NET.Build.Tasks (1)
NugetContentAssetPreprocessor.cs (1)
76return BitConverter.ToString(XxHash3.Hash(stream.GetBuffer().AsSpan(0, (int)stream.Length))).Replace("-", "");
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
BrotliCompress.cs (1)
125var hashString = Convert.ToBase64String(XxHash3.Hash(bytes));
System.IO.Hashing (5)
System\IO\Hashing\XxHash3.cs (4)
29/// <summary>Initializes a new instance of the <see cref="XxHash3"/> class using the default seed value 0.</summary> 34/// <summary>Initializes a new instance of the <see cref="XxHash3"/> class using the specified seed.</summary> 40/// <summary>Initializes a new instance of the <see cref="XxHash3"/> class using the state from another instance.</summary> 48public XxHash3 Clone() => new(_state);
System\IO\Hashing\XxHashShared.cs (1)
18/// <summary>Shared implementation of the XXH3 hash algorithm for 64-bit in <see cref="XxHash3"/> and <see cref="XxHash128"/> version.</summary>