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 | 7377d7b033ffbef85e9bb0bf35091a8e79ed422c (patch) | |
tree | fca7665beced1b829e5ab628094d3721a66c1001 /util/memory/blob.h | |
parent | f054f783b50cf93fa12c0cc6375769c21f3fd27e (diff) | |
download | ydb-7377d7b033ffbef85e9bb0bf35091a8e79ed422c.tar.gz |
Restoring authorship annotation for <sankear@yandex-team.ru>. Commit 1 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 20c02a68df..701a6d9070 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); |