aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/streams
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /library/cpp/streams
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/streams')
-rw-r--r--library/cpp/streams/brotli/brotli_ut.cpp2
-rw-r--r--library/cpp/streams/bzip2/bzip2_ut.cpp2
-rw-r--r--library/cpp/streams/lz/lz.cpp14
-rw-r--r--library/cpp/streams/lz/lz_ut.cpp2
-rw-r--r--library/cpp/streams/lzma/lzma_ut.cpp2
-rw-r--r--library/cpp/streams/zstd/zstd_ut.cpp2
6 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/streams/brotli/brotli_ut.cpp b/library/cpp/streams/brotli/brotli_ut.cpp
index aeb2e284dc..a6d95ecf76 100644
--- a/library/cpp/streams/brotli/brotli_ut.cpp
+++ b/library/cpp/streams/brotli/brotli_ut.cpp
@@ -1,6 +1,6 @@
#include "brotli.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/random/fast.h>
diff --git a/library/cpp/streams/bzip2/bzip2_ut.cpp b/library/cpp/streams/bzip2/bzip2_ut.cpp
index 69a98f296c..4c207ddef7 100644
--- a/library/cpp/streams/bzip2/bzip2_ut.cpp
+++ b/library/cpp/streams/bzip2/bzip2_ut.cpp
@@ -1,6 +1,6 @@
#include "bzip2.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/stream/file.h>
#include <util/system/tempfile.h>
diff --git a/library/cpp/streams/lz/lz.cpp b/library/cpp/streams/lz/lz.cpp
index b65bb3ed96..3f005a50a9 100644
--- a/library/cpp/streams/lz/lz.cpp
+++ b/library/cpp/streams/lz/lz.cpp
@@ -102,7 +102,7 @@ private:
ui8 compressed = false;
if (len) {
- const size_t out = this->Compress((const char*)ptr, len, (char*)Block(), this->AdditionalDataLength());
+ const size_t out = this->Compress((const char*)ptr, len, (char*)Block(), this->AdditionalDataLength());
// catch compressor buffer overrun (e.g. SEARCH-2043)
//Y_VERIFY(out <= this->Hint(this->BlockSize()));
@@ -402,7 +402,7 @@ protected:
class TMiniLzoCompressor: public TMiniLzo, public TFixedArray<LZO1X_MEM_COMPRESS + 1> {
public:
- inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
+ inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
lzo_uint out = 0;
lzo1x_1_compress((const lzo_bytep)data, len, (lzo_bytep)ptr, &out, WorkMem_);
@@ -438,7 +438,7 @@ public:
return Max<size_t>((size_t)(len * 1.06), 100);
}
- inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
+ inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
return fastlz_compress(data, len, ptr);
}
@@ -470,8 +470,8 @@ public:
return Max<size_t>((size_t)(len * 1.06), 100);
}
- inline size_t Compress(const char* data, size_t len, char* ptr, size_t dstMaxSize) {
- return LZ4_compress_default(data, ptr, len, dstMaxSize);
+ inline size_t Compress(const char* data, size_t len, char* ptr, size_t dstMaxSize) {
+ return LZ4_compress_default(data, ptr, len, dstMaxSize);
}
inline size_t Decompress(const char* data, size_t len, char* ptr, size_t max) {
@@ -505,7 +505,7 @@ public:
return Max<size_t>(snappy::MaxCompressedLength(len), 100);
}
- inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
+ inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
size_t reslen = 0;
snappy::RawCompress(data, len, ptr, &reslen);
return reslen;
@@ -575,7 +575,7 @@ const char TQuickLZBase::signature[] = "YLZQ";
class TQuickLZCompress: public TQuickLZBase {
public:
- inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
+ inline size_t Compress(const char* data, size_t len, char* ptr, size_t /*dstMaxSize*/) {
return Table_->Compress(data, ptr, len, (char*)Mem_.Get());
}
};
diff --git a/library/cpp/streams/lz/lz_ut.cpp b/library/cpp/streams/lz/lz_ut.cpp
index 6876f070fc..ea8a920429 100644
--- a/library/cpp/streams/lz/lz_ut.cpp
+++ b/library/cpp/streams/lz/lz_ut.cpp
@@ -1,6 +1,6 @@
#include "lz.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <library/cpp/resource/resource.h>
#include <util/stream/file.h>
diff --git a/library/cpp/streams/lzma/lzma_ut.cpp b/library/cpp/streams/lzma/lzma_ut.cpp
index 847e98d1ca..bfa88b6a51 100644
--- a/library/cpp/streams/lzma/lzma_ut.cpp
+++ b/library/cpp/streams/lzma/lzma_ut.cpp
@@ -1,6 +1,6 @@
#include "lzma.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/stream/mem.h>
#include <util/random/fast.h>
diff --git a/library/cpp/streams/zstd/zstd_ut.cpp b/library/cpp/streams/zstd/zstd_ut.cpp
index ef479fdd97..ce49b5e3af 100644
--- a/library/cpp/streams/zstd/zstd_ut.cpp
+++ b/library/cpp/streams/zstd/zstd_ut.cpp
@@ -1,6 +1,6 @@
#include "zstd.h"
-#include <library/cpp/testing/unittest/registar.h>
+#include <library/cpp/testing/unittest/registar.h>
#include <util/random/fast.h>
#include <util/stream/null.h>