diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/containers/bitseq | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/bitseq')
-rw-r--r-- | library/cpp/containers/bitseq/bititerator_ut.cpp | 8 | ||||
-rw-r--r-- | library/cpp/containers/bitseq/bitvector.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/containers/bitseq/bititerator_ut.cpp b/library/cpp/containers/bitseq/bititerator_ut.cpp index ed0925866f..8669410f5d 100644 --- a/library/cpp/containers/bitseq/bititerator_ut.cpp +++ b/library/cpp/containers/bitseq/bititerator_ut.cpp @@ -4,8 +4,8 @@ #include <util/generic/vector.h> Y_UNIT_TEST_SUITE(TBitIteratorTest) { - TVector<ui16> GenWords() { - TVector<ui16> words(1, 0); + TVector<ui16> GenWords() { + TVector<ui16> words(1, 0); for (ui16 word = 1; word; ++word) words.push_back(word); return words; @@ -51,7 +51,7 @@ Y_UNIT_TEST_SUITE(TBitIteratorTest) { } Y_UNIT_TEST(TestForward) { - TVector<ui32> words; + TVector<ui32> words; words.push_back((1 << 10) | (1 << 20) | (1 << 25)); words.push_back(1 | (1 << 5) | (1 << 6) | (1 << 30)); for (int i = 0; i < 3; ++i) @@ -90,7 +90,7 @@ Y_UNIT_TEST_SUITE(TBitIteratorTest) { } Y_UNIT_TEST(TestUnalignedReadAndPeek) { - TVector<ui32> words; + TVector<ui32> words; words.push_back((1 << 10) | (1 << 20) | (1 << 25)); words.push_back(1 | (1 << 5) | (1 << 6) | (1 << 30)); for (int i = 0; i < 5; ++i) diff --git a/library/cpp/containers/bitseq/bitvector.h b/library/cpp/containers/bitseq/bitvector.h index 3f8fd81ee5..7485b9a072 100644 --- a/library/cpp/containers/bitseq/bitvector.h +++ b/library/cpp/containers/bitseq/bitvector.h @@ -19,7 +19,7 @@ public: private: friend class TReadonlyBitVector<T>; ui64 Size_; - TVector<TWord> Data_; + TVector<TWord> Data_; public: TBitVector() |