aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorgrachev <grachev@yandex-team.ru>2022-02-10 16:49:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:35 +0300
commit492d4842b42175970fd597869540936bf152ffb1 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util
parent12e3c82a4c0895fe4f03a4dc5d6f100cae665b64 (diff)
downloadydb-492d4842b42175970fd597869540936bf152ffb1.tar.gz
Restoring authorship annotation for <grachev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/system/filemap.cpp8
-rw-r--r--util/system/filemap.h2
-rw-r--r--util/system/maxlen.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/util/system/filemap.cpp b/util/system/filemap.cpp
index b261b1512f..7454a4cb94 100644
--- a/util/system/filemap.cpp
+++ b/util/system/filemap.cpp
@@ -293,7 +293,7 @@ public:
}
#endif
}
-
+
void Evict(void* ptr, size_t len) {
MadviseEvict(ptr, len);
}
@@ -407,10 +407,10 @@ TMemoryMap::TMapResult TMemoryMap::ResizeAndRemap(i64 offset, size_t size) {
return Map(offset, size);
}
-void TMemoryMap::SetSequential() {
+void TMemoryMap::SetSequential() {
Impl_->SetSequential();
-}
-
+}
+
void TMemoryMap::Evict(void* ptr, size_t len) {
Impl_->Evict(ptr, len);
}
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 7ef0888450..11be64bff4 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -95,7 +95,7 @@ public:
void SetSequential();
void Evict(void* ptr, size_t len);
void Evict();
-
+
/*
* deprecated
*/
diff --git a/util/system/maxlen.h b/util/system/maxlen.h
index 20a3cc74d0..e1ff7f5008 100644
--- a/util/system/maxlen.h
+++ b/util/system/maxlen.h
@@ -14,7 +14,7 @@
#define FULLURL_MAX (URL_MAX + HOST_MAX)
#define LINKTEXT_MAX 1024
-
+
#ifdef WIN32
#ifndef PATH_MAX
#define PATH_MAX _MAX_PATH