aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/codecs_ut.cpp
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/blockcodecs/codecs_ut.cpp
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
downloadydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/codecs_ut.cpp')
-rw-r--r--library/cpp/blockcodecs/codecs_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/blockcodecs/codecs_ut.cpp b/library/cpp/blockcodecs/codecs_ut.cpp
index bfe5a23690..6e02232d5d 100644
--- a/library/cpp/blockcodecs/codecs_ut.cpp
+++ b/library/cpp/blockcodecs/codecs_ut.cpp
@@ -12,7 +12,7 @@ Y_UNIT_TEST_SUITE(TBlockCodecsTest) {
TBuffer Buffer(TStringBuf b) {
TBuffer bb;
- bb.Assign(b.data(), b.size());
+ bb.Assign(b.data(), b.size());
return bb;
}
@@ -39,7 +39,7 @@ Y_UNIT_TEST_SUITE(TBlockCodecsTest) {
TCodecList lst = ListAllCodecs();
- for (size_t i = 0; i < lst.size(); ++i) {
+ for (size_t i = 0; i < lst.size(); ++i) {
const ICodec* c = Codec(lst[i]);
const auto h = MultiHash(c->Name(), i, 1);
@@ -48,7 +48,7 @@ Y_UNIT_TEST_SUITE(TBlockCodecsTest) {
continue;
}
- for (size_t j = 0; j < datas.size(); ++j) {
+ for (size_t j = 0; j < datas.size(); ++j) {
const TBuffer& data = datas[j];
TString res;
@@ -151,13 +151,13 @@ Y_UNIT_TEST_SUITE(TBlockCodecsTest) {
datas.push_back(TString(i, (char)(i % 128)));
}
- for (size_t i = 0; i < datas.size(); ++i) {
+ for (size_t i = 0; i < datas.size(); ++i) {
res += datas[i];
}
TCodecList lst = ListAllCodecs();
- for (size_t i = 0; i < lst.size(); ++i) {
+ for (size_t i = 0; i < lst.size(); ++i) {
TStringStream ss;
const ICodec* c = Codec(lst[i]);
@@ -171,7 +171,7 @@ Y_UNIT_TEST_SUITE(TBlockCodecsTest) {
{
TCodedOutput out(&ss, c, 1234);
- for (size_t j = 0; j < datas.size(); ++j) {
+ for (size_t j = 0; j < datas.size(); ++j) {
out << datas[j];
}