aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/bit_io/bitoutput.h
diff options
context:
space:
mode:
authorbreakneck <breakneck@yandex-team.ru>2022-02-10 16:47:58 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:58 +0300
commitf860932520ce9bc8540a3c19e84c0109c3437dc5 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/bit_io/bitoutput.h
parente2021f9a0e54d13b7c48796318b13b66dc625e74 (diff)
downloadydb-f860932520ce9bc8540a3c19e84c0109c3437dc5.tar.gz
Restoring authorship annotation for <breakneck@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/bit_io/bitoutput.h')
-rw-r--r--library/cpp/bit_io/bitoutput.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/bit_io/bitoutput.h b/library/cpp/bit_io/bitoutput.h
index edadc5da0c..2b886c1f02 100644
--- a/library/cpp/bit_io/bitoutput.h
+++ b/library/cpp/bit_io/bitoutput.h
@@ -51,7 +51,7 @@ namespace NBitIO {
// interface
// Write "bits" lower bits.
- Y_FORCE_INLINE void Write(ui64 data, ui64 bits) {
+ Y_FORCE_INLINE void Write(ui64 data, ui64 bits) {
if (FreeBits < bits) {
if (FreeBits) {
bits -= FreeBits;
@@ -70,7 +70,7 @@ namespace NBitIO {
}
// Write "bits" lower bits starting from "skipbits" bit.
- Y_FORCE_INLINE void Write(ui64 data, ui64 bits, ui64 skipbits) {
+ Y_FORCE_INLINE void Write(ui64 data, ui64 bits, ui64 skipbits) {
Write(data >> skipbits, bits);
}
@@ -78,7 +78,7 @@ namespace NBitIO {
// Like this: (unsigned char)0x2E<3> (0000 0010 1110) <=> 1110 0101
// fddd fddd
template <ui64 bits>
- Y_FORCE_INLINE void WriteWords(ui64 data) {
+ Y_FORCE_INLINE void WriteWords(ui64 data) {
do {
ui64 part = data;
@@ -88,7 +88,7 @@ namespace NBitIO {
} while (data);
}
- Y_FORCE_INLINE ui64 /* padded bits */ Flush() {
+ Y_FORCE_INLINE ui64 /* padded bits */ Flush() {
const ui64 ubytes = 8ULL - (FreeBits >> 3ULL);
if (ubytes) {