(State s)
| 126 | } |
| 127 | |
| 128 | static void doFillBitWindow(State s) { |
| 129 | if (BIT_READER_DEBUG != 0) { |
| 130 | assertAccumulatorHealthy(s); |
| 131 | } |
| 132 | if (BITNESS == 64) { |
| 133 | s.accumulator64 = ((long) s.intBuffer[s.halfOffset++] << HALF_BITNESS) |
| 134 | | Utils.shr64(s.accumulator64, HALF_BITNESS); |
| 135 | } else { |
| 136 | s.accumulator32 = ((int) s.shortBuffer[s.halfOffset++] << HALF_BITNESS) |
| 137 | | Utils.shr32(s.accumulator32, HALF_BITNESS); |
| 138 | } |
| 139 | s.bitOffset -= HALF_BITNESS; |
| 140 | } |
| 141 | |
| 142 | static int peekBits(State s) { |
| 143 | if (BITNESS == 64) { |
no test coverage detected