projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
gh-actions
[m6w6/libmemcached]
/
src
/
libhashkit
/
jenkins.cc
diff --git
a/src/libhashkit/jenkins.cc
b/src/libhashkit/jenkins.cc
index a08287dbc2c85fc206586578322acbdad1e776de..d66c64133d71e165b3835184dc169d1e8df362b9 100644
(file)
--- a/
src/libhashkit/jenkins.cc
+++ b/
src/libhashkit/jenkins.cc
@@
-93,6
+93,9
@@
use a bitmask. For example, if you need only 10 bits, do
In which case, the hash table should have hashsize(10) elements.
*/
In which case, the hash table should have hashsize(10) elements.
*/
+#if HAVE_ASAN
+__attribute__((no_sanitize_address,no_sanitize("address")))
+#endif
uint32_t hashkit_jenkins(const char *key, size_t length, void *)
{
uint32_t a,b,c; /* internal state */
uint32_t hashkit_jenkins(const char *key, size_t length, void *)
{
uint32_t a,b,c; /* internal state */