aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/zstd_dict_codec.cpp
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/codecs/zstd_dict_codec.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/codecs/zstd_dict_codec.cpp')
-rw-r--r--library/cpp/codecs/zstd_dict_codec.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/codecs/zstd_dict_codec.cpp b/library/cpp/codecs/zstd_dict_codec.cpp
index c42a2879e6..d04ea57f3b 100644
--- a/library/cpp/codecs/zstd_dict_codec.cpp
+++ b/library/cpp/codecs/zstd_dict_codec.cpp
@@ -147,7 +147,7 @@ namespace NCodecs {
bool Learn(ISequenceReader& in, bool throwOnError) {
TBuffer data;
- TVector<size_t> lens;
+ TVector<size_t> lens;
data.Reserve(2 * SampleSize);
TStringBuf r;
@@ -233,7 +233,7 @@ namespace NCodecs {
TZStdDictCodec::~TZStdDictCodec() {
}
- TString TZStdDictCodec::GetName() const {
+ TString TZStdDictCodec::GetName() const {
return TStringBuilder() << MyName() << "-" << Impl->GetCompressionLevel();
}
@@ -263,8 +263,8 @@ namespace NCodecs {
Impl->Load(in);
}
- TVector<TString> TZStdDictCodec::ListCompressionNames() {
- TVector<TString> res;
+ TVector<TString> TZStdDictCodec::ListCompressionNames() {
+ TVector<TString> res;
for (int i = 1; i <= ZSTD_maxCLevel(); ++i) {
res.emplace_back(TStringBuilder() << MyName() << "-" << i);
}