diff --git a/Hashes.cpp b/Hashes.cpp index 980b0d9e..7320be45 100644 --- a/Hashes.cpp +++ b/Hashes.cpp @@ -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);