diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/packedtypes | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/packedtypes')
-rw-r--r-- | library/cpp/packedtypes/longs_ut.cpp | 2 | ||||
-rw-r--r-- | library/cpp/packedtypes/packed_ut.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/packedtypes/longs_ut.cpp b/library/cpp/packedtypes/longs_ut.cpp index 1cc1415f47..8b06c934d2 100644 --- a/library/cpp/packedtypes/longs_ut.cpp +++ b/library/cpp/packedtypes/longs_ut.cpp @@ -12,7 +12,7 @@ Y_UNIT_TEST_SUITE(TLongsTest) { i16 x16 = 40; i64 x64 = 40; i64 y64; - TString s; + TString s; s += Sprintf("x16=0x%x\n", (int)x16); s += Sprintf("LO_8(x16)=0x%x HI_8(x16)=0x%x\n\n", (int)Lo8(x16), (int)Hi8(x16)); diff --git a/library/cpp/packedtypes/packed_ut.cpp b/library/cpp/packedtypes/packed_ut.cpp index baefec85ce..70a22cf9c3 100644 --- a/library/cpp/packedtypes/packed_ut.cpp +++ b/library/cpp/packedtypes/packed_ut.cpp @@ -25,7 +25,7 @@ static T PseudoRandom(T max = Max<T>()) { } Y_UNIT_TEST_SUITE(TPackedTest) { - void TestPackUi32Sub(ui32 v, const TVector<char>& p) { + void TestPackUi32Sub(ui32 v, const TVector<char>& p) { TBufferOutput out; PackUI32(out, v); const TBuffer& buf = out.Buffer(); @@ -49,7 +49,7 @@ Y_UNIT_TEST_SUITE(TPackedTest) { Y_UNIT_TEST(TestPackUi32) { ui32 v; - TVector<char> pv; + TVector<char> pv; v = 0; pv.resize(1); @@ -93,7 +93,7 @@ Y_UNIT_TEST_SUITE(TPackedTest) { TBuffer buffer(65536); char* writePtr = buffer.Data(); - TVector<ui32> correctNumbers; + TVector<ui32> correctNumbers; for (size_t i = 0; i < 1000; ++i) { ui32 randNum = NPrivate::PseudoRandom<ui32>(); correctNumbers.push_back(randNum); @@ -112,7 +112,7 @@ Y_UNIT_TEST_SUITE(TPackedTest) { TBuffer buffer(65536); char* writePtr = buffer.Data(); - TVector<ui64> correctNumbers; + TVector<ui64> correctNumbers; for (size_t i = 0; i < 1000; ++i) { ui64 randNum = NPrivate::PseudoRandom<ui64>(); correctNumbers.push_back(randNum); |