diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:10 +0300 |
commit | 1aeb9a455974457866f78722ad98114bafc84e8a (patch) | |
tree | e4340eaf1668684d83a0a58c36947c5def5350ad /contrib/libs/hyperscan/src/ue2common.h | |
parent | bd5ef432f5cfb1e18851381329d94665a4c22470 (diff) | |
download | ydb-1aeb9a455974457866f78722ad98114bafc84e8a.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/ue2common.h')
-rw-r--r-- | contrib/libs/hyperscan/src/ue2common.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/contrib/libs/hyperscan/src/ue2common.h b/contrib/libs/hyperscan/src/ue2common.h index 5705af7be4..a1e79f3588 100644 --- a/contrib/libs/hyperscan/src/ue2common.h +++ b/contrib/libs/hyperscan/src/ue2common.h @@ -52,9 +52,9 @@ #define ALIGN_ATTR(x) __attribute__((aligned((x)))) #endif -#define ALIGN_DIRECTIVE ALIGN_ATTR(16) -#define ALIGN_AVX_DIRECTIVE ALIGN_ATTR(32) -#define ALIGN_CL_DIRECTIVE ALIGN_ATTR(64) +#define ALIGN_DIRECTIVE ALIGN_ATTR(16) +#define ALIGN_AVX_DIRECTIVE ALIGN_ATTR(32) +#define ALIGN_CL_DIRECTIVE ALIGN_ATTR(64) typedef signed char s8; typedef unsigned char u8; @@ -194,24 +194,24 @@ typedef u32 ReportID; #define unlikely(x) __builtin_expect(!!(x), 0) #endif #else -#define likely(x) (x) -#define unlikely(x) (x) -#endif - -#if !defined(RELEASE_BUILD) || defined(DEBUG) -#ifdef _WIN32 -#define PATH_SEP '\\' -#else -#define PATH_SEP '/' -#endif -#endif - +#define likely(x) (x) +#define unlikely(x) (x) +#endif + +#if !defined(RELEASE_BUILD) || defined(DEBUG) +#ifdef _WIN32 +#define PATH_SEP '\\' +#else +#define PATH_SEP '/' +#endif +#endif + #if defined(DEBUG) && !defined(DEBUG_PRINTF) #include <string.h> #include <stdio.h> #define DEBUG_PRINTF(format, ...) printf("%s:%s:%d:" format, \ - strrchr(__FILE__, PATH_SEP) + 1, \ - __func__, __LINE__, ## __VA_ARGS__) + strrchr(__FILE__, PATH_SEP) + 1, \ + __func__, __LINE__, ## __VA_ARGS__) #elif !defined(DEBUG_PRINTF) #define DEBUG_PRINTF(format, ...) do { } while(0) #endif @@ -220,8 +220,8 @@ typedef u32 ReportID; #include <string.h> #include <stdio.h> #define ADEBUG_PRINTF(format, ...) printf("!%s:%s:%d:" format, \ - strrchr(__FILE__, PATH_SEP) + 1, \ - __func__, __LINE__, ## __VA_ARGS__) + strrchr(__FILE__, PATH_SEP) + 1, \ + __func__, __LINE__, ## __VA_ARGS__) #else #define ADEBUG_PRINTF(format, ...) do { } while(0) #endif |