struct ZSTD_compressionParameters {
unsigned int windowLog;
unsigned int chainLog;
unsigned int hashLog;
unsigned int searchLog;
unsigned int minMatch;
unsigned int targetLength;
ZSTD_strategy strategy;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ZSTDCompressionParameters.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CHAINLOG
The struct member offsets. |
| public static final int | HASHLOG
The struct member offsets. |
| public static final int | MINMATCH
The struct member offsets. |
| public static final int | SEARCHLOG
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STRATEGY
The struct member offsets. |
| public static final int | TARGETLENGTH
The struct member offsets. |
| public static final int | WINDOWLOG
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ZSTDCompressionParameters(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ZSTDCompressionParameters | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZSTDCompressionParameters. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters. | |
| public static ZSTDCompressionParameters. | |
| public int | chainLog()
fully searched segment: larger == more compression, slower, more memory (useless for fast) |
| public ZSTDCompressionParameters | |
| protected ZSTDCompressionParameters | 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 ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters | create(long address)
Returns a new |
| public static ZSTDCompressionParameters. | create(int
the buffer capacity capacity)Returns a new |
| public static ZSTDCompressionParameters. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters. | |
| public int | |
| public ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ZSTDCompressionParameters | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZSTDCompressionParameters. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters | |
| public static ZSTDCompressionParameters. | |
| public static ZSTDCompressionParameters. | |
| public int | |
| public ZSTDCompressionParameters | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public ZSTDCompressionParameters | |
| public ZSTDCompressionParameters | set(int windowLog, int chainLog, int hashLog, int searchLog, int minMatch, int targetLength, int strategy)
Initializes this struct with the specified values. |
| public ZSTDCompressionParameters | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public ZSTDCompressionParameters | |
| public int | |
| public ZSTDCompressionParameters | |
| public int | windowLog()
largest match distance: larger == more compression, more memory needed during decompression |
| public ZSTDCompressionParameters |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CHAINLOG | back to summary |
|---|---|
| public static final int CHAINLOG The struct member offsets. | |
| HASHLOG | back to summary |
|---|---|
| public static final int HASHLOG The struct member offsets. | |
| MINMATCH | back to summary |
|---|---|
| public static final int MINMATCH The struct member offsets. | |
| SEARCHLOG | back to summary |
|---|---|
| public static final int SEARCHLOG The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STRATEGY | back to summary |
|---|---|
| public static final int STRATEGY The struct member offsets. | |
| TARGETLENGTH | back to summary |
|---|---|
| public static final int TARGETLENGTH The struct member offsets. | |
| WINDOWLOG | back to summary |
|---|---|
| public static final int WINDOWLOG The struct member offsets. | |
| ZSTDCompressionParameters | back to summary |
|---|---|
| protected ZSTDCompressionParameters(long address, ByteBuffer container) | |
| ZSTDCompressionParameters | back to summary |
|---|---|
| public ZSTDCompressionParameters(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| chainLog | back to summary |
|---|---|
| public int chainLog() fully searched segment: larger == more compression, slower, more memory (useless for fast)
| |
| chainLog | back to summary |
|---|---|
| public ZSTDCompressionParameters chainLog(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected ZSTDCompressionParameters create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ZSTDCompressionParameters create() Returns a new | |
| create | back to summary |
|---|---|
| public static ZSTDCompressionParameters create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Returns a new
| |
| create | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ZSTDCompressionParameters createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Like
| |
| hashLog | back to summary |
|---|---|
| public int hashLog() dispatch table: larger == faster, more memory
| |
| hashLog | back to summary |
|---|---|
| public ZSTDCompressionParameters hashLog(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZSTDCompressionParameters. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| minMatch | back to summary |
|---|---|
| public int minMatch() match length searched: larger == faster decompression, sometimes less compression
| |
| minMatch | back to summary |
|---|---|
| public ZSTDCompressionParameters minMatch(int value) Sets the specified value to the | |
| nchainLog | back to summary |
|---|---|
| public static int nchainLog(long struct) Unsafe version of | |
| nchainLog | back to summary |
|---|---|
| public static void nchainLog(long struct, int value) Unsafe version of | |
| nhashLog | back to summary |
|---|---|
| public static int nhashLog(long struct) Unsafe version of | |
| nhashLog | back to summary |
|---|---|
| public static void nhashLog(long struct, int value) Unsafe version of | |
| nminMatch | back to summary |
|---|---|
| public static int nminMatch(long struct) Unsafe version of | |
| nminMatch | back to summary |
|---|---|
| public static void nminMatch(long struct, int value) Unsafe version of | |
| nsearchLog | back to summary |
|---|---|
| public static int nsearchLog(long struct) Unsafe version of | |
| nsearchLog | back to summary |
|---|---|
| public static void nsearchLog(long struct, int value) Unsafe version of | |
| nstrategy | back to summary |
|---|---|
| public static int nstrategy(long struct) Unsafe version of | |
| nstrategy | back to summary |
|---|---|
| public static void nstrategy(long struct, int value) Unsafe version of | |
| ntargetLength | back to summary |
|---|---|
| public static int ntargetLength(long struct) Unsafe version of | |
| ntargetLength | back to summary |
|---|---|
| public static void ntargetLength(long struct, int value) Unsafe version of | |
| nwindowLog | back to summary |
|---|---|
| public static int nwindowLog(long struct) Unsafe version of | |
| nwindowLog | back to summary |
|---|---|
| public static void nwindowLog(long struct, int value) Unsafe version of | |
| searchLog | back to summary |
|---|---|
| public int searchLog() nb of searches: larger == more compression, slower
| |
| searchLog | back to summary |
|---|---|
| public ZSTDCompressionParameters searchLog(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public ZSTDCompressionParameters set(int windowLog, int chainLog, int hashLog, int searchLog, int minMatch, int targetLength, int strategy) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public ZSTDCompressionParameters set(ZSTDCompressionParameters src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| strategy | back to summary |
|---|---|
| public int strategy() see
| |
| strategy | back to summary |
|---|---|
| public ZSTDCompressionParameters strategy(int value) Sets the specified value to the | |
| targetLength | back to summary |
|---|---|
| public int targetLength() acceptable match size for optimal parser (only): larger == more compression, slower
| |
| targetLength | back to summary |
|---|---|
| public ZSTDCompressionParameters targetLength(int value) Sets the specified value to the | |
| windowLog | back to summary |
|---|---|
| public int windowLog() largest match distance: larger == more compression, more memory needed during decompression
| |
| windowLog | back to summary |
|---|---|
| public ZSTDCompressionParameters windowLog(int value) Sets the specified value to the | |
ZSTDCompressionParameters structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ZSTDCompressionParameters |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ZSTDCompressionParameters. | |
| protected ZSTDCompressionParameters | |
| public int | |
| public ZSTDCompressionParameters. | |
| public int | |
| public ZSTDCompressionParameters. | |
| public int | |
| public ZSTDCompressionParameters. | |
| protected ZSTDCompressionParameters. | |
| public int | |
| public ZSTDCompressionParameters. | |
| public int | |
| public ZSTDCompressionParameters. | targetLength(int value)
Sets the specified value to the |
| public int | |
| public ZSTDCompressionParameters. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ZSTDCompressionParameters 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) | |
| chainLog | back to summary |
|---|---|
public int chainLog()
| |
| chainLog | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected ZSTDCompressionParameters getElementFactory() Implements abstract org.
| |
| hashLog | back to summary |
|---|---|
public int hashLog()
| |
| hashLog | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |
| minMatch | back to summary |
|---|---|
public int minMatch()
| |
| minMatch | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |
| searchLog | back to summary |
|---|---|
public int searchLog()
| |
| searchLog | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected ZSTDCompressionParameters. Implements abstract org.
| |
| strategy | back to summary |
|---|---|
public int strategy()
| |
| strategy | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |
| targetLength | back to summary |
|---|---|
public int targetLength()
| |
| targetLength | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |
| windowLog | back to summary |
|---|---|
public int windowLog()
| |
| windowLog | back to summary |
|---|---|
| public ZSTDCompressionParameters. Sets the specified value to the | |