protected static int decompressBBitSlotsWithHardCodes( final int[] outDecompSlots, final int[] inCompBlock, final int blockSize, final int bits) { int compressedBitSize = 0; PForDeltaUnpack128.unpack(outDecompSlots, inCompBlock, bits); compressedBitSize = bits * blockSize; return compressedBitSize; }
public int decompressBBitSlotsWithHardCodesWithIntBuffer(final int[] outDecompSlots, final IntBuffer inCompBlock, final int blockSize, final int bits) { PForDeltaUnpack128WIthIntBuffer.unpack(outDecompSlots, inCompBlock, bits); return bits * blockSize; }
/** * Estimated the compressed size of one block of integers using PForDelta * */ private int PForDeltaEstimateCompSize(int[] srcData, int b) { return PForDelta.estimateCompressedSize(srcData, b, _blockSize); }
protected static final int s16DecompressWithIntBufferWithHardCodes( final int[] out, int outOffset, final int value, final int n) { final int numIdx = value >>> S16_BITSSIZE; return s16DecompressOneNumberWithHardCodes(out, outOffset, value, numIdx); }
protected static final int s16DecompressWithIntBufferIntegrated2( final int[] out, int outOffset, final int value, final int n, int[] expPos, int oribits) { final int numIdx = value >>> S16_BITSSIZE; return s16DecompressOneNumberWithHardCodesIntegrated(out, outOffset, value, numIdx, oribits, expPos); }
/** * Decompress a compressed block into an integer array * * @param compBlock the compressed input block * @param blockSize the block size which is 256 by default * @return the decompressed output block */ public int decompressOneBlock(int[] decompBlock, int[] compBlock, int blockSize) { return PForDelta.decompressOneBlock(decompBlock, compBlock, blockSize); } }
protected static int decompressBBitSlotsWithHardCodes( final int[] outDecompSlots, final int[] inCompBlock, final int blockSize, final int bits) { int compressedBitSize = 0; PForDeltaUnpack128.unpack(outDecompSlots, inCompBlock, bits); compressedBitSize = bits * blockSize; return compressedBitSize; }
/** * Estimated the compressed size of one block of integers using PForDelta * */ private int PForDeltaEstimateCompSize(int[] srcData, int b) { return PForDelta.estimateCompressedSize(srcData, b, _blockSize); }
protected static int decompressBBitSlotsWithHardCodesWithIntBuffer( final int[] outDecompSlots, final IntBuffer inCompBlock, final int blockSize, final int bits) { PForDeltaUnpack128WIthIntBuffer.unpack(outDecompSlots, inCompBlock, bits); return bits * blockSize; }
protected static final int s16DecompressWithIntBufferWithHardCodes( final int[] out, int outOffset, final int value, final int n) { final int numIdx = value >>> S16_BITSSIZE; return s16DecompressOneNumberWithHardCodes(out, outOffset, value, numIdx); }
public static final int s16DecompressWithIntBufferIntegrated2(final int[] out, int outOffset, final int value, final int n, int[] expPos, int oribits) { final int numIdx = value >>>S16_BITSSIZE; return s16DecompressOneNumberWithHardCodesIntegrated(out, outOffset, value, numIdx, oribits, expPos); }
public int decompressBBitSlotsWithHardCodes(final int[] outDecompSlots, final int[] inCompBlock, final int blockSize, final int bits) { int compressedBitSize = 0; PForDeltaUnpack128.unpack(outDecompSlots, inCompBlock, bits); compressedBitSize = bits * blockSize; return compressedBitSize; }
/** * Estimate the compressed size of a block * * @param inputBlock a block of non-negative integers to be compressed * @param bits the value of b in the PForDelta algorithm * @param blockSize the block size which is 256 by default * @return CompResult * @throws IllegalArgumentException */ public int estimateCompSize(int[] inputBlock, int bits, int blockSize) throws IllegalArgumentException { return PForDelta.estimateCompressedSize(inputBlock, bits, blockSize); }
protected static int decompressBBitSlotsWithHardCodesWithIntBuffer( final int[] outDecompSlots, final IntBuffer inCompBlock, final int blockSize, final int bits) { PForDeltaUnpack128WIthIntBuffer.unpack(outDecompSlots, inCompBlock, bits); return bits * blockSize; }
public static final int s16DecompressWithIntBufferWithHardCodes(final int[] out, int outOffset, final int value, final int n) { final int numIdx = value >>>S16_BITSSIZE; return s16DecompressOneNumberWithHardCodes(out, outOffset, value, numIdx); }
protected static final int s16DecompressWithIntBufferIntegrated2( final int[] out, int outOffset, final int value, final int n, int[] expPos, int oribits) { final int numIdx = value >>> S16_BITSSIZE; return s16DecompressOneNumberWithHardCodesIntegrated(out, outOffset, value, numIdx, oribits, expPos); }
public int decompressBBitSlotsWithHardCodes(final int[] outDecompSlots, final int[] inCompBlock, final int blockSize, final int bits) { int compressedBitSize = 0; PForDeltaUnpack128.unpack(outDecompSlots, inCompBlock, bits); compressedBitSize = bits * blockSize; return compressedBitSize; }
public int decompressBBitSlotsWithHardCodesWithIntBuffer(final int[] outDecompSlots, final IntBuffer inCompBlock, final int blockSize, final int bits) { PForDeltaUnpack128WIthIntBuffer.unpack(outDecompSlots, inCompBlock, bits); return bits * blockSize; }
public static final int s16DecompressWithIntBufferWithHardCodes(final int[] out, int outOffset, final int value, final int n) { final int numIdx = value >>>S16_BITSSIZE; return s16DecompressOneNumberWithHardCodes(out, outOffset, value, numIdx); }
public static final int s16DecompressWithIntBufferIntegrated2(final int[] out, int outOffset, final int value, final int n, int[] expPos, int oribits) { final int numIdx = value >>>S16_BITSSIZE; return s16DecompressOneNumberWithHardCodesIntegrated(out, outOffset, value, numIdx, oribits, expPos); }