4 references to TryHash
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
92if (!TryHash(source, destination, out int bytesWritten, seed))
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
XxHash128Tests.cs (3)
53Assert.False(XxHash128.TryHash(input, destination.AsSpan(0, destination.Length - 1), out int bytesWritten, test.Seed)); 60Assert.True(XxHash128.TryHash(input, destination, out bytesWritten)); 65Assert.True(XxHash128.TryHash(input, destination, out bytesWritten, test.Seed));