diff options
author | sankear <sankear@yandex-team.ru> | 2022-02-10 16:50:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:10 +0300 |
commit | aed1c1c7782eb0a0536e5b25bbed950b397e0ac8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/memory/blob.h | |
parent | 7377d7b033ffbef85e9bb0bf35091a8e79ed422c (diff) | |
download | ydb-aed1c1c7782eb0a0536e5b25bbed950b397e0ac8.tar.gz |
Restoring authorship annotation for <sankear@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/memory/blob.h')
-rw-r--r-- | util/memory/blob.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/memory/blob.h b/util/memory/blob.h index 701a6d9070..20c02a68df 100644 --- a/util/memory/blob.h +++ b/util/memory/blob.h @@ -250,12 +250,12 @@ public: /// Creates a locked blob with a multi-threaded (atomic) refcounter. It maps the file content as data. static TBlob LockedFromFile(const TFile& file); - /// Creates a locked blob with a single-threaded (non atomic) refcounter from the mapped memory. - static TBlob LockedFromMemoryMapSingleThreaded(const TMemoryMap& map, ui64 offset, size_t length); - - /// Creates a locked blob with a multi-threaded (atomic) refcounter from the mapped memory. - static TBlob LockedFromMemoryMap(const TMemoryMap& map, ui64 offset, size_t length); - + /// Creates a locked blob with a single-threaded (non atomic) refcounter from the mapped memory. + static TBlob LockedFromMemoryMapSingleThreaded(const TMemoryMap& map, ui64 offset, size_t length); + + /// Creates a locked blob with a multi-threaded (atomic) refcounter from the mapped memory. + static TBlob LockedFromMemoryMap(const TMemoryMap& map, ui64 offset, size_t length); + /// Creates a blob with a single-threaded (non atomic) refcounter from the mapped memory. static TBlob FromMemoryMapSingleThreaded(const TMemoryMap& map, ui64 offset, size_t length); |