| @@ 7035-7048 (lines=14) @@ | ||
| 7032 | break; |
|
| 7033 | } |
|
| 7034 | state.back = 0; |
|
| 7035 | for (;;) { |
|
| 7036 | here = state.lencode[hold & ((1 << state.lenbits) -1)]; /*BITS(state.lenbits)*/ |
|
| 7037 | here_bits = here >>> 24; |
|
| 7038 | here_op = (here >>> 16) & 0xff; |
|
| 7039 | here_val = here & 0xffff; |
|
| 7040 | ||
| 7041 | if (here_bits <= bits) { break; } |
|
| 7042 | //--- PULLBYTE() ---// |
|
| 7043 | if (have === 0) { break inf_leave; } |
|
| 7044 | have--; |
|
| 7045 | hold += input[next++] << bits; |
|
| 7046 | bits += 8; |
|
| 7047 | //---// |
|
| 7048 | } |
|
| 7049 | if (here_op && (here_op & 0xf0) === 0) { |
|
| 7050 | last_bits = here_bits; |
|
| 7051 | last_op = here_op; |
|
| @@ 6855-6868 (lines=14) @@ | ||
| 6852 | /* falls through */ |
|
| 6853 | case CODELENS: |
|
| 6854 | while (state.have < state.nlen + state.ndist) { |
|
| 6855 | for (;;) { |
|
| 6856 | here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/ |
|
| 6857 | here_bits = here >>> 24; |
|
| 6858 | here_op = (here >>> 16) & 0xff; |
|
| 6859 | here_val = here & 0xffff; |
|
| 6860 | ||
| 6861 | if ((here_bits) <= bits) { break; } |
|
| 6862 | //--- PULLBYTE() ---// |
|
| 6863 | if (have === 0) { break inf_leave; } |
|
| 6864 | have--; |
|
| 6865 | hold += input[next++] << bits; |
|
| 6866 | bits += 8; |
|
| 6867 | //---// |
|
| 6868 | } |
|
| 6869 | if (here_val < 16) { |
|
| 6870 | //--- DROPBITS(here.bits) ---// |
|
| 6871 | hold >>>= here_bits; |
|