X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fhash_results.h;h=ce788b7c734c046a4584be1955c9b87f8689a86e;hb=e0871342c7fdc7cb9c518d686aab4519c1bda764;hp=26f1ed8531a7bf8d206ba04c18fa834ee7e27617;hpb=a81bddebd55105aefa57af7cc87adbda3d1a022e;p=awesomized%2Flibmemcached diff --git a/tests/hash_results.h b/tests/hash_results.h index 26f1ed85..ce788b7c 100644 --- a/tests/hash_results.h +++ b/tests/hash_results.h @@ -105,6 +105,7 @@ static uint32_t hsieh_values[]= { 3738850110U, 3636226060U, 3821074029U, 3489929 static uint32_t hsieh_values[]= { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; #endif +#ifdef HAVE_MURMUR_HASH static uint32_t murmur_values[]= { 4142305122U, 734504955U, 3802834688U, 4076891445U, 387802650U, 560515427U, 3274673488U, 3150339524U, 1527441970U, 2728642900U, 3613992239U, 2938419259U, @@ -113,6 +114,18 @@ static uint32_t murmur_values[]= { 4142305122U, 734504955U, 3802834688U, 407689 926327338U, 442757446U, 1770805201U, 560483147U, 3902279934U }; +static uint32_t murmur3_values[]= { 1120212521U, 1448785489U, 4186307405U, 2686268514U, + 444808887U, 221750260U, 3074673162U, 1946933257U, + 2826416675U, 2430719166U, 3200429559U, 297894347U, + 732888124U, 4050076964U, 3298336176U, 1336207361U, + 810553576U, 3748182674U, 3860119212U, 3439537197U, + 3044240981U, 1464271804U, 3896193724U, 2915115798U, + 1702843840U }; +#else +static uint32_t murmur_values[]= { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; +static uint32_t murmur3_values[]= { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; +#endif + static uint32_t jenkins_values[]= { 1442444624U, 4253821186U, 1885058256U, 2120131735U, 3261968576U, 3515188778U, 4232909173U, 4288625128U, 1812047395U, 3689182164U, 2502979932U, 1214050606U,