X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Flibmemcached%2Fhash.cc;h=42d3a4ef76cdb31a0cc7a1ce4e6bddc4099b9c8a;hb=e4dc06e9f89a6aa678e2973898ae75faa80bc0c2;hp=e062e4e7fb9286e4e16cb8559855d8b59073e917;hpb=0f27cca46a4a529459ca988268972f480a9730c6;p=awesomized%2Flibmemcached diff --git a/src/libmemcached/hash.cc b/src/libmemcached/hash.cc index e062e4e7..42d3a4ef 100644 --- a/src/libmemcached/hash.cc +++ b/src/libmemcached/hash.cc @@ -9,15 +9,14 @@ | the terms online at: https://opensource.org/licenses/BSD-3-Clause | +--------------------------------------------------------------------+ | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ | - | Copyright (c) 2020 Michael Wallner | + | Copyright (c) 2020-2021 Michael Wallner https://awesome.co/ | +--------------------------------------------------------------------+ */ #include "libmemcached/common.h" - -#include - #include "libmemcached/virtual_bucket.h" +#include "p9y/gettimeofday.hpp" +#include "p9y/random.hpp" uint32_t memcached_generate_hash_value(const char *key, size_t key_length, memcached_hash_t hash_algorithm) {