1 instantiation of XxHash128
Microsoft.CodeAnalysis (1)
Text\SourceText.cs (1)
34
private static readonly ObjectPool<XxHash128> s_contentHashPool = new ObjectPool<XxHash128>(() => new
XxHash128
());
6 references to XxHash128
Microsoft.CodeAnalysis (6)
CodeGen\PrivateImplementationDetails.cs (1)
574
int bytesWritten =
XxHash128
.Hash(data.AsSpan(), hash);
Hashing\XxHash128.cs (2)
37
/// <summary>Initializes a new instance of the <see cref="
XxHash128
"/> class using the default seed value 0.</summary>
42
/// <summary>Initializes a new instance of the <see cref="
XxHash128
"/> class using the specified seed.</summary>
Text\SourceText.cs (3)
34
private static readonly ObjectPool<
XxHash128
> s_contentHashPool = new ObjectPool<
XxHash128
>(() => new XxHash128());
631
var
hash = s_contentHashPool.Allocate();