aboutsummaryrefslogtreecommitdiffstats
path: root/util/digest
diff options
context:
space:
mode:
authorolegator <olegator@yandex-team.ru>2022-02-10 16:49:55 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:55 +0300
commit971cfa1c440a14ae8352b1dbf29a884fea7536db (patch)
treee03e5f1c971e2c7a8e7ba6b0c982587b9191503e /util/digest
parentc1979c2381cc77360b23e68225994f4b343e5acc (diff)
downloadydb-971cfa1c440a14ae8352b1dbf29a884fea7536db.tar.gz
Restoring authorship annotation for <olegator@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/digest')
-rw-r--r--util/digest/murmur.cpp2
-rw-r--r--util/digest/murmur.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/util/digest/murmur.cpp b/util/digest/murmur.cpp
index b041d3e5f2..0a515727f3 100644
--- a/util/digest/murmur.cpp
+++ b/util/digest/murmur.cpp
@@ -126,6 +126,6 @@ namespace NMurmurPrivate {
}
}
-size_t MurmurHashSizeT(const char* buf, size_t len) noexcept {
+size_t MurmurHashSizeT(const char* buf, size_t len) noexcept {
return MurmurHash<size_t>(buf, len);
}
diff --git a/util/digest/murmur.h b/util/digest/murmur.h
index 6b519b430a..477de36deb 100644
--- a/util/digest/murmur.h
+++ b/util/digest/murmur.h
@@ -35,21 +35,21 @@ static inline T MurmurHash(const void* buf, size_t len, T init) noexcept {
}
template <class T>
-static inline T MurmurHash(const void* buf, size_t len) noexcept {
+static inline T MurmurHash(const void* buf, size_t len) noexcept {
return MurmurHash<T>(buf, len, (T)0);
}
//non-inline version
-size_t MurmurHashSizeT(const char* buf, size_t len) noexcept;
+size_t MurmurHashSizeT(const char* buf, size_t len) noexcept;
template <typename TOut = size_t>
struct TMurmurHash {
- TOut operator()(const void* buf, size_t len) const noexcept {
+ TOut operator()(const void* buf, size_t len) const noexcept {
return MurmurHash<TOut>(buf, len);
}
template <typename ElementType>
- TOut operator()(const TArrayRef<ElementType>& data) const noexcept {
+ TOut operator()(const TArrayRef<ElementType>& data) const noexcept {
return operator()(data.data(), data.size() * sizeof(ElementType));
}
};