(State s)
| 223 | } |
| 224 | |
| 225 | static int halfAvailable(State s) { |
| 226 | int limit = HALVES_CAPACITY; |
| 227 | if (s.endOfStreamReached != 0) { |
| 228 | limit = (s.tailBytes + (HALF_SIZE - 1)) >> LOG_HALF_SIZE; |
| 229 | } |
| 230 | return limit - s.halfOffset; |
| 231 | } |
| 232 | |
| 233 | static int copyRawBytes(State s, byte[] data, int offset, int length) { |
| 234 | int pos = offset; |
no outgoing calls
no test coverage detected