aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/filemap.h
diff options
context:
space:
mode:
authorAlexey Salmin <alexey.salmin@gmail.com>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch)
tree99be7b96e7c66612fbca94331100ef3b5fedcb88 /util/system/filemap.h
parentde89752358147d7b25ef59a85b431bb564068a49 (diff)
downloadydb-3c5b1607b38f637d2f3313791ed25c2e080d2647.tar.gz
Restoring authorship annotation for Alexey Salmin <alexey.salmin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/system/filemap.h')
-rw-r--r--util/system/filemap.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 11be64bff4..31eac6de47 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -80,12 +80,12 @@ public:
~TMemoryMap();
- TMapResult Map(i64 offset, size_t size);
+ TMapResult Map(i64 offset, size_t size);
bool Unmap(TMapResult region);
- void ResizeAndReset(i64 size);
- TMapResult ResizeAndRemap(i64 offset, size_t size);
-
+ void ResizeAndReset(i64 size);
+ TMapResult ResizeAndRemap(i64 offset, size_t size);
+
i64 Length() const noexcept;
bool IsOpen() const noexcept;
bool IsWritable() const noexcept;
@@ -118,8 +118,8 @@ public:
~TFileMap();
- TMapResult Map(i64 offset, size_t size);
- TMapResult ResizeAndRemap(i64 offset, size_t size);
+ TMapResult Map(i64 offset, size_t size);
+ TMapResult ResizeAndRemap(i64 offset, size_t size);
void Unmap();
void Flush(void* ptr, size_t size) {