projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
libtest: improve output format; makes eyes hurt less
[awesomized/libmemcached]
/
libhashkit
/
algorithm.cc
diff --git
a/libhashkit/algorithm.cc
b/libhashkit/algorithm.cc
index 015370fd4dba62cb8e7f6143aed1519b5bd430b7..3eb28d62fc1c7a0f91867a61d62e9b9f2bd18ec6 100644
(file)
--- a/
libhashkit/algorithm.cc
+++ b/
libhashkit/algorithm.cc
@@
-2,7
+2,7
@@
*
* HashKit library
*
*
* HashKit library
*
- * Copyright (C) 2006-201
1
Data Differential, http://datadifferential.com/
+ * Copyright (C) 2006-201
2
Data Differential, http://datadifferential.com/
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@
-34,7
+34,7
@@
*
*/
*
*/
-#include
<libhashkit/common.h>
+#include
"libhashkit/common.h"
uint32_t libhashkit_one_at_a_time(const char *key, size_t key_length)
{
uint32_t libhashkit_one_at_a_time(const char *key, size_t key_length)
{
@@
-71,6
+71,11
@@
uint32_t libhashkit_hsieh(const char *key, size_t key_length)
return hashkit_hsieh(key, key_length, NULL);
}
return hashkit_hsieh(key, key_length, NULL);
}
+uint32_t libhashkit_murmur3(const char *key, size_t key_length)
+{
+ return hashkit_murmur3(key, key_length, NULL);
+}
+
uint32_t libhashkit_murmur(const char *key, size_t key_length)
{
return hashkit_murmur(key, key_length, NULL);
uint32_t libhashkit_murmur(const char *key, size_t key_length)
{
return hashkit_murmur(key, key_length, NULL);