aboutsummaryrefslogtreecommitdiffstats
path: root/util/digest
diff options
context:
space:
mode:
authorsergey <sergey@yandex-team.ru>2022-02-10 16:47:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:29 +0300
commit5d8d1af4df7f9cd4acc021f069546c30677e7979 (patch)
tree07a39da188e8b418699f992f22d829a37a1411b2 /util/digest
parent32b231c8474a1ade4bdf776ade6a20341691d9d7 (diff)
downloadydb-5d8d1af4df7f9cd4acc021f069546c30677e7979.tar.gz
Restoring authorship annotation for <sergey@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/digest')
-rw-r--r--util/digest/fnv.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/digest/fnv.h b/util/digest/fnv.h
index 87b41a3de7..442449a03b 100644
--- a/util/digest/fnv.h
+++ b/util/digest/fnv.h
@@ -1,12 +1,12 @@
#pragma once
-
+
#include <util/system/defaults.h>
-
+
#define FNV32INIT 2166136261U
-#define FNV32PRIME 16777619U
+#define FNV32PRIME 16777619U
#define FNV64INIT ULL(14695981039346656037)
-#define FNV64PRIME ULL(1099511628211)
-
+#define FNV64PRIME ULL(1099511628211)
+
namespace NFnvPrivate {
template <class It>
constexpr ui32 FnvHash32(It b, It e, ui32 init) {
@@ -22,7 +22,7 @@ namespace NFnvPrivate {
while (b != e) {
init = (init * FNV64PRIME) ^ (unsigned char)*b++;
}
-
+
return init;
}