|
|
@ -151,28 +151,28 @@ public class CpBands extends BandSet { |
|
|
|
cpUtf8BigChars[i][j] = ((Character) bigChars.remove(0)).charValue(); |
|
|
|
cpUtf8BigChars[i][j] = ((Character) bigChars.remove(0)).charValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
byte[] encodedBand = encodeBandInt("cpUtf8Prefix", cpUtf8Prefix, Codec.DELTA5); |
|
|
|
byte[] encodedBand = encodeBandInt("cpUtf8Prefix", cpUtf8Prefix, Codec.DELTA5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cpUtf8Prefix[" + cpUtf8Prefix.length + "]"); |
|
|
|
+ " bytes from cpUtf8Prefix[" + cpUtf8Prefix.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
encodedBand = encodeBandInt("cpUtf8Suffix", cpUtf8Suffix, Codec.UNSIGNED5); |
|
|
|
encodedBand = encodeBandInt("cpUtf8Suffix", cpUtf8Suffix, Codec.UNSIGNED5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cpUtf8Suffix[" + cpUtf8Suffix.length + "]"); |
|
|
|
+ " bytes from cpUtf8Suffix[" + cpUtf8Suffix.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
encodedBand = encodeBandInt("cpUtf8Chars", cpUtf8Chars, Codec.CHAR3); |
|
|
|
encodedBand = encodeBandInt("cpUtf8Chars", cpUtf8Chars, Codec.CHAR3); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cpUtf8Chars[" + cpUtf8Chars.length + "]"); |
|
|
|
+ " bytes from cpUtf8Chars[" + cpUtf8Chars.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
encodedBand = encodeBandInt("cpUtf8BigSuffix", cpUtf8BigSuffix, |
|
|
|
encodedBand = encodeBandInt("cpUtf8BigSuffix", cpUtf8BigSuffix, |
|
|
|
Codec.DELTA5); |
|
|
|
Codec.DELTA5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cpUtf8BigSuffix[" + cpUtf8BigSuffix.length + "]"); |
|
|
|
+ " bytes from cpUtf8BigSuffix[" + cpUtf8BigSuffix.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < cpUtf8BigChars.length; i++) { |
|
|
|
for (int i = 0; i < cpUtf8BigChars.length; i++) { |
|
|
|
encodedBand = encodeBandInt("cpUtf8BigChars " + i, |
|
|
|
encodedBand = encodeBandInt("cpUtf8BigChars " + i, |
|
|
|
cpUtf8BigChars[i], Codec.DELTA5); |
|
|
|
cpUtf8BigChars[i], Codec.DELTA5); |
|
|
@ -238,7 +238,7 @@ public class CpBands extends BandSet { |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cp_Long_hi[" + highBits.length + "]"); |
|
|
|
+ " bytes from cp_Long_hi[" + highBits.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
encodedBand = encodeBandInt("cp_Long_lo", loBits, Codec.DELTA5); |
|
|
|
encodedBand = encodeBandInt("cp_Long_lo", loBits, Codec.DELTA5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
@ -262,7 +262,7 @@ public class CpBands extends BandSet { |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cp_Double_hi[" + highBits.length + "]"); |
|
|
|
+ " bytes from cp_Double_hi[" + highBits.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
encodedBand = encodeBandInt("cp_Double_lo", loBits, Codec.DELTA5); |
|
|
|
encodedBand = encodeBandInt("cp_Double_lo", loBits, Codec.DELTA5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
@ -317,13 +317,13 @@ public class CpBands extends BandSet { |
|
|
|
for (int j = 0; j < cpSignatureClasses.length; j++) { |
|
|
|
for (int j = 0; j < cpSignatureClasses.length; j++) { |
|
|
|
cpSignatureClasses[j] = ((CPClass) classes.get(j)).getIndex(); |
|
|
|
cpSignatureClasses[j] = ((CPClass) classes.get(j)).getIndex(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
byte[] encodedBand = encodeBandInt("cpSignatureForm", cpSignatureForm, |
|
|
|
byte[] encodedBand = encodeBandInt("cpSignatureForm", cpSignatureForm, |
|
|
|
Codec.DELTA5); |
|
|
|
Codec.DELTA5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
PackingUtils.log("Wrote " + encodedBand.length |
|
|
|
+ " bytes from cpSignatureForm[" + cpSignatureForm.length + "]"); |
|
|
|
+ " bytes from cpSignatureForm[" + cpSignatureForm.length + "]"); |
|
|
|
|
|
|
|
|
|
|
|
encodedBand = encodeBandInt("cpSignatureClasses", cpSignatureClasses, |
|
|
|
encodedBand = encodeBandInt("cpSignatureClasses", cpSignatureClasses, |
|
|
|
Codec.UDELTA5); |
|
|
|
Codec.UDELTA5); |
|
|
|
out.write(encodedBand); |
|
|
|
out.write(encodedBand); |
|
|
|