configure: fix compiler detection
[awesomized/libmemcached] / tests / hash_results.h
index da00e872ef6b149f0255a0acbd7f6d0f3e62c6ba..ce788b7c734c046a4584be1955c9b87f8689a86e 100644 (file)
@@ -42,6 +42,14 @@ static const char *list_to_hash[]=
   NULL
 };
 
+static uint32_t one_at_a_time_values[]= { 2297466611U, 3902465932U, 469785835U, 1937308741U,
+                                         261917617U, 3785641677U, 1439605128U, 1649152283U,
+                                         1493851484U, 1246520657U, 2221159044U, 1973511823U,
+                                         384136800U, 214358653U, 2379473940U, 4269788650U,
+                                         2864377005U, 2638630052U, 427683330U, 990491717U,
+                                         1747111141U, 792127364U, 2599214128U, 2553037199U,
+                                         2509838425U };
+
 static uint32_t md5_values[]= { 3195025439U, 2556848621U, 3724893440U, 3332385401U,
                                 245758794U, 2550894432U, 121710495U, 3053817768U,
                                 1250994555U, 1862072655U, 2631955953U, 2951528551U,
@@ -97,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,
@@ -105,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,