aboutsummaryrefslogtreecommitdiffstats
path: root/util/random/mersenne64.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/random/mersenne64.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/random/mersenne64.cpp')
-rw-r--r--util/random/mersenne64.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/random/mersenne64.cpp b/util/random/mersenne64.cpp
index 4ede2c6dca..c74d726020 100644
--- a/util/random/mersenne64.cpp
+++ b/util/random/mersenne64.cpp
@@ -10,7 +10,7 @@
using namespace NPrivate;
-void TMersenne64::InitGenRand(ui64 seed) noexcept {
+void TMersenne64::InitGenRand(ui64 seed) noexcept {
mt[0] = seed;
for (mti = 1; mti < NN; ++mti) {
@@ -18,7 +18,7 @@ void TMersenne64::InitGenRand(ui64 seed) noexcept {
}
}
-void TMersenne64::InitByArray(const ui64* init_key, size_t key_length) noexcept {
+void TMersenne64::InitByArray(const ui64* init_key, size_t key_length) noexcept {
ui64 i = 1;
ui64 j = 0;
ui64 k;
@@ -57,7 +57,7 @@ void TMersenne64::InitByArray(const ui64* init_key, size_t key_length) noexcept
mt[0] = ULL(1) << 63;
}
-void TMersenne64::InitNext() noexcept {
+void TMersenne64::InitNext() noexcept {
int i;
ui64 x;
ui64 mag01[2] = {