Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GameFrameX.Foundation.Hash/XxHashHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ private static unsafe uint Hash32(byte* input, int length, uint seed = 0)
/// Directly operates on memory pointers for optimal performance.
/// </remarks>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static unsafe ulong Hash64(byte* input, int length, uint seed = 0)
private static unsafe ulong Hash64Core(byte* input, int length, uint seed = 0)
{
unchecked
{
Expand Down Expand Up @@ -555,7 +555,7 @@ public static ulong Hash64(byte[] buffer)
{
fixed (byte* pointer = buffer)
{
return Hash64(pointer, length);
return Hash64Core(pointer, length);
}
}
}
Expand Down