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/crc32.c | |
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/crc32.c')
-rw-r--r-- | contrib/libs/hyperscan/src/crc32.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/hyperscan/src/crc32.c b/contrib/libs/hyperscan/src/crc32.c index 1dae47b4e9..7ecfeb855b 100644 --- a/contrib/libs/hyperscan/src/crc32.c +++ b/contrib/libs/hyperscan/src/crc32.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2017, Intel Corporation + * Copyright (c) 2015-2017, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -29,10 +29,10 @@ #include "crc32.h" #include "config.h" #include "ue2common.h" -#include "util/arch.h" -#include "util/intrinsics.h" +#include "util/arch.h" +#include "util/intrinsics.h" -#if !defined(HAVE_SSE42) +#if !defined(HAVE_SSE42) /*** *** What follows is derived from Intel's Slicing-by-8 CRC32 impl, which is BSD @@ -578,7 +578,7 @@ u32 crc32c_sb8_64_bit(u32 running_crc, const unsigned char* p_buf, return crc; } -#else // HAVE_SSE42 +#else // HAVE_SSE42 #ifdef ARCH_64_BIT #define CRC_WORD 8 @@ -634,7 +634,7 @@ u32 crc32c_sse42(u32 running_crc, const unsigned char* p_buf, // Externally visible function u32 Crc32c_ComputeBuf(u32 inCrc32, const void *buf, size_t bufLen) { -#if defined(HAVE_SSE42) +#if defined(HAVE_SSE42) u32 crc = crc32c_sse42(inCrc32, (const unsigned char *)buf, bufLen); #else u32 crc = crc32c_sb8_64_bit(inCrc32, (const unsigned char *)buf, bufLen); |