Skip to content

Commit

Permalink
WIP2
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Sep 26, 2024
1 parent c5bdf15 commit 93e5768
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Hashes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,8 @@ void nmhash32_test ( const void * key, int len, uint32_t seed, void * out ) {
NMH_ALIGN(NMH_ACC_ALIGN) uint32_t accX[sizeof(NMH_ACC_INIT)/sizeof(*NMH_ACC_INIT)];
NMH_ALIGN(NMH_ACC_ALIGN) uint32_t accY[sizeof(accX)/sizeof(*accX)];
printf("sizeof_NMH_ACC_INIT: %u\ncountof_NMH_ACC_INIT: %u\nsizeof(accX): %u\nsizeof(accY): %u\n", sizeof_NMH_ACC_INIT, countof_NMH_ACC_INIT, sizeof(accX), sizeof(accY));
const uint32_t x = NMHASH32_long(NMH_ACC_INIT, sizeof(NMH_ACC_INIT), 42);
printf("NMHASH32_long(NMH_ACC_INIT, %u, 42) = %x\n", sizeof(NMH_ACC_INIT), x);
once = true;
}
const uint32_t v = NMHASH32 (key, (const size_t) len, seed);
Expand Down

0 comments on commit 93e5768

Please sign in to comment.