aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.ru>2022-02-10 16:45:53 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:53 +0300
commit7353a3fdea9c67c256980c00a2b3b67f09b23a27 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util
parent2015790ac9fcc04caab83fccc23ab2460310a797 (diff)
downloadydb-7353a3fdea9c67c256980c00a2b3b67f09b23a27.tar.gz
Restoring authorship annotation for <snermolaev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/charset/wide_sse41.cpp24
-rw-r--r--util/charset/ya.make2
2 files changed, 13 insertions, 13 deletions
diff --git a/util/charset/wide_sse41.cpp b/util/charset/wide_sse41.cpp
index addbdd5652..d1f2a74851 100644
--- a/util/charset/wide_sse41.cpp
+++ b/util/charset/wide_sse41.cpp
@@ -1,17 +1,17 @@
#include <util/charset/wide.h>
-#include <util/system/types.h>
+#include <util/system/types.h>
-#ifdef SSE41_STUB
-
-namespace NDetail {
- void UTF8ToWideImplSSE41(const unsigned char*&, const unsigned char*, wchar16*&) noexcept {
- }
+#ifdef SSE41_STUB
+
+namespace NDetail {
+ void UTF8ToWideImplSSE41(const unsigned char*&, const unsigned char*, wchar16*&) noexcept {
+ }
void UTF8ToWideImplSSE41(const unsigned char*&, const unsigned char*, wchar32*&) noexcept {
}
-}
-
-#else
-
+}
+
+#else
+
#include <util/system/compiler.h>
#include <cstring>
@@ -243,5 +243,5 @@ namespace NDetail {
// Possible improvement: go back to the vectorized processing after the error or the 4 byte sequence
}
}
-
-#endif
+
+#endif
diff --git a/util/charset/ya.make b/util/charset/ya.make
index eeaf5518e7..26d38cb10b 100644
--- a/util/charset/ya.make
+++ b/util/charset/ya.make
@@ -20,7 +20,7 @@ JOIN_SRCS(
)
IF (ARCH_X86_64 AND NOT DISABLE_INSTRUCTION_SETS)
- SRC_CPP_SSE41(wide_sse41.cpp)
+ SRC_CPP_SSE41(wide_sse41.cpp)
ELSE()
SRC(
wide_sse41.cpp