diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/blockcodecs/codecs | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/codecs')
-rw-r--r-- | library/cpp/blockcodecs/codecs/brotli/brotli.cpp | 2 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/bzip/bzip.cpp | 2 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp | 2 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp | 8 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/lz4/lz4.cpp | 8 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/lzma/lzma.cpp | 2 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/snappy/snappy.cpp | 2 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/zlib/zlib.cpp | 2 | ||||
-rw-r--r-- | library/cpp/blockcodecs/codecs/zstd/zstd.cpp | 2 |
9 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/blockcodecs/codecs/brotli/brotli.cpp b/library/cpp/blockcodecs/codecs/brotli/brotli.cpp index a23765b0d4..6e3cd971bd 100644 --- a/library/cpp/blockcodecs/codecs/brotli/brotli.cpp +++ b/library/cpp/blockcodecs/codecs/brotli/brotli.cpp @@ -59,7 +59,7 @@ namespace { struct TBrotliRegistrar { TBrotliRegistrar() { for (int i = 1; i <= TBrotliCodec::BEST_QUALITY; ++i) { - RegisterCodec(MakeHolder<TBrotliCodec>(i)); + RegisterCodec(MakeHolder<TBrotliCodec>(i)); } } }; diff --git a/library/cpp/blockcodecs/codecs/bzip/bzip.cpp b/library/cpp/blockcodecs/codecs/bzip/bzip.cpp index 230165e817..3a5cfdd0e9 100644 --- a/library/cpp/blockcodecs/codecs/bzip/bzip.cpp +++ b/library/cpp/blockcodecs/codecs/bzip/bzip.cpp @@ -53,7 +53,7 @@ namespace { struct TBZipRegistrar { TBZipRegistrar() { for (int i = 1; i < 10; ++i) { - RegisterCodec(MakeHolder<TBZipCodec>(i)); + RegisterCodec(MakeHolder<TBZipCodec>(i)); } RegisterAlias("bzip2", "bzip2-6"); } diff --git a/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp b/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp index 49c8bb5902..da2831fbd2 100644 --- a/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp +++ b/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp @@ -45,7 +45,7 @@ namespace { struct TFastLZRegistrar { TFastLZRegistrar() { for (int i = 0; i < 3; ++i) { - RegisterCodec(MakeHolder<TFastLZCodec>(i)); + RegisterCodec(MakeHolder<TFastLZCodec>(i)); } RegisterAlias("fastlz", "fastlz-0"); } diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp b/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp index 0416ff964f..042f031679 100644 --- a/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp @@ -23,7 +23,7 @@ namespace { return ret; } - static inline size_t DoMaxCompressedLength(size_t l) noexcept { + static inline size_t DoMaxCompressedLength(size_t l) noexcept { return ZSTD_compressBound(l); } @@ -39,18 +39,18 @@ namespace { } } - TStringBuf Name() const noexcept override { + TStringBuf Name() const noexcept override { return MyName; } const unsigned Level; - const TString MyName; + const TString MyName; }; struct TZStd06Registrar { TZStd06Registrar() { for (unsigned i = 1; i <= ZSTD_maxCLevel(); ++i) { - RegisterCodec(MakeHolder<TZStd06Codec>(i)); + RegisterCodec(MakeHolder<TZStd06Codec>(i)); } } }; diff --git a/library/cpp/blockcodecs/codecs/lz4/lz4.cpp b/library/cpp/blockcodecs/codecs/lz4/lz4.cpp index f800b50316..fbf0fe110f 100644 --- a/library/cpp/blockcodecs/codecs/lz4/lz4.cpp +++ b/library/cpp/blockcodecs/codecs/lz4/lz4.cpp @@ -101,16 +101,16 @@ namespace { THolder<T2> t2(new T2(i)); if (t1->Methods) { - RegisterCodec(std::move(t1)); + RegisterCodec(std::move(t1)); } if (t2->Methods) { - RegisterCodec(std::move(t2)); + RegisterCodec(std::move(t2)); } } - RegisterCodec(MakeHolder<TLz4Codec<TLz4BestCompress, TLz4FastDecompress>>()); - RegisterCodec(MakeHolder<TLz4Codec<TLz4BestCompress, TLz4SafeDecompress>>()); + RegisterCodec(MakeHolder<TLz4Codec<TLz4BestCompress, TLz4FastDecompress>>()); + RegisterCodec(MakeHolder<TLz4Codec<TLz4BestCompress, TLz4SafeDecompress>>()); RegisterAlias("lz4-fast-safe", "lz4-fast14-safe"); RegisterAlias("lz4-fast-fast", "lz4-fast14-fast"); diff --git a/library/cpp/blockcodecs/codecs/lzma/lzma.cpp b/library/cpp/blockcodecs/codecs/lzma/lzma.cpp index ab3a2466f5..6c8d5fded4 100644 --- a/library/cpp/blockcodecs/codecs/lzma/lzma.cpp +++ b/library/cpp/blockcodecs/codecs/lzma/lzma.cpp @@ -65,7 +65,7 @@ namespace { struct TLzmaRegistrar { TLzmaRegistrar() { for (int i = 0; i < 10; ++i) { - RegisterCodec(MakeHolder<TLzmaCodec>(i)); + RegisterCodec(MakeHolder<TLzmaCodec>(i)); } RegisterAlias("lzma", "lzma-5"); } diff --git a/library/cpp/blockcodecs/codecs/snappy/snappy.cpp b/library/cpp/blockcodecs/codecs/snappy/snappy.cpp index 44d8c140a4..f6be05a05f 100644 --- a/library/cpp/blockcodecs/codecs/snappy/snappy.cpp +++ b/library/cpp/blockcodecs/codecs/snappy/snappy.cpp @@ -45,7 +45,7 @@ namespace { struct TSnappyRegistrar { TSnappyRegistrar() { - RegisterCodec(MakeHolder<TSnappyCodec>()); + RegisterCodec(MakeHolder<TSnappyCodec>()); } }; const TSnappyRegistrar Registrar{}; diff --git a/library/cpp/blockcodecs/codecs/zlib/zlib.cpp b/library/cpp/blockcodecs/codecs/zlib/zlib.cpp index fc1f602d9f..cdb556c36d 100644 --- a/library/cpp/blockcodecs/codecs/zlib/zlib.cpp +++ b/library/cpp/blockcodecs/codecs/zlib/zlib.cpp @@ -55,7 +55,7 @@ namespace { struct TZLibRegistrar { TZLibRegistrar() { for (int i = 0; i < 10; ++i) { - RegisterCodec(MakeHolder<TZLibCodec>(i)); + RegisterCodec(MakeHolder<TZLibCodec>(i)); } RegisterAlias("zlib", "zlib-6"); } diff --git a/library/cpp/blockcodecs/codecs/zstd/zstd.cpp b/library/cpp/blockcodecs/codecs/zstd/zstd.cpp index 3f905c8687..95299b3f6d 100644 --- a/library/cpp/blockcodecs/codecs/zstd/zstd.cpp +++ b/library/cpp/blockcodecs/codecs/zstd/zstd.cpp @@ -50,7 +50,7 @@ namespace { struct TZStd08Registrar { TZStd08Registrar() { for (int i = 1; i <= ZSTD_maxCLevel(); ++i) { - RegisterCodec(MakeHolder<TZStd08Codec>(i)); + RegisterCodec(MakeHolder<TZStd08Codec>(i)); RegisterAlias("zstd_" + ToString(i), "zstd08_" + ToString(i)); } } |