Skip to content

Commit

Permalink
NMHASH32: WIP-N+1
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Sep 26, 2024
1 parent 4403ad0 commit 45d326a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Hashes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,9 @@ void nmhash32_test ( const void * key, int len, uint32_t seed, void * out ) {
sumhash32(accY, sizeof(accY), 0, &oh); printf("-> sumhash32(accY) = %x\n", oh);
static_assert(COUNT_OF(accX) == COUNT_OF(accY) && COUNT_OF(accX) == COUNT_OF(NMH_ACC_INIT));
for (unsigned i = 0; i < COUNT_OF(accX); i++)
printf("%4d %08x -> %08x %08x\n", i, NMH_ACC_INIT[i], accX[i], accY[i]);
printf("%4d %08x %08x %08x %08x -> %08x %08x\n",
i, NMH_ACC_INIT[i],__NMH_M1_V[i], __NMH_M2_V[i], __NMH_M3_V[i],
accX[i], accY[i]);
once = true;
}
const uint32_t v = NMHASH32 (key, (const size_t) len, seed);
Expand Down

0 comments on commit 45d326a

Please sign in to comment.