diff options
author | d-mokhnatkin <d-mokhnatkin@yandex-team.ru> | 2022-02-10 16:50:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:43 +0300 |
commit | d94e393f3d35cf42ec17be6dc35149893a0b49cf (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/streams/lz/lz.cpp | |
parent | 4a2fe1d5dc0a49394dec49309de618073ccd14b7 (diff) | |
download | ydb-d94e393f3d35cf42ec17be6dc35149893a0b49cf.tar.gz |
Restoring authorship annotation for <d-mokhnatkin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/streams/lz/lz.cpp')
-rw-r--r-- | library/cpp/streams/lz/lz.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/streams/lz/lz.cpp b/library/cpp/streams/lz/lz.cpp index de090a257c..b65bb3ed96 100644 --- a/library/cpp/streams/lz/lz.cpp +++ b/library/cpp/streams/lz/lz.cpp @@ -3,7 +3,7 @@ #include <util/system/yassert.h> #include <util/system/byteorder.h> #include <util/memory/addstorage.h> -#include <util/generic/buffer.h> +#include <util/generic/buffer.h> #include <util/generic/utility.h> #include <util/generic/singleton.h> #include <util/generic/yexception.h> @@ -193,8 +193,8 @@ public: , Version_(CheckVer(Load<ui32>())) , BlockSize_(Load<ui16>()) , OutBufSize_(TDecompressor::Hint(BlockSize_)) - , Tmp_(2 * OutBufSize_) - , In_(Tmp_.Data()) + , Tmp_(2 * OutBufSize_) + , In_(Tmp_.Data()) , Out_(In_ + OutBufSize_) { this->InitFromStream(Slave_); @@ -237,9 +237,9 @@ public: TMemoryInput header(tmp, sizeof(tmp)); const ui16 len = GLoad<ui16>(&header); - if (len > Tmp_.Capacity()) { - ythrow TDecompressorError() << "invalid len inside block header"; - } + if (len > Tmp_.Capacity()) { + ythrow TDecompressorError() << "invalid len inside block header"; + } const ui8 compressed = GLoad<ui8>(&header); if (compressed > 1) { @@ -271,7 +271,7 @@ protected: const ui32 Version_; const ui16 BlockSize_; const size_t OutBufSize_; - TBuffer Tmp_; + TBuffer Tmp_; char* In_; char* Out_; }; |