diff options
author | kmosienko <kmosienko@yandex-team.ru> | 2022-02-10 16:46:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:53 +0300 |
commit | b5a9a2b99dd4fa6005304f0f60f4005137f18cb3 (patch) | |
tree | d3e39606b032fa188ddbfb604e71fe8a5059bd12 /library/cpp/pop_count/popcount.cpp | |
parent | 469afdc4e2587bf62ecdd096b75a0baa444c4012 (diff) | |
download | ydb-b5a9a2b99dd4fa6005304f0f60f4005137f18cb3.tar.gz |
Restoring authorship annotation for <kmosienko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/pop_count/popcount.cpp')
-rw-r--r-- | library/cpp/pop_count/popcount.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/pop_count/popcount.cpp b/library/cpp/pop_count/popcount.cpp index 49276424be..4d34575ffb 100644 --- a/library/cpp/pop_count/popcount.cpp +++ b/library/cpp/pop_count/popcount.cpp @@ -1,8 +1,8 @@ #include "popcount.h" -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/system/yassert.h> - + #include <string.h> static const ui8 PopCountLUT8Impl[1 << 8] = { @@ -10,7 +10,7 @@ static const ui8 PopCountLUT8Impl[1 << 8] = { #define B4(n) B2(n), B2(n + 1), B2(n + 1), B2(n + 2) #define B6(n) B4(n), B4(n + 1), B4(n + 1), B4(n + 2) B6(0), B6(1), B6(1), B6(2)}; - + ui8 const* PopCountLUT8 = PopCountLUT8Impl; #if !defined(_MSC_VER) @@ -25,6 +25,6 @@ static const ui8 PopCountLUT16Impl[1 << 16] = { #define B12(n) B10(n), B10(n + 1), B10(n + 1), B10(n + 2) #define B14(n) B12(n), B12(n + 1), B12(n + 1), B12(n + 2) B14(0), B14(1), B14(1), B14(2)}; - + ui8 const* PopCountLUT16 = PopCountLUT16Impl; #endif |