aboutsummaryrefslogtreecommitdiffstats
path: root/util/random
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/random
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/random')
-rw-r--r--util/random/entropy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/random/entropy.cpp b/util/random/entropy.cpp
index 760dabfee1..3617edb83d 100644
--- a/util/random/entropy.cpp
+++ b/util/random/entropy.cpp
@@ -112,9 +112,9 @@ namespace {
{
}
- ~TMersenneInput() override = default;
+ ~TMersenneInput() override = default;
- size_t DoRead(void* buf, size_t len) override {
+ size_t DoRead(void* buf, size_t len) override {
size_t toRead = len;
while (toRead) {
@@ -142,7 +142,7 @@ namespace {
{
}
- size_t DoRead(void* buf, size_t len) override {
+ size_t DoRead(void* buf, size_t len) override {
auto guard = Guard(Mutex_);
return Bi_.Read(buf, len);
@@ -155,7 +155,7 @@ namespace {
};
struct TSeedStream: public IInputStream {
- size_t DoRead(void* inbuf, size_t len) override {
+ size_t DoRead(void* inbuf, size_t len) override {
char* buf = (char*)inbuf;
#define DO_STEP(type) \