aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/hyperscan/hyperscan.cpp
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/hyperscan/hyperscan.cpp
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/hyperscan/hyperscan.cpp')
-rw-r--r--library/cpp/regex/hyperscan/hyperscan.cpp32
1 files changed, 16 insertions, 16 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(