From 0341d54c179f5e2be59ad6510e6d014157689f7f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 Jul 2026 05:19:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(hash):=20=E9=87=8D=E5=91=BD=E5=90=8D=20xxHa?= =?UTF-8?q?sh=20=E5=86=85=E9=83=A8=20Hash32=20=E4=BB=A5=E6=B6=88=E9=99=A4?= =?UTF-8?q?=E5=A4=96=E5=B1=82=E6=88=90=E5=91=98=E9=81=AE=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linear: GFX-208 --- GameFrameX.Foundation.Hash/XxHashHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GameFrameX.Foundation.Hash/XxHashHelper.cs b/GameFrameX.Foundation.Hash/XxHashHelper.cs index 74761c6..ed7e712 100644 --- a/GameFrameX.Foundation.Hash/XxHashHelper.cs +++ b/GameFrameX.Foundation.Hash/XxHashHelper.cs @@ -265,7 +265,7 @@ private static class InternalXxHashHelper /// Directly operates on memory pointers for optimal performance. /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - private static unsafe uint Hash32(byte* input, int length, uint seed = 0) + private static unsafe uint ComputeHash32(byte* input, int length, uint seed = 0) { unchecked { @@ -488,7 +488,7 @@ public static uint Hash32(byte[] buffer) { fixed (byte* pointer = buffer) { - return Hash32(pointer, length); + return ComputeHash32(pointer, length); } } }