diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /contrib/libs/farmhash/farmhash.cc | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 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 27b344fc65..2e2b29478d 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) { |