aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/regex
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex')
-rw-r--r--library/cpp/regex/hyperscan/hyperscan.cpp32
-rw-r--r--library/cpp/regex/hyperscan/ut/ya.make10
-rw-r--r--library/cpp/regex/hyperscan/ya.make8
-rw-r--r--library/cpp/regex/pire/ut/ya.make2
4 files changed, 26 insertions, 26 deletions
diff --git a/library/cpp/regex/hyperscan/hyperscan.cpp b/library/cpp/regex/hyperscan/hyperscan.cpp
index 749780d59f..ba321f9c29 100644
--- a/library/cpp/regex/hyperscan/hyperscan.cpp
+++ b/library/cpp/regex/hyperscan/hyperscan.cpp
@@ -1,13 +1,13 @@
#include "hyperscan.h"
-#include <contrib/libs/hyperscan/runtime_core2/hs_common.h>
-#include <contrib/libs/hyperscan/runtime_core2/hs_runtime.h>
-#include <contrib/libs/hyperscan/runtime_corei7/hs_common.h>
-#include <contrib/libs/hyperscan/runtime_corei7/hs_runtime.h>
-#include <contrib/libs/hyperscan/runtime_avx2/hs_common.h>
-#include <contrib/libs/hyperscan/runtime_avx2/hs_runtime.h>
-#include <contrib/libs/hyperscan/runtime_avx512/hs_common.h>
-#include <contrib/libs/hyperscan/runtime_avx512/hs_runtime.h>
+#include <contrib/libs/hyperscan/runtime_core2/hs_common.h>
+#include <contrib/libs/hyperscan/runtime_core2/hs_runtime.h>
+#include <contrib/libs/hyperscan/runtime_corei7/hs_common.h>
+#include <contrib/libs/hyperscan/runtime_corei7/hs_runtime.h>
+#include <contrib/libs/hyperscan/runtime_avx2/hs_common.h>
+#include <contrib/libs/hyperscan/runtime_avx2/hs_runtime.h>
+#include <contrib/libs/hyperscan/runtime_avx512/hs_common.h>
+#include <contrib/libs/hyperscan/runtime_avx512/hs_runtime.h>
#include <util/generic/singleton.h>
@@ -49,10 +49,10 @@ namespace NHyperscan {
return platformInfo;
}
- hs_platform_info_t MakeCurrentPlatformInfo() {
- return MakePlatformInfo(RuntimeCpuFeatures(DetectCurrentRuntime()));
- }
-
+ hs_platform_info_t MakeCurrentPlatformInfo() {
+ return MakePlatformInfo(RuntimeCpuFeatures(DetectCurrentRuntime()));
+ }
+
TImpl::TImpl(ERuntime runtime) {
switch (runtime) {
default:
@@ -179,8 +179,8 @@ namespace NHyperscan {
} // namespace NPrivate
TDatabase Compile(const TStringBuf& regex, unsigned int flags) {
- auto platformInfo = NPrivate::MakeCurrentPlatformInfo();
- return NPrivate::Compile(regex, flags, &platformInfo);
+ auto platformInfo = NPrivate::MakeCurrentPlatformInfo();
+ return NPrivate::Compile(regex, flags, &platformInfo);
}
TDatabase Compile(const TStringBuf& regex, unsigned int flags, TCPUFeatures cpuFeatures) {
@@ -194,8 +194,8 @@ namespace NHyperscan {
const TVector<unsigned int>& ids,
const TVector<const hs_expr_ext_t*>* extendedParameters)
{
- auto platformInfo = NPrivate::MakeCurrentPlatformInfo();
- return NPrivate::CompileMulti(regexs, flags, ids, &platformInfo, extendedParameters);
+ auto platformInfo = NPrivate::MakeCurrentPlatformInfo();
+ return NPrivate::CompileMulti(regexs, flags, ids, &platformInfo, extendedParameters);
}
TDatabase CompileMulti(
diff --git a/library/cpp/regex/hyperscan/ut/ya.make b/library/cpp/regex/hyperscan/ut/ya.make
index 8775c68bf2..da67b88672 100644
--- a/library/cpp/regex/hyperscan/ut/ya.make
+++ b/library/cpp/regex/hyperscan/ut/ya.make
@@ -1,9 +1,9 @@
-UNITTEST()
+UNITTEST()
+
+PEERDIR(
+ library/cpp/regex/hyperscan
+)
-PEERDIR(
- library/cpp/regex/hyperscan
-)
-
OWNER(g:antiinfra)
SRCS(
diff --git a/library/cpp/regex/hyperscan/ya.make b/library/cpp/regex/hyperscan/ya.make
index 3d8ef787f9..e99130ae18 100644
--- a/library/cpp/regex/hyperscan/ya.make
+++ b/library/cpp/regex/hyperscan/ya.make
@@ -4,10 +4,10 @@ OWNER(g:antiinfra)
PEERDIR(
contrib/libs/hyperscan
- contrib/libs/hyperscan/runtime_core2
- contrib/libs/hyperscan/runtime_corei7
- contrib/libs/hyperscan/runtime_avx2
- contrib/libs/hyperscan/runtime_avx512
+ contrib/libs/hyperscan/runtime_core2
+ contrib/libs/hyperscan/runtime_corei7
+ contrib/libs/hyperscan/runtime_avx2
+ contrib/libs/hyperscan/runtime_avx512
)
SRCS(
diff --git a/library/cpp/regex/pire/ut/ya.make b/library/cpp/regex/pire/ut/ya.make
index 0d03b414e1..8776695f40 100644
--- a/library/cpp/regex/pire/ut/ya.make
+++ b/library/cpp/regex/pire/ut/ya.make
@@ -39,6 +39,6 @@ SIZE(MEDIUM)
TIMEOUT(600)
-PIRE_INLINE(inline_ut.cpp)
+PIRE_INLINE(inline_ut.cpp)
END()