search for: test_murmurhash3_32

Displaying 2 results from an estimated 2 matches for "test_murmurhash3_32".

2018 Mar 26
0
murmurhash3 test failures on big-endian systems
...lp64[MURMURHASH3_128_RESULTBYTES]; /* fits all results */ +#ifdef _LP64 +#define result result_lp64 +#else +#define result result_ilp32 +#endif }; static void test_murmurhash3_algorithm(const char *name, @@ -29,24 +41,49 @@ static void test_murmurhash3_algorithm(const char *name, static void test_murmurhash3_32(void) { + /* murmurhash3_32() produces the same output on both ILP32 and LP64 + systems, so use the same expected outputs for both */ struct murmur3_test_vectors vectors[] = { - { "", 0, 0, { 0, 0, 0, 0}}, - { "", 0, 0x1, { 0x514E28B7, 0, 0, 0 }}, - { "", 0, 0...
2018 Mar 26
2
murmurhash3 test failures on big-endian systems
Hi Aki, On 15:55 Mon 26 Mar , Aki Tuomi wrote: > On 26.03.2018 15:49, Apollon Oikonomopoulos wrote: > > Hi, > > > > The dovecot 2.3.0.1 Debian package currently fails to build on all > > big-endian architectures[1], due to murmurhash3 tests failing. The > > relevant output from e.g. s390x is: > > > > test-murmurhash3.c:22: Assert(#8) failed: