aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/bit_io/bitinput_impl.h
diff options
context:
space:
mode:
authorsolar <solar@yandex-team.ru>2022-02-10 16:49:59 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:59 +0300
commit2b7b1ea361eac9c59c4a56052d7292b3ed8829be (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/bit_io/bitinput_impl.h
parentda648cf6f097dd42d968802dca7734c68ef57d67 (diff)
downloadydb-2b7b1ea361eac9c59c4a56052d7292b3ed8829be.tar.gz
Restoring authorship annotation for <solar@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/bit_io/bitinput_impl.h')
-rw-r--r--library/cpp/bit_io/bitinput_impl.h8
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 693dc66f11..b13fbef101 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) {