diff options
| author | thegeorg <[email protected]> | 2022-02-10 16:45:12 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:12 +0300 | 
| commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
| tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/regex/hyperscan | |
| parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/hyperscan')
| -rw-r--r-- | library/cpp/regex/hyperscan/hyperscan.cpp | 32 | ||||
| -rw-r--r-- | library/cpp/regex/hyperscan/ut/ya.make | 10 | ||||
| -rw-r--r-- | library/cpp/regex/hyperscan/ya.make | 8 | 
3 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/regex/hyperscan/hyperscan.cpp b/library/cpp/regex/hyperscan/hyperscan.cpp index 749780d59f5..ba321f9c29c 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 8775c68bf2f..da67b88672a 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 3d8ef787f9a..e99130ae186 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(  | 
