aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/codecs
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/blockcodecs/codecs
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/codecs')
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/brotli.cpp2
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/bzip.cpp2
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp2
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp8
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/lz4.cpp8
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/lzma.cpp2
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/snappy.cpp2
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/zlib.cpp2
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/zstd.cpp2
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 6e3cd971bd..a23765b0d4 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 3a5cfdd0e9..230165e817 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 da2831fbd2..49c8bb5902 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 042f031679..0416ff964f 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 fbf0fe110f..f800b50316 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 6c8d5fded4..ab3a2466f5 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 f6be05a05f..44d8c140a4 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 cdb556c36d..fc1f602d9f 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 95299b3f6d..3f905c8687 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));
}
}