struct ZSTD_Sequence {
unsigned int offset;
unsigned int litLength;
unsigned int matchLength;
unsigned int rep;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ZSTDSequence.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | LITLENGTH
The struct member offsets. |
| public static final int | MATCHLENGTH
The struct member offsets. |
| public static final int | OFFSET
The struct member offsets. |
| public static final int | REP
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ZSTDSequence(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static ZSTDSequence | |
| public static ZSTDSequence. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ZSTDSequence | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZSTDSequence. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected ZSTDSequence | 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 ZSTDSequence | |
| public static ZSTDSequence | |
| public static ZSTDSequence. | create(int
the buffer capacity capacity)Returns a new |
| public static ZSTDSequence. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ZSTDSequence | |
| public static ZSTDSequence. | |
| public int | |
| public static ZSTDSequence | |
| public static ZSTDSequence. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ZSTDSequence | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZSTDSequence. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| LITLENGTH | back to summary |
|---|---|
| public static final int LITLENGTH The struct member offsets. | |
| MATCHLENGTH | back to summary |
|---|---|
| public static final int MATCHLENGTH The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET The struct member offsets. | |
| REP | back to summary |
|---|---|
| public static final int REP The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| ZSTDSequence | back to summary |
|---|---|
| protected ZSTDSequence(long address, ByteBuffer container) | |
| ZSTDSequence | back to summary |
|---|---|
| public ZSTDSequence(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static ZSTDSequence calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ZSTDSequence. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZSTDSequence calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZSTDSequence. Returns a new
| |
| create | back to summary |
|---|---|
| protected ZSTDSequence create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ZSTDSequence create() Returns a new | |
| create | back to summary |
|---|---|
| public static ZSTDSequence create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ZSTDSequence. Returns a new
| |
| create | back to summary |
|---|---|
| public static ZSTDSequence. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ZSTDSequence createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ZSTDSequence. Like
| |
| litLength | back to summary |
|---|---|
| public int litLength() literal length of the sequence
| |
| malloc | back to summary |
|---|---|
| public static ZSTDSequence malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ZSTDSequence. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZSTDSequence malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZSTDSequence. Returns a new
| |
| matchLength | back to summary |
|---|---|
| public int matchLength() match length of the sequence. Note Users of this API may provide a sequence with
| |
| nlitLength | back to summary |
|---|---|
| public static int nlitLength(long struct) Unsafe version of | |
| nmatchLength | back to summary |
|---|---|
| public static int nmatchLength(long struct) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static int noffset(long struct) Unsafe version of | |
| nrep | back to summary |
|---|---|
| public static int nrep(long struct) Unsafe version of | |
| offset | back to summary |
|---|---|
| public int offset() the offset of the match. (NOT the same as the offset code) If
| |
| rep | back to summary |
|---|---|
| public int rep() Represents which repeat offset is represented by the field Repeat offsets are essentially previous offsets from previous sequences sorted in recency order. For more detail, see
Note This field is optional.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
ZSTDSequence structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ZSTDSequence |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected ZSTDSequence | |
| public int | |
| public int | |
| public int | |
| public int | |
| protected ZSTDSequence. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ZSTDSequence 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) | |
| getElementFactory | back to summary |
|---|---|
| protected ZSTDSequence getElementFactory() Implements abstract org.
| |
| litLength | back to summary |
|---|---|
public int litLength()
| |
| matchLength | back to summary |
|---|---|
public int matchLength()
| |
| offset | back to summary |
|---|---|
public int offset()
| |
| rep | back to summary |
|---|---|
public int rep()
| |
| self | back to summary |
|---|---|
| protected ZSTDSequence. Implements abstract org.
| |