aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordskor <dskor@yandex-team.ru>2022-02-10 16:50:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:39 +0300
commitc08ffd39f8d501d97c1656f0ed2576aa04e47629 (patch)
tree757147ffc24ab7a68e2e6fcc0f484bdb2cae164a
parent094006ed2d00e01eadd1a4bfabe94c3118e769f7 (diff)
downloadydb-c08ffd39f8d501d97c1656f0ed2576aa04e47629.tar.gz
Restoring authorship annotation for <dskor@yandex-team.ru>. Commit 1 of 2.
-rw-r--r--library/cpp/containers/comptrie/comptrie_impl.h12
-rw-r--r--library/cpp/containers/comptrie/comptrie_ut.cpp38
-rw-r--r--library/cpp/containers/comptrie/key_selector.h8
3 files changed, 29 insertions, 29 deletions
diff --git a/library/cpp/containers/comptrie/comptrie_impl.h b/library/cpp/containers/comptrie/comptrie_impl.h
index f41c38311a..23cb31f5bb 100644
--- a/library/cpp/containers/comptrie/comptrie_impl.h
+++ b/library/cpp/containers/comptrie/comptrie_impl.h
@@ -66,12 +66,12 @@ namespace NCompTriePrivate {
struct TStringForChar<wchar16> {
typedef TUtf16String TResult;
};
-
- template <>
- struct TStringForChar<wchar32> {
- typedef TUtf32String TResult;
- };
-
+
+ template <>
+ struct TStringForChar<wchar32> {
+ typedef TUtf32String TResult;
+ };
+
}
namespace NCompTriePrivate {
diff --git a/library/cpp/containers/comptrie/comptrie_ut.cpp b/library/cpp/containers/comptrie/comptrie_ut.cpp
index 74bee09b5d..829b9d57ce 100644
--- a/library/cpp/containers/comptrie/comptrie_ut.cpp
+++ b/library/cpp/containers/comptrie/comptrie_ut.cpp
@@ -95,14 +95,14 @@ private:
UNIT_TEST(TestSearchIterChar);
UNIT_TEST(TestSearchIterWchar);
- UNIT_TEST(TestSearchIterWchar32)
+ UNIT_TEST(TestSearchIterWchar32)
UNIT_TEST(TestCopyAndAssignment);
UNIT_TEST(TestFirstSymbolIterator8);
UNIT_TEST(TestFirstSymbolIterator16);
UNIT_TEST(TestFirstSymbolIterator32);
- UNIT_TEST(TestFirstSymbolIteratorChar32);
+ UNIT_TEST(TestFirstSymbolIteratorChar32);
UNIT_TEST(TestArrayPacker);
@@ -232,14 +232,14 @@ public:
void TestSearchIterChar();
void TestSearchIterWchar();
- void TestSearchIterWchar32();
+ void TestSearchIterWchar32();
void TestCopyAndAssignment();
void TestFirstSymbolIterator8();
void TestFirstSymbolIterator16();
void TestFirstSymbolIterator32();
- void TestFirstSymbolIteratorChar32();
+ void TestFirstSymbolIteratorChar32();
void TestArrayPacker();
@@ -1307,13 +1307,13 @@ struct TConvertKey<wchar16> {
}
};
-template <>
-struct TConvertKey<wchar32> {
- static inline TUtf32String Convert(const TStringBuf& key) {
- return TUtf32String::FromUtf8(key);
- }
-};
-
+template <>
+struct TConvertKey<wchar32> {
+ static inline TUtf32String Convert(const TStringBuf& key) {
+ return TUtf32String::FromUtf8(key);
+ }
+};
+
template <class TSearchIter, class TKeyBuf>
static void MoveIter(TSearchIter& iter, const TKeyBuf& key) {
for (size_t i = 0; i < key.length(); ++i) {
@@ -1371,10 +1371,10 @@ void TCompactTrieTest::TestSearchIterWchar() {
TestSearchIterImpl<wchar16>();
}
-void TCompactTrieTest::TestSearchIterWchar32() {
- TestSearchIterImpl<wchar32>();
-}
-
+void TCompactTrieTest::TestSearchIterWchar32() {
+ TestSearchIterImpl<wchar32>();
+}
+
void TCompactTrieTest::TestCopyAndAssignment() {
TBufferOutput bufout;
typedef TCompactTrie<> TTrie;
@@ -1429,11 +1429,11 @@ void TCompactTrieTest::TestFirstSymbolIterator32() {
TestFirstSymbolIterator<ui32>();
}
-void TCompactTrieTest::TestFirstSymbolIteratorChar32() {
- TestFirstSymbolIterator<wchar32>();
-}
-
+void TCompactTrieTest::TestFirstSymbolIteratorChar32() {
+ TestFirstSymbolIterator<wchar32>();
+}
+
void TCompactTrieTest::TestArrayPacker() {
using TDataInt = std::array<int, 2>;
const std::pair<TString, TDataInt> dataXxx{"xxx", {{15, 16}}};
diff --git a/library/cpp/containers/comptrie/key_selector.h b/library/cpp/containers/comptrie/key_selector.h
index 60466cef71..9ad72ff836 100644
--- a/library/cpp/containers/comptrie/key_selector.h
+++ b/library/cpp/containers/comptrie/key_selector.h
@@ -23,7 +23,7 @@ struct TCompactTrieKeySelector<char>: public TCompactTrieCharKeySelector<char> {
template <>
struct TCompactTrieKeySelector<wchar16>: public TCompactTrieCharKeySelector<wchar16> {
};
-
-template <>
-struct TCompactTrieKeySelector<wchar32>: public TCompactTrieCharKeySelector<wchar32> {
-};
+
+template <>
+struct TCompactTrieKeySelector<wchar32>: public TCompactTrieCharKeySelector<wchar32> {
+};