diff options
author | Ruslan Kovalev <ruslan.a.kovalev@gmail.com> | 2022-02-10 16:46:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:45 +0300 |
commit | 9123176b341b6f2658cff5132482b8237c1416c8 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/packers/packers.cpp | |
parent | 59e19371de37995fcb36beb16cd6ec030af960bc (diff) | |
download | ydb-9123176b341b6f2658cff5132482b8237c1416c8.tar.gz |
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/packers/packers.cpp')
-rw-r--r-- | library/cpp/packers/packers.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/library/cpp/packers/packers.cpp b/library/cpp/packers/packers.cpp index 5b2e938573..54615a9e7f 100644 --- a/library/cpp/packers/packers.cpp +++ b/library/cpp/packers/packers.cpp @@ -1,20 +1,20 @@ -#include "packers.h" -#include "region_packer.h" - -namespace NPackers { -#define _X_4(X) X, X, X, X -#define _X_8(X) _X_4(X), _X_4(X) -#define _X_16(X) _X_8(X), _X_8(X) -#define _X_32(X) _X_16(X), _X_16(X) -#define _X_64(X) _X_32(X), _X_32(X) -#define _X_128(X) _X_64(X), _X_64(X) - +#include "packers.h" +#include "region_packer.h" + +namespace NPackers { +#define _X_4(X) X, X, X, X +#define _X_8(X) _X_4(X), _X_4(X) +#define _X_16(X) _X_8(X), _X_8(X) +#define _X_32(X) _X_16(X), _X_16(X) +#define _X_64(X) _X_32(X), _X_32(X) +#define _X_128(X) _X_64(X), _X_64(X) + const ui8 SkipTable[256] = {_X_128(1), _X_64(2), _X_32(3), _X_16(4), _X_8(5), _X_4(6), 7, 7, 8, 9}; - -#undef _X_4 -#undef _X_8 -#undef _X_16 -#undef _X_32 -#undef _X_64 -#undef _X_128 -} + +#undef _X_4 +#undef _X_8 +#undef _X_16 +#undef _X_32 +#undef _X_64 +#undef _X_128 +} |