diff options
author | solar <[email protected]> | 2022-02-10 16:49:59 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:59 +0300 |
commit | 2b7b1ea361eac9c59c4a56052d7292b3ed8829be (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/bit_io/bitinput_impl.h | |
parent | da648cf6f097dd42d968802dca7734c68ef57d67 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/bit_io/bitinput_impl.h')
-rw-r--r-- | library/cpp/bit_io/bitinput_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/bit_io/bitinput_impl.h b/library/cpp/bit_io/bitinput_impl.h index 693dc66f11b..b13fbef1012 100644 --- a/library/cpp/bit_io/bitinput_impl.h +++ b/library/cpp/bit_io/bitinput_impl.h @@ -43,8 +43,8 @@ namespace NBitIO { return false; } Start = FStart; - return true; - } + return true; + } Y_FORCE_INLINE bool ReadImpl(ui64& result, ui32 bits) { result = (ReadUnaligned<ui64>((const void*)(Start + (BOffset >> 3))) >> (BOffset & 7)) & MaskLowerBits(bits); @@ -67,7 +67,7 @@ namespace NBitIO { Y_FORCE_INLINE ui64 BitOffset() const { return BOffset; } - + Y_FORCE_INLINE bool Seek(i64 offset) { if (offset < 0 || offset > (i64)Length) return false; @@ -75,7 +75,7 @@ namespace NBitIO { Start = BOffset < FakeStart ? RealStart : FStart; return true; } - + protected: template <ui64 bits, typename T> Y_FORCE_INLINE static void CopyToResultK(T& result, ui64 r64, ui64 skipbits) { |