aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/streams/lzma/lzma_ut.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/streams/lzma/lzma_ut.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/streams/lzma/lzma_ut.cpp')
-rw-r--r--library/cpp/streams/lzma/lzma_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/streams/lzma/lzma_ut.cpp b/library/cpp/streams/lzma/lzma_ut.cpp
index 847e98d1ca..907de209b5 100644
--- a/library/cpp/streams/lzma/lzma_ut.cpp
+++ b/library/cpp/streams/lzma/lzma_ut.cpp
@@ -8,7 +8,7 @@
class TStrokaByOneByte: public IZeroCopyInput {
public:
- TStrokaByOneByte(const TString& s)
+ TStrokaByOneByte(const TString& s)
: Data(s)
, Pos(s.data())
{
@@ -26,7 +26,7 @@ private:
}
}
- TString Data;
+ TString Data;
const char* Pos;
};
@@ -37,15 +37,15 @@ class TLzmaTest: public TTestBase {
UNIT_TEST_SUITE_END();
private:
- inline TString GenData() {
- TString data;
+ inline TString GenData() {
+ TString data;
TReallyFastRng32 rnd(RandomNumber<ui64>());
for (size_t i = 0; i < 50000; ++i) {
const char ch = rnd.Uniform(256);
const size_t len = 1 + rnd.Uniform(10);
- data += TString(len, ch);
+ data += TString(len, ch);
}
return data;
@@ -54,7 +54,7 @@ private:
inline void Test2() {
class TExcOutput: public IOutputStream {
public:
- ~TExcOutput() override {
+ ~TExcOutput() override {
}
void DoWrite(const void*, size_t) override {
@@ -62,7 +62,7 @@ private:
}
};
- TString data(GenData());
+ TString data(GenData());
TMemoryInput mi(data.data(), data.size());
TExcOutput out;
@@ -76,9 +76,9 @@ private:
}
inline void Test1() {
- TString data(GenData());
- TString data1;
- TString res;
+ TString data(GenData());
+ TString data1;
+ TString res;
{
TMemoryInput mi(data.data(), data.size());