aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /library/cpp/regex
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 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 ba321f9c29..749780d59f 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 da67b88672..8775c68bf2 100644
--- a/library/cpp/regex/hyperscan/ut/ya.make
+++ b/library/cpp/regex/hyperscan/ut/ya.make
@@ -1,9 +1,9 @@
-UNITTEST()
-
-PEERDIR(
- library/cpp/regex/hyperscan
-)
+UNITTEST()
+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 e99130ae18..3d8ef787f9 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 8776695f40..0d03b414e1 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()