diff options
author | babenko <babenko@yandex-team.ru> | 2022-02-10 16:49:19 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:19 +0300 |
commit | f31097c96270919a1f49360bdaaa69ea4f3fefab (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/coding/zig_zag.h | |
parent | cec37806d8847aa3db53bafc9e251d4aaf325c12 (diff) | |
download | ydb-f31097c96270919a1f49360bdaaa69ea4f3fefab.tar.gz |
Restoring authorship annotation for <babenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/coding/zig_zag.h')
-rw-r--r-- | library/cpp/yt/coding/zig_zag.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/yt/coding/zig_zag.h b/library/cpp/yt/coding/zig_zag.h index 19782704e7..aa6d425a1c 100644 --- a/library/cpp/yt/coding/zig_zag.h +++ b/library/cpp/yt/coding/zig_zag.h @@ -1,24 +1,24 @@ #pragma once -#include <util/system/types.h> +#include <util/system/types.h> namespace NYT { //////////////////////////////////////////////////////////////////////////////// -// These Functions provide coding of integers with property: 0 <= f(x) <= 2 * |x| -// Actually taken 'as is' from protobuf/wire_format_lite.h +// These Functions provide coding of integers with property: 0 <= f(x) <= 2 * |x| +// Actually taken 'as is' from protobuf/wire_format_lite.h -ui32 ZigZagEncode32(i32 n); -i32 ZigZagDecode32(ui32 n); +ui32 ZigZagEncode32(i32 n); +i32 ZigZagDecode32(ui32 n); -ui64 ZigZagEncode64(i64 n); -i64 ZigZagDecode64(ui64 n); +ui64 ZigZagEncode64(i64 n); +i64 ZigZagDecode64(ui64 n); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT - -#define ZIG_ZAG_INL_H_ -#include "zig_zag-inl.h" -#undef ZIG_ZAG_INL_H_ + +#define ZIG_ZAG_INL_H_ +#include "zig_zag-inl.h" +#undef ZIG_ZAG_INL_H_ |