diff options
| author | thegeorg <[email protected]> | 2022-02-10 16:45:08 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:08 +0300 | 
| commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
| tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /library/cpp/regex/hyperscan | |
| parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 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 ba321f9c29c..749780d59f5 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 da67b88672a..8775c68bf2f 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 e99130ae186..3d8ef787f9a 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(  | 
