struct LZ4HC_CCtx_internal {
LZ4_u32 hashTable[LZ4HC_HASHTABLESIZE];
LZ4_u16 chainTable[LZ4HC_MAXD];
LZ4_byte const * end;
LZ4_byte const * prefixStart;
LZ4_byte const * dictStart;
LZ4_u32 dictLimit;
LZ4_u32 lowLimit;
LZ4_u32 nextToUpdate;
short compressionLevel;
LZ4_i8 favorDecSpeed;
LZ4_i8 dirty;
LZ4HC_CCtx_internal * const dictCtx;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | LZ4HCCCtxInternal.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CHAINTABLE
The struct member offsets. |
| public static final int | COMPRESSIONLEVEL
The struct member offsets. |
| public static final int | DICTCTX
The struct member offsets. |
| public static final int | DICTLIMIT
The struct member offsets. |
| public static final int | DICTSTART
The struct member offsets. |
| public static final int | DIRTY
The struct member offsets. |
| public static final int | END
The struct member offsets. |
| public static final int | FAVORDECSPEED
The struct member offsets. |
| public static final int | HASHTABLE
The struct member offsets. |
| public static final int | LOWLIMIT
The struct member offsets. |
| public static final int | NEXTTOUPDATE
The struct member offsets. |
| public static final int | PREFIXSTART
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | LZ4HCCCtxInternal(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public ShortBuffer | |
| public short | |
| public short | |
| protected LZ4HCCCtxInternal | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static LZ4HCCCtxInternal | |
| public static LZ4HCCCtxInternal. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static LZ4HCCCtxInternal | |
| public static LZ4HCCCtxInternal. | |
| public LZ4HCCCtxInternal | |
| public int | |
| public ByteBuffer | Returns: alternate reference forextDictthe number of elements in the returned buffer capacity)
|
| public byte | |
| public ByteBuffer | Returns: next block here to continue on current prefixthe number of elements in the returned buffer capacity)
|
| public byte | |
| public IntBuffer | |
| public int | |
| public int | |
| public static ShortBuffer | |
| public static short | |
| public static short | |
| public static LZ4HCCCtxInternal | |
| public static int | |
| public static ByteBuffer | |
| public static byte | |
| public static ByteBuffer | |
| public int | |
| public static byte | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public static int | |
| public static ByteBuffer | |
| public ByteBuffer | Returns: Indexes relative to this positionthe number of elements in the returned buffer capacity)
|
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CHAINTABLE | back to summary |
|---|---|
| public static final int CHAINTABLE The struct member offsets. | |
| COMPRESSIONLEVEL | back to summary |
|---|---|
| public static final int COMPRESSIONLEVEL The struct member offsets. | |
| DICTCTX | back to summary |
|---|---|
| public static final int DICTCTX The struct member offsets. | |
| DICTLIMIT | back to summary |
|---|---|
| public static final int DICTLIMIT The struct member offsets. | |
| DICTSTART | back to summary |
|---|---|
| public static final int DICTSTART The struct member offsets. | |
| DIRTY | back to summary |
|---|---|
| public static final int DIRTY The struct member offsets. | |
| END | back to summary |
|---|---|
| public static final int END The struct member offsets. | |
| FAVORDECSPEED | back to summary |
|---|---|
| public static final int FAVORDECSPEED The struct member offsets. | |
| HASHTABLE | back to summary |
|---|---|
| public static final int HASHTABLE The struct member offsets. | |
| LOWLIMIT | back to summary |
|---|---|
| public static final int LOWLIMIT The struct member offsets. | |
| NEXTTOUPDATE | back to summary |
|---|---|
| public static final int NEXTTOUPDATE The struct member offsets. | |
| PREFIXSTART | back to summary |
|---|---|
| public static final int PREFIXSTART The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| LZ4HCCCtxInternal | back to summary |
|---|---|
| protected LZ4HCCCtxInternal(long address, ByteBuffer container) | |
| LZ4HCCCtxInternal | back to summary |
|---|---|
| public LZ4HCCCtxInternal(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| chainTable | back to summary |
|---|---|
public ShortBuffer chainTable()
| |
| chainTable | back to summary |
|---|---|
public short chainTable(int index)
| |
| compressionLevel | back to summary |
|---|---|
public short compressionLevel()
| |
| create | back to summary |
|---|---|
| protected LZ4HCCCtxInternal create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static LZ4HCCCtxInternal create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static LZ4HCCCtxInternal. Create a
| |
| createSafe | back to summary |
|---|---|
| public static LZ4HCCCtxInternal createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static LZ4HCCCtxInternal. Like
| |
| dictCtx | back to summary |
|---|---|
public LZ4HCCCtxInternal dictCtx()
| |
| dictLimit | back to summary |
|---|---|
| public int dictLimit() below that point, need
| |
| dictStart | back to summary |
|---|---|
public ByteBuffer dictStart(int capacity)
| |
| dirty | back to summary |
|---|---|
| public byte dirty() stream has to be fully reset if this flag is set
| |
| end | back to summary |
|---|---|
public ByteBuffer end(int capacity)
| |
| favorDecSpeed | back to summary |
|---|---|
| public byte favorDecSpeed() favor decompression speed if this flag set, otherwise, favor compression ratio
| |
| hashTable | back to summary |
|---|---|
public IntBuffer hashTable()
| |
| hashTable | back to summary |
|---|---|
public int hashTable(int index)
| |
| lowLimit | back to summary |
|---|---|
| public int lowLimit() below that point, no more
| |
| nchainTable | back to summary |
|---|---|
| public static ShortBuffer nchainTable(long struct) Unsafe version of | |
| nchainTable | back to summary |
|---|---|
| public static short nchainTable(long struct, int index) Unsafe version of | |
| ncompressionLevel | back to summary |
|---|---|
| public static short ncompressionLevel(long struct) Unsafe version of | |
| ndictCtx | back to summary |
|---|---|
| public static LZ4HCCCtxInternal ndictCtx(long struct) Unsafe version of | |
| ndictLimit | back to summary |
|---|---|
| public static int ndictLimit(long struct) Unsafe version of | |
| ndictStart | back to summary |
|---|---|
| public static ByteBuffer ndictStart(long struct, int capacity) Unsafe version of | |
| ndirty | back to summary |
|---|---|
| public static byte ndirty(long struct) Unsafe version of | |
| nend | back to summary |
|---|---|
| public static ByteBuffer nend(long struct, int capacity) Unsafe version of | |
| nextToUpdate | back to summary |
|---|---|
| public int nextToUpdate() index from which to continue dictionary update
| |
| nfavorDecSpeed | back to summary |
|---|---|
| public static byte nfavorDecSpeed(long struct) Unsafe version of | |
| nhashTable | back to summary |
|---|---|
| public static IntBuffer nhashTable(long struct) Unsafe version of | |
| nhashTable | back to summary |
|---|---|
| public static int nhashTable(long struct, int index) Unsafe version of | |
| nlowLimit | back to summary |
|---|---|
| public static int nlowLimit(long struct) Unsafe version of | |
| nnextToUpdate | back to summary |
|---|---|
| public static int nnextToUpdate(long struct) Unsafe version of | |
| nprefixStart | back to summary |
|---|---|
| public static ByteBuffer nprefixStart(long struct, int capacity) Unsafe version of | |
| prefixStart | back to summary |
|---|---|
public ByteBuffer prefixStart(int capacity)
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
LZ4HCCCtxInternal structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final LZ4HCCCtxInternal |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ShortBuffer | |
| public short | |
| public short | |
| public LZ4HCCCtxInternal | |
| public int | |
| public ByteBuffer | |
| public byte | |
| public ByteBuffer | |
| public byte | |
| protected LZ4HCCCtxInternal | |
| public IntBuffer | |
| public int | |
| public int | |
| public int | |
| public ByteBuffer | |
| protected LZ4HCCCtxInternal. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final LZ4HCCCtxInternal ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| chainTable | back to summary |
|---|---|
public ShortBuffer chainTable()
| |
| chainTable | back to summary |
|---|---|
public short chainTable(int index)
| |
| compressionLevel | back to summary |
|---|---|
public short compressionLevel()
| |
| dictCtx | back to summary |
|---|---|
public LZ4HCCCtxInternal dictCtx()
| |
| dictLimit | back to summary |
|---|---|
public int dictLimit()
| |
| dictStart | back to summary |
|---|---|
public ByteBuffer dictStart(int capacity)
| |
| dirty | back to summary |
|---|---|
public byte dirty()
| |
| end | back to summary |
|---|---|
public ByteBuffer end(int capacity)
| |
| favorDecSpeed | back to summary |
|---|---|
public byte favorDecSpeed()
| |
| getElementFactory | back to summary |
|---|---|
| protected LZ4HCCCtxInternal getElementFactory() Implements abstract org.
| |
| hashTable | back to summary |
|---|---|
public IntBuffer hashTable()
| |
| hashTable | back to summary |
|---|---|
public int hashTable(int index)
| |
| lowLimit | back to summary |
|---|---|
public int lowLimit()
| |
| nextToUpdate | back to summary |
|---|---|
public int nextToUpdate()
| |
| prefixStart | back to summary |
|---|---|
public ByteBuffer prefixStart(int capacity)
| |
| self | back to summary |
|---|---|
| protected LZ4HCCCtxInternal. Implements abstract org.
| |