lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject svn commit: r1379479 [7/12] - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/
Date Fri, 31 Aug 2012 15:32:30 GMT
Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/BulkOperationPacked21.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/BulkOperationPacked21.java?rev=1379479&r1=1379478&r2=1379479&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/BulkOperationPacked21.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/BulkOperationPacked21.java Fri Aug 31 15:32:29 2012
@@ -24,676 +24,262 @@ package org.apache.lucene.util.packed;
  */
 final class BulkOperationPacked21 extends BulkOperationPacked {
 
-    public BulkOperationPacked21() {
-      super(21);
-      assert blockCount() == 21;
-      assert valueCount() == 64;
-    }
+  public BulkOperationPacked21() {
+    super(21);
+    assert blockCount() == 21;
+    assert valueCount() == 64;
+  }
 
-    @Override
-    public void decode(long[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {
-      assert blocksOffset + iterations * blockCount() <= blocks.length;
-      assert valuesOffset + iterations * valueCount() <= values.length;
-      for (int i = 0; i < iterations; ++i) {
-        final long block0 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (block0 >>> 43);
-        values[valuesOffset++] = (int) ((block0 >>> 22) & 2097151L);
-        values[valuesOffset++] = (int) ((block0 >>> 1) & 2097151L);
-        final long block1 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block0 & 1L) << 20) | (block1 >>> 44));
-        values[valuesOffset++] = (int) ((block1 >>> 23) & 2097151L);
-        values[valuesOffset++] = (int) ((block1 >>> 2) & 2097151L);
-        final long block2 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block1 & 3L) << 19) | (block2 >>> 45));
-        values[valuesOffset++] = (int) ((block2 >>> 24) & 2097151L);
-        values[valuesOffset++] = (int) ((block2 >>> 3) & 2097151L);
-        final long block3 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block2 & 7L) << 18) | (block3 >>> 46));
-        values[valuesOffset++] = (int) ((block3 >>> 25) & 2097151L);
-        values[valuesOffset++] = (int) ((block3 >>> 4) & 2097151L);
-        final long block4 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block3 & 15L) << 17) | (block4 >>> 47));
-        values[valuesOffset++] = (int) ((block4 >>> 26) & 2097151L);
-        values[valuesOffset++] = (int) ((block4 >>> 5) & 2097151L);
-        final long block5 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block4 & 31L) << 16) | (block5 >>> 48));
-        values[valuesOffset++] = (int) ((block5 >>> 27) & 2097151L);
-        values[valuesOffset++] = (int) ((block5 >>> 6) & 2097151L);
-        final long block6 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block5 & 63L) << 15) | (block6 >>> 49));
-        values[valuesOffset++] = (int) ((block6 >>> 28) & 2097151L);
-        values[valuesOffset++] = (int) ((block6 >>> 7) & 2097151L);
-        final long block7 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block6 & 127L) << 14) | (block7 >>> 50));
-        values[valuesOffset++] = (int) ((block7 >>> 29) & 2097151L);
-        values[valuesOffset++] = (int) ((block7 >>> 8) & 2097151L);
-        final long block8 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block7 & 255L) << 13) | (block8 >>> 51));
-        values[valuesOffset++] = (int) ((block8 >>> 30) & 2097151L);
-        values[valuesOffset++] = (int) ((block8 >>> 9) & 2097151L);
-        final long block9 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block8 & 511L) << 12) | (block9 >>> 52));
-        values[valuesOffset++] = (int) ((block9 >>> 31) & 2097151L);
-        values[valuesOffset++] = (int) ((block9 >>> 10) & 2097151L);
-        final long block10 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block9 & 1023L) << 11) | (block10 >>> 53));
-        values[valuesOffset++] = (int) ((block10 >>> 32) & 2097151L);
-        values[valuesOffset++] = (int) ((block10 >>> 11) & 2097151L);
-        final long block11 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block10 & 2047L) << 10) | (block11 >>> 54));
-        values[valuesOffset++] = (int) ((block11 >>> 33) & 2097151L);
-        values[valuesOffset++] = (int) ((block11 >>> 12) & 2097151L);
-        final long block12 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block11 & 4095L) << 9) | (block12 >>> 55));
-        values[valuesOffset++] = (int) ((block12 >>> 34) & 2097151L);
-        values[valuesOffset++] = (int) ((block12 >>> 13) & 2097151L);
-        final long block13 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block12 & 8191L) << 8) | (block13 >>> 56));
-        values[valuesOffset++] = (int) ((block13 >>> 35) & 2097151L);
-        values[valuesOffset++] = (int) ((block13 >>> 14) & 2097151L);
-        final long block14 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block13 & 16383L) << 7) | (block14 >>> 57));
-        values[valuesOffset++] = (int) ((block14 >>> 36) & 2097151L);
-        values[valuesOffset++] = (int) ((block14 >>> 15) & 2097151L);
-        final long block15 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block14 & 32767L) << 6) | (block15 >>> 58));
-        values[valuesOffset++] = (int) ((block15 >>> 37) & 2097151L);
-        values[valuesOffset++] = (int) ((block15 >>> 16) & 2097151L);
-        final long block16 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block15 & 65535L) << 5) | (block16 >>> 59));
-        values[valuesOffset++] = (int) ((block16 >>> 38) & 2097151L);
-        values[valuesOffset++] = (int) ((block16 >>> 17) & 2097151L);
-        final long block17 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block16 & 131071L) << 4) | (block17 >>> 60));
-        values[valuesOffset++] = (int) ((block17 >>> 39) & 2097151L);
-        values[valuesOffset++] = (int) ((block17 >>> 18) & 2097151L);
-        final long block18 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block17 & 262143L) << 3) | (block18 >>> 61));
-        values[valuesOffset++] = (int) ((block18 >>> 40) & 2097151L);
-        values[valuesOffset++] = (int) ((block18 >>> 19) & 2097151L);
-        final long block19 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block18 & 524287L) << 2) | (block19 >>> 62));
-        values[valuesOffset++] = (int) ((block19 >>> 41) & 2097151L);
-        values[valuesOffset++] = (int) ((block19 >>> 20) & 2097151L);
-        final long block20 = blocks[blocksOffset++];
-        values[valuesOffset++] = (int) (((block19 & 1048575L) << 1) | (block20 >>> 63));
-        values[valuesOffset++] = (int) ((block20 >>> 42) & 2097151L);
-        values[valuesOffset++] = (int) ((block20 >>> 21) & 2097151L);
-        values[valuesOffset++] = (int) (block20 & 2097151L);
-      }
+  @Override
+  public void decode(long[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {
+    for (int i = 0; i < iterations; ++i) {
+      final long block0 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (block0 >>> 43);
+      values[valuesOffset++] = (int) ((block0 >>> 22) & 2097151L);
+      values[valuesOffset++] = (int) ((block0 >>> 1) & 2097151L);
+      final long block1 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block0 & 1L) << 20) | (block1 >>> 44));
+      values[valuesOffset++] = (int) ((block1 >>> 23) & 2097151L);
+      values[valuesOffset++] = (int) ((block1 >>> 2) & 2097151L);
+      final long block2 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block1 & 3L) << 19) | (block2 >>> 45));
+      values[valuesOffset++] = (int) ((block2 >>> 24) & 2097151L);
+      values[valuesOffset++] = (int) ((block2 >>> 3) & 2097151L);
+      final long block3 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block2 & 7L) << 18) | (block3 >>> 46));
+      values[valuesOffset++] = (int) ((block3 >>> 25) & 2097151L);
+      values[valuesOffset++] = (int) ((block3 >>> 4) & 2097151L);
+      final long block4 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block3 & 15L) << 17) | (block4 >>> 47));
+      values[valuesOffset++] = (int) ((block4 >>> 26) & 2097151L);
+      values[valuesOffset++] = (int) ((block4 >>> 5) & 2097151L);
+      final long block5 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block4 & 31L) << 16) | (block5 >>> 48));
+      values[valuesOffset++] = (int) ((block5 >>> 27) & 2097151L);
+      values[valuesOffset++] = (int) ((block5 >>> 6) & 2097151L);
+      final long block6 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block5 & 63L) << 15) | (block6 >>> 49));
+      values[valuesOffset++] = (int) ((block6 >>> 28) & 2097151L);
+      values[valuesOffset++] = (int) ((block6 >>> 7) & 2097151L);
+      final long block7 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block6 & 127L) << 14) | (block7 >>> 50));
+      values[valuesOffset++] = (int) ((block7 >>> 29) & 2097151L);
+      values[valuesOffset++] = (int) ((block7 >>> 8) & 2097151L);
+      final long block8 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block7 & 255L) << 13) | (block8 >>> 51));
+      values[valuesOffset++] = (int) ((block8 >>> 30) & 2097151L);
+      values[valuesOffset++] = (int) ((block8 >>> 9) & 2097151L);
+      final long block9 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block8 & 511L) << 12) | (block9 >>> 52));
+      values[valuesOffset++] = (int) ((block9 >>> 31) & 2097151L);
+      values[valuesOffset++] = (int) ((block9 >>> 10) & 2097151L);
+      final long block10 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block9 & 1023L) << 11) | (block10 >>> 53));
+      values[valuesOffset++] = (int) ((block10 >>> 32) & 2097151L);
+      values[valuesOffset++] = (int) ((block10 >>> 11) & 2097151L);
+      final long block11 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block10 & 2047L) << 10) | (block11 >>> 54));
+      values[valuesOffset++] = (int) ((block11 >>> 33) & 2097151L);
+      values[valuesOffset++] = (int) ((block11 >>> 12) & 2097151L);
+      final long block12 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block11 & 4095L) << 9) | (block12 >>> 55));
+      values[valuesOffset++] = (int) ((block12 >>> 34) & 2097151L);
+      values[valuesOffset++] = (int) ((block12 >>> 13) & 2097151L);
+      final long block13 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block12 & 8191L) << 8) | (block13 >>> 56));
+      values[valuesOffset++] = (int) ((block13 >>> 35) & 2097151L);
+      values[valuesOffset++] = (int) ((block13 >>> 14) & 2097151L);
+      final long block14 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block13 & 16383L) << 7) | (block14 >>> 57));
+      values[valuesOffset++] = (int) ((block14 >>> 36) & 2097151L);
+      values[valuesOffset++] = (int) ((block14 >>> 15) & 2097151L);
+      final long block15 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block14 & 32767L) << 6) | (block15 >>> 58));
+      values[valuesOffset++] = (int) ((block15 >>> 37) & 2097151L);
+      values[valuesOffset++] = (int) ((block15 >>> 16) & 2097151L);
+      final long block16 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block15 & 65535L) << 5) | (block16 >>> 59));
+      values[valuesOffset++] = (int) ((block16 >>> 38) & 2097151L);
+      values[valuesOffset++] = (int) ((block16 >>> 17) & 2097151L);
+      final long block17 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block16 & 131071L) << 4) | (block17 >>> 60));
+      values[valuesOffset++] = (int) ((block17 >>> 39) & 2097151L);
+      values[valuesOffset++] = (int) ((block17 >>> 18) & 2097151L);
+      final long block18 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block17 & 262143L) << 3) | (block18 >>> 61));
+      values[valuesOffset++] = (int) ((block18 >>> 40) & 2097151L);
+      values[valuesOffset++] = (int) ((block18 >>> 19) & 2097151L);
+      final long block19 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block18 & 524287L) << 2) | (block19 >>> 62));
+      values[valuesOffset++] = (int) ((block19 >>> 41) & 2097151L);
+      values[valuesOffset++] = (int) ((block19 >>> 20) & 2097151L);
+      final long block20 = blocks[blocksOffset++];
+      values[valuesOffset++] = (int) (((block19 & 1048575L) << 1) | (block20 >>> 63));
+      values[valuesOffset++] = (int) ((block20 >>> 42) & 2097151L);
+      values[valuesOffset++] = (int) ((block20 >>> 21) & 2097151L);
+      values[valuesOffset++] = (int) (block20 & 2097151L);
     }
+  }
 
-    @Override
-    public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {
-      assert blocksOffset + 8 * iterations * blockCount() <= blocks.length;
-      assert valuesOffset + iterations * valueCount() <= values.length;
-      for (int i = 0; i < iterations; ++i) {
-        final int byte0 = blocks[blocksOffset++] & 0xFF;
-        final int byte1 = blocks[blocksOffset++] & 0xFF;
-        final int byte2 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte0 << 13) | (byte1 << 5) | (byte2 >>> 3);
-        final int byte3 = blocks[blocksOffset++] & 0xFF;
-        final int byte4 = blocks[blocksOffset++] & 0xFF;
-        final int byte5 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte2 & 7) << 18) | (byte3 << 10) | (byte4 << 2) | (byte5 >>> 6);
-        final int byte6 = blocks[blocksOffset++] & 0xFF;
-        final int byte7 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte5 & 63) << 15) | (byte6 << 7) | (byte7 >>> 1);
-        final int byte8 = blocks[blocksOffset++] & 0xFF;
-        final int byte9 = blocks[blocksOffset++] & 0xFF;
-        final int byte10 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte7 & 1) << 20) | (byte8 << 12) | (byte9 << 4) | (byte10 >>> 4);
-        final int byte11 = blocks[blocksOffset++] & 0xFF;
-        final int byte12 = blocks[blocksOffset++] & 0xFF;
-        final int byte13 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte10 & 15) << 17) | (byte11 << 9) | (byte12 << 1) | (byte13 >>> 7);
-        final int byte14 = blocks[blocksOffset++] & 0xFF;
-        final int byte15 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte13 & 127) << 14) | (byte14 << 6) | (byte15 >>> 2);
-        final int byte16 = blocks[blocksOffset++] & 0xFF;
-        final int byte17 = blocks[blocksOffset++] & 0xFF;
-        final int byte18 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte15 & 3) << 19) | (byte16 << 11) | (byte17 << 3) | (byte18 >>> 5);
-        final int byte19 = blocks[blocksOffset++] & 0xFF;
-        final int byte20 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte18 & 31) << 16) | (byte19 << 8) | byte20;
-        final int byte21 = blocks[blocksOffset++] & 0xFF;
-        final int byte22 = blocks[blocksOffset++] & 0xFF;
-        final int byte23 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte21 << 13) | (byte22 << 5) | (byte23 >>> 3);
-        final int byte24 = blocks[blocksOffset++] & 0xFF;
-        final int byte25 = blocks[blocksOffset++] & 0xFF;
-        final int byte26 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte23 & 7) << 18) | (byte24 << 10) | (byte25 << 2) | (byte26 >>> 6);
-        final int byte27 = blocks[blocksOffset++] & 0xFF;
-        final int byte28 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte26 & 63) << 15) | (byte27 << 7) | (byte28 >>> 1);
-        final int byte29 = blocks[blocksOffset++] & 0xFF;
-        final int byte30 = blocks[blocksOffset++] & 0xFF;
-        final int byte31 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte28 & 1) << 20) | (byte29 << 12) | (byte30 << 4) | (byte31 >>> 4);
-        final int byte32 = blocks[blocksOffset++] & 0xFF;
-        final int byte33 = blocks[blocksOffset++] & 0xFF;
-        final int byte34 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte31 & 15) << 17) | (byte32 << 9) | (byte33 << 1) | (byte34 >>> 7);
-        final int byte35 = blocks[blocksOffset++] & 0xFF;
-        final int byte36 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte34 & 127) << 14) | (byte35 << 6) | (byte36 >>> 2);
-        final int byte37 = blocks[blocksOffset++] & 0xFF;
-        final int byte38 = blocks[blocksOffset++] & 0xFF;
-        final int byte39 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte36 & 3) << 19) | (byte37 << 11) | (byte38 << 3) | (byte39 >>> 5);
-        final int byte40 = blocks[blocksOffset++] & 0xFF;
-        final int byte41 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte39 & 31) << 16) | (byte40 << 8) | byte41;
-        final int byte42 = blocks[blocksOffset++] & 0xFF;
-        final int byte43 = blocks[blocksOffset++] & 0xFF;
-        final int byte44 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte42 << 13) | (byte43 << 5) | (byte44 >>> 3);
-        final int byte45 = blocks[blocksOffset++] & 0xFF;
-        final int byte46 = blocks[blocksOffset++] & 0xFF;
-        final int byte47 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte44 & 7) << 18) | (byte45 << 10) | (byte46 << 2) | (byte47 >>> 6);
-        final int byte48 = blocks[blocksOffset++] & 0xFF;
-        final int byte49 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte47 & 63) << 15) | (byte48 << 7) | (byte49 >>> 1);
-        final int byte50 = blocks[blocksOffset++] & 0xFF;
-        final int byte51 = blocks[blocksOffset++] & 0xFF;
-        final int byte52 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte49 & 1) << 20) | (byte50 << 12) | (byte51 << 4) | (byte52 >>> 4);
-        final int byte53 = blocks[blocksOffset++] & 0xFF;
-        final int byte54 = blocks[blocksOffset++] & 0xFF;
-        final int byte55 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte52 & 15) << 17) | (byte53 << 9) | (byte54 << 1) | (byte55 >>> 7);
-        final int byte56 = blocks[blocksOffset++] & 0xFF;
-        final int byte57 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte55 & 127) << 14) | (byte56 << 6) | (byte57 >>> 2);
-        final int byte58 = blocks[blocksOffset++] & 0xFF;
-        final int byte59 = blocks[blocksOffset++] & 0xFF;
-        final int byte60 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte57 & 3) << 19) | (byte58 << 11) | (byte59 << 3) | (byte60 >>> 5);
-        final int byte61 = blocks[blocksOffset++] & 0xFF;
-        final int byte62 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte60 & 31) << 16) | (byte61 << 8) | byte62;
-        final int byte63 = blocks[blocksOffset++] & 0xFF;
-        final int byte64 = blocks[blocksOffset++] & 0xFF;
-        final int byte65 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte63 << 13) | (byte64 << 5) | (byte65 >>> 3);
-        final int byte66 = blocks[blocksOffset++] & 0xFF;
-        final int byte67 = blocks[blocksOffset++] & 0xFF;
-        final int byte68 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte65 & 7) << 18) | (byte66 << 10) | (byte67 << 2) | (byte68 >>> 6);
-        final int byte69 = blocks[blocksOffset++] & 0xFF;
-        final int byte70 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte68 & 63) << 15) | (byte69 << 7) | (byte70 >>> 1);
-        final int byte71 = blocks[blocksOffset++] & 0xFF;
-        final int byte72 = blocks[blocksOffset++] & 0xFF;
-        final int byte73 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte70 & 1) << 20) | (byte71 << 12) | (byte72 << 4) | (byte73 >>> 4);
-        final int byte74 = blocks[blocksOffset++] & 0xFF;
-        final int byte75 = blocks[blocksOffset++] & 0xFF;
-        final int byte76 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte73 & 15) << 17) | (byte74 << 9) | (byte75 << 1) | (byte76 >>> 7);
-        final int byte77 = blocks[blocksOffset++] & 0xFF;
-        final int byte78 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte76 & 127) << 14) | (byte77 << 6) | (byte78 >>> 2);
-        final int byte79 = blocks[blocksOffset++] & 0xFF;
-        final int byte80 = blocks[blocksOffset++] & 0xFF;
-        final int byte81 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte78 & 3) << 19) | (byte79 << 11) | (byte80 << 3) | (byte81 >>> 5);
-        final int byte82 = blocks[blocksOffset++] & 0xFF;
-        final int byte83 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte81 & 31) << 16) | (byte82 << 8) | byte83;
-        final int byte84 = blocks[blocksOffset++] & 0xFF;
-        final int byte85 = blocks[blocksOffset++] & 0xFF;
-        final int byte86 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte84 << 13) | (byte85 << 5) | (byte86 >>> 3);
-        final int byte87 = blocks[blocksOffset++] & 0xFF;
-        final int byte88 = blocks[blocksOffset++] & 0xFF;
-        final int byte89 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte86 & 7) << 18) | (byte87 << 10) | (byte88 << 2) | (byte89 >>> 6);
-        final int byte90 = blocks[blocksOffset++] & 0xFF;
-        final int byte91 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte89 & 63) << 15) | (byte90 << 7) | (byte91 >>> 1);
-        final int byte92 = blocks[blocksOffset++] & 0xFF;
-        final int byte93 = blocks[blocksOffset++] & 0xFF;
-        final int byte94 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte91 & 1) << 20) | (byte92 << 12) | (byte93 << 4) | (byte94 >>> 4);
-        final int byte95 = blocks[blocksOffset++] & 0xFF;
-        final int byte96 = blocks[blocksOffset++] & 0xFF;
-        final int byte97 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte94 & 15) << 17) | (byte95 << 9) | (byte96 << 1) | (byte97 >>> 7);
-        final int byte98 = blocks[blocksOffset++] & 0xFF;
-        final int byte99 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte97 & 127) << 14) | (byte98 << 6) | (byte99 >>> 2);
-        final int byte100 = blocks[blocksOffset++] & 0xFF;
-        final int byte101 = blocks[blocksOffset++] & 0xFF;
-        final int byte102 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte99 & 3) << 19) | (byte100 << 11) | (byte101 << 3) | (byte102 >>> 5);
-        final int byte103 = blocks[blocksOffset++] & 0xFF;
-        final int byte104 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte102 & 31) << 16) | (byte103 << 8) | byte104;
-        final int byte105 = blocks[blocksOffset++] & 0xFF;
-        final int byte106 = blocks[blocksOffset++] & 0xFF;
-        final int byte107 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte105 << 13) | (byte106 << 5) | (byte107 >>> 3);
-        final int byte108 = blocks[blocksOffset++] & 0xFF;
-        final int byte109 = blocks[blocksOffset++] & 0xFF;
-        final int byte110 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte107 & 7) << 18) | (byte108 << 10) | (byte109 << 2) | (byte110 >>> 6);
-        final int byte111 = blocks[blocksOffset++] & 0xFF;
-        final int byte112 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte110 & 63) << 15) | (byte111 << 7) | (byte112 >>> 1);
-        final int byte113 = blocks[blocksOffset++] & 0xFF;
-        final int byte114 = blocks[blocksOffset++] & 0xFF;
-        final int byte115 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte112 & 1) << 20) | (byte113 << 12) | (byte114 << 4) | (byte115 >>> 4);
-        final int byte116 = blocks[blocksOffset++] & 0xFF;
-        final int byte117 = blocks[blocksOffset++] & 0xFF;
-        final int byte118 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte115 & 15) << 17) | (byte116 << 9) | (byte117 << 1) | (byte118 >>> 7);
-        final int byte119 = blocks[blocksOffset++] & 0xFF;
-        final int byte120 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte118 & 127) << 14) | (byte119 << 6) | (byte120 >>> 2);
-        final int byte121 = blocks[blocksOffset++] & 0xFF;
-        final int byte122 = blocks[blocksOffset++] & 0xFF;
-        final int byte123 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte120 & 3) << 19) | (byte121 << 11) | (byte122 << 3) | (byte123 >>> 5);
-        final int byte124 = blocks[blocksOffset++] & 0xFF;
-        final int byte125 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte123 & 31) << 16) | (byte124 << 8) | byte125;
-        final int byte126 = blocks[blocksOffset++] & 0xFF;
-        final int byte127 = blocks[blocksOffset++] & 0xFF;
-        final int byte128 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte126 << 13) | (byte127 << 5) | (byte128 >>> 3);
-        final int byte129 = blocks[blocksOffset++] & 0xFF;
-        final int byte130 = blocks[blocksOffset++] & 0xFF;
-        final int byte131 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte128 & 7) << 18) | (byte129 << 10) | (byte130 << 2) | (byte131 >>> 6);
-        final int byte132 = blocks[blocksOffset++] & 0xFF;
-        final int byte133 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte131 & 63) << 15) | (byte132 << 7) | (byte133 >>> 1);
-        final int byte134 = blocks[blocksOffset++] & 0xFF;
-        final int byte135 = blocks[blocksOffset++] & 0xFF;
-        final int byte136 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte133 & 1) << 20) | (byte134 << 12) | (byte135 << 4) | (byte136 >>> 4);
-        final int byte137 = blocks[blocksOffset++] & 0xFF;
-        final int byte138 = blocks[blocksOffset++] & 0xFF;
-        final int byte139 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte136 & 15) << 17) | (byte137 << 9) | (byte138 << 1) | (byte139 >>> 7);
-        final int byte140 = blocks[blocksOffset++] & 0xFF;
-        final int byte141 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte139 & 127) << 14) | (byte140 << 6) | (byte141 >>> 2);
-        final int byte142 = blocks[blocksOffset++] & 0xFF;
-        final int byte143 = blocks[blocksOffset++] & 0xFF;
-        final int byte144 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte141 & 3) << 19) | (byte142 << 11) | (byte143 << 3) | (byte144 >>> 5);
-        final int byte145 = blocks[blocksOffset++] & 0xFF;
-        final int byte146 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte144 & 31) << 16) | (byte145 << 8) | byte146;
-        final int byte147 = blocks[blocksOffset++] & 0xFF;
-        final int byte148 = blocks[blocksOffset++] & 0xFF;
-        final int byte149 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte147 << 13) | (byte148 << 5) | (byte149 >>> 3);
-        final int byte150 = blocks[blocksOffset++] & 0xFF;
-        final int byte151 = blocks[blocksOffset++] & 0xFF;
-        final int byte152 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte149 & 7) << 18) | (byte150 << 10) | (byte151 << 2) | (byte152 >>> 6);
-        final int byte153 = blocks[blocksOffset++] & 0xFF;
-        final int byte154 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte152 & 63) << 15) | (byte153 << 7) | (byte154 >>> 1);
-        final int byte155 = blocks[blocksOffset++] & 0xFF;
-        final int byte156 = blocks[blocksOffset++] & 0xFF;
-        final int byte157 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte154 & 1) << 20) | (byte155 << 12) | (byte156 << 4) | (byte157 >>> 4);
-        final int byte158 = blocks[blocksOffset++] & 0xFF;
-        final int byte159 = blocks[blocksOffset++] & 0xFF;
-        final int byte160 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte157 & 15) << 17) | (byte158 << 9) | (byte159 << 1) | (byte160 >>> 7);
-        final int byte161 = blocks[blocksOffset++] & 0xFF;
-        final int byte162 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte160 & 127) << 14) | (byte161 << 6) | (byte162 >>> 2);
-        final int byte163 = blocks[blocksOffset++] & 0xFF;
-        final int byte164 = blocks[blocksOffset++] & 0xFF;
-        final int byte165 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte162 & 3) << 19) | (byte163 << 11) | (byte164 << 3) | (byte165 >>> 5);
-        final int byte166 = blocks[blocksOffset++] & 0xFF;
-        final int byte167 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte165 & 31) << 16) | (byte166 << 8) | byte167;
-      }
+  @Override
+  public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {
+    for (int i = 0; i < 8 * iterations; ++i) {
+      final int byte0 = blocks[blocksOffset++] & 0xFF;
+      final int byte1 = blocks[blocksOffset++] & 0xFF;
+      final int byte2 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = (byte0 << 13) | (byte1 << 5) | (byte2 >>> 3);
+      final int byte3 = blocks[blocksOffset++] & 0xFF;
+      final int byte4 = blocks[blocksOffset++] & 0xFF;
+      final int byte5 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte2 & 7) << 18) | (byte3 << 10) | (byte4 << 2) | (byte5 >>> 6);
+      final int byte6 = blocks[blocksOffset++] & 0xFF;
+      final int byte7 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte5 & 63) << 15) | (byte6 << 7) | (byte7 >>> 1);
+      final int byte8 = blocks[blocksOffset++] & 0xFF;
+      final int byte9 = blocks[blocksOffset++] & 0xFF;
+      final int byte10 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte7 & 1) << 20) | (byte8 << 12) | (byte9 << 4) | (byte10 >>> 4);
+      final int byte11 = blocks[blocksOffset++] & 0xFF;
+      final int byte12 = blocks[blocksOffset++] & 0xFF;
+      final int byte13 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte10 & 15) << 17) | (byte11 << 9) | (byte12 << 1) | (byte13 >>> 7);
+      final int byte14 = blocks[blocksOffset++] & 0xFF;
+      final int byte15 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte13 & 127) << 14) | (byte14 << 6) | (byte15 >>> 2);
+      final int byte16 = blocks[blocksOffset++] & 0xFF;
+      final int byte17 = blocks[blocksOffset++] & 0xFF;
+      final int byte18 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte15 & 3) << 19) | (byte16 << 11) | (byte17 << 3) | (byte18 >>> 5);
+      final int byte19 = blocks[blocksOffset++] & 0xFF;
+      final int byte20 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte18 & 31) << 16) | (byte19 << 8) | byte20;
     }
+  }
 
-    @Override
-    public void decode(long[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {
-      assert blocksOffset + iterations * blockCount() <= blocks.length;
-      assert valuesOffset + iterations * valueCount() <= values.length;
-      for (int i = 0; i < iterations; ++i) {
-        final long block0 = blocks[blocksOffset++];
-        values[valuesOffset++] = block0 >>> 43;
-        values[valuesOffset++] = (block0 >>> 22) & 2097151L;
-        values[valuesOffset++] = (block0 >>> 1) & 2097151L;
-        final long block1 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block0 & 1L) << 20) | (block1 >>> 44);
-        values[valuesOffset++] = (block1 >>> 23) & 2097151L;
-        values[valuesOffset++] = (block1 >>> 2) & 2097151L;
-        final long block2 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block1 & 3L) << 19) | (block2 >>> 45);
-        values[valuesOffset++] = (block2 >>> 24) & 2097151L;
-        values[valuesOffset++] = (block2 >>> 3) & 2097151L;
-        final long block3 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block2 & 7L) << 18) | (block3 >>> 46);
-        values[valuesOffset++] = (block3 >>> 25) & 2097151L;
-        values[valuesOffset++] = (block3 >>> 4) & 2097151L;
-        final long block4 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block3 & 15L) << 17) | (block4 >>> 47);
-        values[valuesOffset++] = (block4 >>> 26) & 2097151L;
-        values[valuesOffset++] = (block4 >>> 5) & 2097151L;
-        final long block5 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block4 & 31L) << 16) | (block5 >>> 48);
-        values[valuesOffset++] = (block5 >>> 27) & 2097151L;
-        values[valuesOffset++] = (block5 >>> 6) & 2097151L;
-        final long block6 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block5 & 63L) << 15) | (block6 >>> 49);
-        values[valuesOffset++] = (block6 >>> 28) & 2097151L;
-        values[valuesOffset++] = (block6 >>> 7) & 2097151L;
-        final long block7 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block6 & 127L) << 14) | (block7 >>> 50);
-        values[valuesOffset++] = (block7 >>> 29) & 2097151L;
-        values[valuesOffset++] = (block7 >>> 8) & 2097151L;
-        final long block8 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block7 & 255L) << 13) | (block8 >>> 51);
-        values[valuesOffset++] = (block8 >>> 30) & 2097151L;
-        values[valuesOffset++] = (block8 >>> 9) & 2097151L;
-        final long block9 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block8 & 511L) << 12) | (block9 >>> 52);
-        values[valuesOffset++] = (block9 >>> 31) & 2097151L;
-        values[valuesOffset++] = (block9 >>> 10) & 2097151L;
-        final long block10 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block9 & 1023L) << 11) | (block10 >>> 53);
-        values[valuesOffset++] = (block10 >>> 32) & 2097151L;
-        values[valuesOffset++] = (block10 >>> 11) & 2097151L;
-        final long block11 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block10 & 2047L) << 10) | (block11 >>> 54);
-        values[valuesOffset++] = (block11 >>> 33) & 2097151L;
-        values[valuesOffset++] = (block11 >>> 12) & 2097151L;
-        final long block12 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block11 & 4095L) << 9) | (block12 >>> 55);
-        values[valuesOffset++] = (block12 >>> 34) & 2097151L;
-        values[valuesOffset++] = (block12 >>> 13) & 2097151L;
-        final long block13 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block12 & 8191L) << 8) | (block13 >>> 56);
-        values[valuesOffset++] = (block13 >>> 35) & 2097151L;
-        values[valuesOffset++] = (block13 >>> 14) & 2097151L;
-        final long block14 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block13 & 16383L) << 7) | (block14 >>> 57);
-        values[valuesOffset++] = (block14 >>> 36) & 2097151L;
-        values[valuesOffset++] = (block14 >>> 15) & 2097151L;
-        final long block15 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block14 & 32767L) << 6) | (block15 >>> 58);
-        values[valuesOffset++] = (block15 >>> 37) & 2097151L;
-        values[valuesOffset++] = (block15 >>> 16) & 2097151L;
-        final long block16 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block15 & 65535L) << 5) | (block16 >>> 59);
-        values[valuesOffset++] = (block16 >>> 38) & 2097151L;
-        values[valuesOffset++] = (block16 >>> 17) & 2097151L;
-        final long block17 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block16 & 131071L) << 4) | (block17 >>> 60);
-        values[valuesOffset++] = (block17 >>> 39) & 2097151L;
-        values[valuesOffset++] = (block17 >>> 18) & 2097151L;
-        final long block18 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block17 & 262143L) << 3) | (block18 >>> 61);
-        values[valuesOffset++] = (block18 >>> 40) & 2097151L;
-        values[valuesOffset++] = (block18 >>> 19) & 2097151L;
-        final long block19 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block18 & 524287L) << 2) | (block19 >>> 62);
-        values[valuesOffset++] = (block19 >>> 41) & 2097151L;
-        values[valuesOffset++] = (block19 >>> 20) & 2097151L;
-        final long block20 = blocks[blocksOffset++];
-        values[valuesOffset++] = ((block19 & 1048575L) << 1) | (block20 >>> 63);
-        values[valuesOffset++] = (block20 >>> 42) & 2097151L;
-        values[valuesOffset++] = (block20 >>> 21) & 2097151L;
-        values[valuesOffset++] = block20 & 2097151L;
-      }
+  @Override
+  public void decode(long[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {
+    for (int i = 0; i < iterations; ++i) {
+      final long block0 = blocks[blocksOffset++];
+      values[valuesOffset++] = block0 >>> 43;
+      values[valuesOffset++] = (block0 >>> 22) & 2097151L;
+      values[valuesOffset++] = (block0 >>> 1) & 2097151L;
+      final long block1 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block0 & 1L) << 20) | (block1 >>> 44);
+      values[valuesOffset++] = (block1 >>> 23) & 2097151L;
+      values[valuesOffset++] = (block1 >>> 2) & 2097151L;
+      final long block2 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block1 & 3L) << 19) | (block2 >>> 45);
+      values[valuesOffset++] = (block2 >>> 24) & 2097151L;
+      values[valuesOffset++] = (block2 >>> 3) & 2097151L;
+      final long block3 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block2 & 7L) << 18) | (block3 >>> 46);
+      values[valuesOffset++] = (block3 >>> 25) & 2097151L;
+      values[valuesOffset++] = (block3 >>> 4) & 2097151L;
+      final long block4 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block3 & 15L) << 17) | (block4 >>> 47);
+      values[valuesOffset++] = (block4 >>> 26) & 2097151L;
+      values[valuesOffset++] = (block4 >>> 5) & 2097151L;
+      final long block5 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block4 & 31L) << 16) | (block5 >>> 48);
+      values[valuesOffset++] = (block5 >>> 27) & 2097151L;
+      values[valuesOffset++] = (block5 >>> 6) & 2097151L;
+      final long block6 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block5 & 63L) << 15) | (block6 >>> 49);
+      values[valuesOffset++] = (block6 >>> 28) & 2097151L;
+      values[valuesOffset++] = (block6 >>> 7) & 2097151L;
+      final long block7 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block6 & 127L) << 14) | (block7 >>> 50);
+      values[valuesOffset++] = (block7 >>> 29) & 2097151L;
+      values[valuesOffset++] = (block7 >>> 8) & 2097151L;
+      final long block8 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block7 & 255L) << 13) | (block8 >>> 51);
+      values[valuesOffset++] = (block8 >>> 30) & 2097151L;
+      values[valuesOffset++] = (block8 >>> 9) & 2097151L;
+      final long block9 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block8 & 511L) << 12) | (block9 >>> 52);
+      values[valuesOffset++] = (block9 >>> 31) & 2097151L;
+      values[valuesOffset++] = (block9 >>> 10) & 2097151L;
+      final long block10 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block9 & 1023L) << 11) | (block10 >>> 53);
+      values[valuesOffset++] = (block10 >>> 32) & 2097151L;
+      values[valuesOffset++] = (block10 >>> 11) & 2097151L;
+      final long block11 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block10 & 2047L) << 10) | (block11 >>> 54);
+      values[valuesOffset++] = (block11 >>> 33) & 2097151L;
+      values[valuesOffset++] = (block11 >>> 12) & 2097151L;
+      final long block12 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block11 & 4095L) << 9) | (block12 >>> 55);
+      values[valuesOffset++] = (block12 >>> 34) & 2097151L;
+      values[valuesOffset++] = (block12 >>> 13) & 2097151L;
+      final long block13 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block12 & 8191L) << 8) | (block13 >>> 56);
+      values[valuesOffset++] = (block13 >>> 35) & 2097151L;
+      values[valuesOffset++] = (block13 >>> 14) & 2097151L;
+      final long block14 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block13 & 16383L) << 7) | (block14 >>> 57);
+      values[valuesOffset++] = (block14 >>> 36) & 2097151L;
+      values[valuesOffset++] = (block14 >>> 15) & 2097151L;
+      final long block15 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block14 & 32767L) << 6) | (block15 >>> 58);
+      values[valuesOffset++] = (block15 >>> 37) & 2097151L;
+      values[valuesOffset++] = (block15 >>> 16) & 2097151L;
+      final long block16 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block15 & 65535L) << 5) | (block16 >>> 59);
+      values[valuesOffset++] = (block16 >>> 38) & 2097151L;
+      values[valuesOffset++] = (block16 >>> 17) & 2097151L;
+      final long block17 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block16 & 131071L) << 4) | (block17 >>> 60);
+      values[valuesOffset++] = (block17 >>> 39) & 2097151L;
+      values[valuesOffset++] = (block17 >>> 18) & 2097151L;
+      final long block18 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block17 & 262143L) << 3) | (block18 >>> 61);
+      values[valuesOffset++] = (block18 >>> 40) & 2097151L;
+      values[valuesOffset++] = (block18 >>> 19) & 2097151L;
+      final long block19 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block18 & 524287L) << 2) | (block19 >>> 62);
+      values[valuesOffset++] = (block19 >>> 41) & 2097151L;
+      values[valuesOffset++] = (block19 >>> 20) & 2097151L;
+      final long block20 = blocks[blocksOffset++];
+      values[valuesOffset++] = ((block19 & 1048575L) << 1) | (block20 >>> 63);
+      values[valuesOffset++] = (block20 >>> 42) & 2097151L;
+      values[valuesOffset++] = (block20 >>> 21) & 2097151L;
+      values[valuesOffset++] = block20 & 2097151L;
     }
+  }
 
-    @Override
-    public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {
-      assert blocksOffset + 8 * iterations * blockCount() <= blocks.length;
-      assert valuesOffset + iterations * valueCount() <= values.length;
-      for (int i = 0; i < iterations; ++i) {
-        final long byte0 = blocks[blocksOffset++] & 0xFF;
-        final long byte1 = blocks[blocksOffset++] & 0xFF;
-        final long byte2 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte0 << 13) | (byte1 << 5) | (byte2 >>> 3);
-        final long byte3 = blocks[blocksOffset++] & 0xFF;
-        final long byte4 = blocks[blocksOffset++] & 0xFF;
-        final long byte5 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte2 & 7) << 18) | (byte3 << 10) | (byte4 << 2) | (byte5 >>> 6);
-        final long byte6 = blocks[blocksOffset++] & 0xFF;
-        final long byte7 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte5 & 63) << 15) | (byte6 << 7) | (byte7 >>> 1);
-        final long byte8 = blocks[blocksOffset++] & 0xFF;
-        final long byte9 = blocks[blocksOffset++] & 0xFF;
-        final long byte10 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte7 & 1) << 20) | (byte8 << 12) | (byte9 << 4) | (byte10 >>> 4);
-        final long byte11 = blocks[blocksOffset++] & 0xFF;
-        final long byte12 = blocks[blocksOffset++] & 0xFF;
-        final long byte13 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte10 & 15) << 17) | (byte11 << 9) | (byte12 << 1) | (byte13 >>> 7);
-        final long byte14 = blocks[blocksOffset++] & 0xFF;
-        final long byte15 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte13 & 127) << 14) | (byte14 << 6) | (byte15 >>> 2);
-        final long byte16 = blocks[blocksOffset++] & 0xFF;
-        final long byte17 = blocks[blocksOffset++] & 0xFF;
-        final long byte18 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte15 & 3) << 19) | (byte16 << 11) | (byte17 << 3) | (byte18 >>> 5);
-        final long byte19 = blocks[blocksOffset++] & 0xFF;
-        final long byte20 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte18 & 31) << 16) | (byte19 << 8) | byte20;
-        final long byte21 = blocks[blocksOffset++] & 0xFF;
-        final long byte22 = blocks[blocksOffset++] & 0xFF;
-        final long byte23 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte21 << 13) | (byte22 << 5) | (byte23 >>> 3);
-        final long byte24 = blocks[blocksOffset++] & 0xFF;
-        final long byte25 = blocks[blocksOffset++] & 0xFF;
-        final long byte26 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte23 & 7) << 18) | (byte24 << 10) | (byte25 << 2) | (byte26 >>> 6);
-        final long byte27 = blocks[blocksOffset++] & 0xFF;
-        final long byte28 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte26 & 63) << 15) | (byte27 << 7) | (byte28 >>> 1);
-        final long byte29 = blocks[blocksOffset++] & 0xFF;
-        final long byte30 = blocks[blocksOffset++] & 0xFF;
-        final long byte31 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte28 & 1) << 20) | (byte29 << 12) | (byte30 << 4) | (byte31 >>> 4);
-        final long byte32 = blocks[blocksOffset++] & 0xFF;
-        final long byte33 = blocks[blocksOffset++] & 0xFF;
-        final long byte34 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte31 & 15) << 17) | (byte32 << 9) | (byte33 << 1) | (byte34 >>> 7);
-        final long byte35 = blocks[blocksOffset++] & 0xFF;
-        final long byte36 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte34 & 127) << 14) | (byte35 << 6) | (byte36 >>> 2);
-        final long byte37 = blocks[blocksOffset++] & 0xFF;
-        final long byte38 = blocks[blocksOffset++] & 0xFF;
-        final long byte39 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte36 & 3) << 19) | (byte37 << 11) | (byte38 << 3) | (byte39 >>> 5);
-        final long byte40 = blocks[blocksOffset++] & 0xFF;
-        final long byte41 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte39 & 31) << 16) | (byte40 << 8) | byte41;
-        final long byte42 = blocks[blocksOffset++] & 0xFF;
-        final long byte43 = blocks[blocksOffset++] & 0xFF;
-        final long byte44 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte42 << 13) | (byte43 << 5) | (byte44 >>> 3);
-        final long byte45 = blocks[blocksOffset++] & 0xFF;
-        final long byte46 = blocks[blocksOffset++] & 0xFF;
-        final long byte47 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte44 & 7) << 18) | (byte45 << 10) | (byte46 << 2) | (byte47 >>> 6);
-        final long byte48 = blocks[blocksOffset++] & 0xFF;
-        final long byte49 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte47 & 63) << 15) | (byte48 << 7) | (byte49 >>> 1);
-        final long byte50 = blocks[blocksOffset++] & 0xFF;
-        final long byte51 = blocks[blocksOffset++] & 0xFF;
-        final long byte52 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte49 & 1) << 20) | (byte50 << 12) | (byte51 << 4) | (byte52 >>> 4);
-        final long byte53 = blocks[blocksOffset++] & 0xFF;
-        final long byte54 = blocks[blocksOffset++] & 0xFF;
-        final long byte55 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte52 & 15) << 17) | (byte53 << 9) | (byte54 << 1) | (byte55 >>> 7);
-        final long byte56 = blocks[blocksOffset++] & 0xFF;
-        final long byte57 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte55 & 127) << 14) | (byte56 << 6) | (byte57 >>> 2);
-        final long byte58 = blocks[blocksOffset++] & 0xFF;
-        final long byte59 = blocks[blocksOffset++] & 0xFF;
-        final long byte60 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte57 & 3) << 19) | (byte58 << 11) | (byte59 << 3) | (byte60 >>> 5);
-        final long byte61 = blocks[blocksOffset++] & 0xFF;
-        final long byte62 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte60 & 31) << 16) | (byte61 << 8) | byte62;
-        final long byte63 = blocks[blocksOffset++] & 0xFF;
-        final long byte64 = blocks[blocksOffset++] & 0xFF;
-        final long byte65 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte63 << 13) | (byte64 << 5) | (byte65 >>> 3);
-        final long byte66 = blocks[blocksOffset++] & 0xFF;
-        final long byte67 = blocks[blocksOffset++] & 0xFF;
-        final long byte68 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte65 & 7) << 18) | (byte66 << 10) | (byte67 << 2) | (byte68 >>> 6);
-        final long byte69 = blocks[blocksOffset++] & 0xFF;
-        final long byte70 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte68 & 63) << 15) | (byte69 << 7) | (byte70 >>> 1);
-        final long byte71 = blocks[blocksOffset++] & 0xFF;
-        final long byte72 = blocks[blocksOffset++] & 0xFF;
-        final long byte73 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte70 & 1) << 20) | (byte71 << 12) | (byte72 << 4) | (byte73 >>> 4);
-        final long byte74 = blocks[blocksOffset++] & 0xFF;
-        final long byte75 = blocks[blocksOffset++] & 0xFF;
-        final long byte76 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte73 & 15) << 17) | (byte74 << 9) | (byte75 << 1) | (byte76 >>> 7);
-        final long byte77 = blocks[blocksOffset++] & 0xFF;
-        final long byte78 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte76 & 127) << 14) | (byte77 << 6) | (byte78 >>> 2);
-        final long byte79 = blocks[blocksOffset++] & 0xFF;
-        final long byte80 = blocks[blocksOffset++] & 0xFF;
-        final long byte81 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte78 & 3) << 19) | (byte79 << 11) | (byte80 << 3) | (byte81 >>> 5);
-        final long byte82 = blocks[blocksOffset++] & 0xFF;
-        final long byte83 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte81 & 31) << 16) | (byte82 << 8) | byte83;
-        final long byte84 = blocks[blocksOffset++] & 0xFF;
-        final long byte85 = blocks[blocksOffset++] & 0xFF;
-        final long byte86 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte84 << 13) | (byte85 << 5) | (byte86 >>> 3);
-        final long byte87 = blocks[blocksOffset++] & 0xFF;
-        final long byte88 = blocks[blocksOffset++] & 0xFF;
-        final long byte89 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte86 & 7) << 18) | (byte87 << 10) | (byte88 << 2) | (byte89 >>> 6);
-        final long byte90 = blocks[blocksOffset++] & 0xFF;
-        final long byte91 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte89 & 63) << 15) | (byte90 << 7) | (byte91 >>> 1);
-        final long byte92 = blocks[blocksOffset++] & 0xFF;
-        final long byte93 = blocks[blocksOffset++] & 0xFF;
-        final long byte94 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte91 & 1) << 20) | (byte92 << 12) | (byte93 << 4) | (byte94 >>> 4);
-        final long byte95 = blocks[blocksOffset++] & 0xFF;
-        final long byte96 = blocks[blocksOffset++] & 0xFF;
-        final long byte97 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte94 & 15) << 17) | (byte95 << 9) | (byte96 << 1) | (byte97 >>> 7);
-        final long byte98 = blocks[blocksOffset++] & 0xFF;
-        final long byte99 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte97 & 127) << 14) | (byte98 << 6) | (byte99 >>> 2);
-        final long byte100 = blocks[blocksOffset++] & 0xFF;
-        final long byte101 = blocks[blocksOffset++] & 0xFF;
-        final long byte102 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte99 & 3) << 19) | (byte100 << 11) | (byte101 << 3) | (byte102 >>> 5);
-        final long byte103 = blocks[blocksOffset++] & 0xFF;
-        final long byte104 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte102 & 31) << 16) | (byte103 << 8) | byte104;
-        final long byte105 = blocks[blocksOffset++] & 0xFF;
-        final long byte106 = blocks[blocksOffset++] & 0xFF;
-        final long byte107 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte105 << 13) | (byte106 << 5) | (byte107 >>> 3);
-        final long byte108 = blocks[blocksOffset++] & 0xFF;
-        final long byte109 = blocks[blocksOffset++] & 0xFF;
-        final long byte110 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte107 & 7) << 18) | (byte108 << 10) | (byte109 << 2) | (byte110 >>> 6);
-        final long byte111 = blocks[blocksOffset++] & 0xFF;
-        final long byte112 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte110 & 63) << 15) | (byte111 << 7) | (byte112 >>> 1);
-        final long byte113 = blocks[blocksOffset++] & 0xFF;
-        final long byte114 = blocks[blocksOffset++] & 0xFF;
-        final long byte115 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte112 & 1) << 20) | (byte113 << 12) | (byte114 << 4) | (byte115 >>> 4);
-        final long byte116 = blocks[blocksOffset++] & 0xFF;
-        final long byte117 = blocks[blocksOffset++] & 0xFF;
-        final long byte118 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte115 & 15) << 17) | (byte116 << 9) | (byte117 << 1) | (byte118 >>> 7);
-        final long byte119 = blocks[blocksOffset++] & 0xFF;
-        final long byte120 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte118 & 127) << 14) | (byte119 << 6) | (byte120 >>> 2);
-        final long byte121 = blocks[blocksOffset++] & 0xFF;
-        final long byte122 = blocks[blocksOffset++] & 0xFF;
-        final long byte123 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte120 & 3) << 19) | (byte121 << 11) | (byte122 << 3) | (byte123 >>> 5);
-        final long byte124 = blocks[blocksOffset++] & 0xFF;
-        final long byte125 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte123 & 31) << 16) | (byte124 << 8) | byte125;
-        final long byte126 = blocks[blocksOffset++] & 0xFF;
-        final long byte127 = blocks[blocksOffset++] & 0xFF;
-        final long byte128 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte126 << 13) | (byte127 << 5) | (byte128 >>> 3);
-        final long byte129 = blocks[blocksOffset++] & 0xFF;
-        final long byte130 = blocks[blocksOffset++] & 0xFF;
-        final long byte131 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte128 & 7) << 18) | (byte129 << 10) | (byte130 << 2) | (byte131 >>> 6);
-        final long byte132 = blocks[blocksOffset++] & 0xFF;
-        final long byte133 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte131 & 63) << 15) | (byte132 << 7) | (byte133 >>> 1);
-        final long byte134 = blocks[blocksOffset++] & 0xFF;
-        final long byte135 = blocks[blocksOffset++] & 0xFF;
-        final long byte136 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte133 & 1) << 20) | (byte134 << 12) | (byte135 << 4) | (byte136 >>> 4);
-        final long byte137 = blocks[blocksOffset++] & 0xFF;
-        final long byte138 = blocks[blocksOffset++] & 0xFF;
-        final long byte139 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte136 & 15) << 17) | (byte137 << 9) | (byte138 << 1) | (byte139 >>> 7);
-        final long byte140 = blocks[blocksOffset++] & 0xFF;
-        final long byte141 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte139 & 127) << 14) | (byte140 << 6) | (byte141 >>> 2);
-        final long byte142 = blocks[blocksOffset++] & 0xFF;
-        final long byte143 = blocks[blocksOffset++] & 0xFF;
-        final long byte144 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte141 & 3) << 19) | (byte142 << 11) | (byte143 << 3) | (byte144 >>> 5);
-        final long byte145 = blocks[blocksOffset++] & 0xFF;
-        final long byte146 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte144 & 31) << 16) | (byte145 << 8) | byte146;
-        final long byte147 = blocks[blocksOffset++] & 0xFF;
-        final long byte148 = blocks[blocksOffset++] & 0xFF;
-        final long byte149 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = (byte147 << 13) | (byte148 << 5) | (byte149 >>> 3);
-        final long byte150 = blocks[blocksOffset++] & 0xFF;
-        final long byte151 = blocks[blocksOffset++] & 0xFF;
-        final long byte152 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte149 & 7) << 18) | (byte150 << 10) | (byte151 << 2) | (byte152 >>> 6);
-        final long byte153 = blocks[blocksOffset++] & 0xFF;
-        final long byte154 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte152 & 63) << 15) | (byte153 << 7) | (byte154 >>> 1);
-        final long byte155 = blocks[blocksOffset++] & 0xFF;
-        final long byte156 = blocks[blocksOffset++] & 0xFF;
-        final long byte157 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte154 & 1) << 20) | (byte155 << 12) | (byte156 << 4) | (byte157 >>> 4);
-        final long byte158 = blocks[blocksOffset++] & 0xFF;
-        final long byte159 = blocks[blocksOffset++] & 0xFF;
-        final long byte160 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte157 & 15) << 17) | (byte158 << 9) | (byte159 << 1) | (byte160 >>> 7);
-        final long byte161 = blocks[blocksOffset++] & 0xFF;
-        final long byte162 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte160 & 127) << 14) | (byte161 << 6) | (byte162 >>> 2);
-        final long byte163 = blocks[blocksOffset++] & 0xFF;
-        final long byte164 = blocks[blocksOffset++] & 0xFF;
-        final long byte165 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte162 & 3) << 19) | (byte163 << 11) | (byte164 << 3) | (byte165 >>> 5);
-        final long byte166 = blocks[blocksOffset++] & 0xFF;
-        final long byte167 = blocks[blocksOffset++] & 0xFF;
-        values[valuesOffset++] = ((byte165 & 31) << 16) | (byte166 << 8) | byte167;
-      }
+  @Override
+  public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {
+    for (int i = 0; i < 8 * iterations; ++i) {
+      final long byte0 = blocks[blocksOffset++] & 0xFF;
+      final long byte1 = blocks[blocksOffset++] & 0xFF;
+      final long byte2 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = (byte0 << 13) | (byte1 << 5) | (byte2 >>> 3);
+      final long byte3 = blocks[blocksOffset++] & 0xFF;
+      final long byte4 = blocks[blocksOffset++] & 0xFF;
+      final long byte5 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte2 & 7) << 18) | (byte3 << 10) | (byte4 << 2) | (byte5 >>> 6);
+      final long byte6 = blocks[blocksOffset++] & 0xFF;
+      final long byte7 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte5 & 63) << 15) | (byte6 << 7) | (byte7 >>> 1);
+      final long byte8 = blocks[blocksOffset++] & 0xFF;
+      final long byte9 = blocks[blocksOffset++] & 0xFF;
+      final long byte10 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte7 & 1) << 20) | (byte8 << 12) | (byte9 << 4) | (byte10 >>> 4);
+      final long byte11 = blocks[blocksOffset++] & 0xFF;
+      final long byte12 = blocks[blocksOffset++] & 0xFF;
+      final long byte13 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte10 & 15) << 17) | (byte11 << 9) | (byte12 << 1) | (byte13 >>> 7);
+      final long byte14 = blocks[blocksOffset++] & 0xFF;
+      final long byte15 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte13 & 127) << 14) | (byte14 << 6) | (byte15 >>> 2);
+      final long byte16 = blocks[blocksOffset++] & 0xFF;
+      final long byte17 = blocks[blocksOffset++] & 0xFF;
+      final long byte18 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte15 & 3) << 19) | (byte16 << 11) | (byte17 << 3) | (byte18 >>> 5);
+      final long byte19 = blocks[blocksOffset++] & 0xFF;
+      final long byte20 = blocks[blocksOffset++] & 0xFF;
+      values[valuesOffset++] = ((byte18 & 31) << 16) | (byte19 << 8) | byte20;
     }
+  }
 
 }



Mime
View raw message