From 31bc04d3b672d575b397bc2d050f6961b61eef35 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 23:03:48 +0000 Subject: [PATCH] Confirm fn_00170 (XXH3_hashLong_128b_default) Batch #17463 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_00170 XXH3_hashLong_128b_default: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, cremane, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Utility/Hash/XxHash3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utility/Hash/XxHash3.cpp b/Source/Utility/Hash/XxHash3.cpp index 2bf0769df..3f93efbf3 100644 --- a/Source/Utility/Hash/XxHash3.cpp +++ b/Source/Utility/Hash/XxHash3.cpp @@ -493,9 +493,9 @@ namespace { HashLongInternalLoop(acc, static_cast(input), length, secret, secretSize, f_acc512, f_scramble); XXH128_hash_t h128; - h128.low64 = XXH3_mergeAccs(acc, secret + XXH_SECRET_MERGEACCS_START, static_cast(length) * XXH_PRIME64_1); h128.high64 = XXH3_mergeAccs(acc, secret + secretSize - sizeof(acc) - XXH_SECRET_MERGEACCS_START, ~(static_cast(length) * XXH_PRIME64_2)); + h128.low64 = XXH3_mergeAccs(acc, secret + XXH_SECRET_MERGEACCS_START, static_cast(length) * XXH_PRIME64_1); return h128; }