diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/farmhash/farmhash.cc | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/farmhash/farmhash.cc')
-rw-r--r-- | contrib/libs/farmhash/farmhash.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/farmhash/farmhash.cc b/contrib/libs/farmhash/farmhash.cc index 2e2b29478d..27b344fc65 100644 --- a/contrib/libs/farmhash/farmhash.cc +++ b/contrib/libs/farmhash/farmhash.cc @@ -20,7 +20,7 @@ // // FarmHash, by Geoff Pike -#include <util/system/compiler.h> +#include <util/system/compiler.h> #include "farmhash.h" // FARMHASH ASSUMPTIONS: Modify as needed, or use -DFARMHASH_ASSUME_SSE42 etc. // Note that if you use -DFARMHASH_ASSUME_SSE42 you likely need -msse42 @@ -1602,8 +1602,8 @@ STATIC_INLINE uint32_t Hash32Len5to12(const char *s, size_t len) { return fmix(Mur(c, Mur(b, Mur(a, d)))); } -Y_PRAGMA_DIAGNOSTIC_PUSH -Y_PRAGMA_NO_WSHADOW +Y_PRAGMA_DIAGNOSTIC_PUSH +Y_PRAGMA_NO_WSHADOW uint32_t Hash32(const char *s, size_t len) { if (len <= 24) { return len <= 12 ? @@ -1672,7 +1672,7 @@ uint32_t Hash32(const char *s, size_t len) { h = Rotate(h, 17) * c1; return h; } -Y_PRAGMA_DIAGNOSTIC_POP +Y_PRAGMA_DIAGNOSTIC_POP uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) { if (len <= 24) { |