k and d are the only required parameters. For others, value 0 means default.
struct ZDICT_cover_params_t {
unsigned k;
unsigned d;
unsigned steps;
unsigned nbThreads;
double splitPoint;
ZDICT_params_t zParams;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ZDICTCoverParams.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | D
The struct member offsets. |
| public static final int | K
The struct member offsets. |
| public static final int | NBTHREADS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPLITPOINT
The struct member offsets. |
| public static final int | STEPS
The struct member offsets. |
| public static final int | ZPARAMS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ZDICTCoverParams(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ZDICTCoverParams | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZDICTCoverParams. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams. | |
| public static ZDICTCoverParams. | |
| protected ZDICTCoverParams | 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 ZDICTCoverParams | |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams. | create(int
the buffer capacity capacity)Returns a new |
| public static ZDICTCoverParams. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams. | |
| public int | |
| public ZDICTCoverParams | |
| public int | |
| public ZDICTCoverParams | |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ZDICTCoverParams | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZDICTCoverParams. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams | |
| public static ZDICTCoverParams. | |
| public static ZDICTCoverParams. | |
| public int | nbThreads()
number of threads : constraint: |
| public ZDICTCoverParams | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static double | |
| public static void | |
| public static int | |
| public static void | |
| public static ZDICTParams | |
| public static void | |
| public ZDICTCoverParams | set(int k, int d, int steps, int nbThreads, double splitPoint, ZDICTParams zParams)
Initializes this struct with the specified values. |
| public ZDICTCoverParams | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public double | splitPoint()
percentage of samples used for training: Only used for optimization: the first |
| public ZDICTCoverParams | |
| public int | steps()
Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked |
| public ZDICTCoverParams | |
| public ZDICTParams | |
| public ZDICTCoverParams | |
| public ZDICTCoverParams |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| D | back to summary |
|---|---|
| public static final int D The struct member offsets. | |
| K | back to summary |
|---|---|
| public static final int K The struct member offsets. | |
| NBTHREADS | back to summary |
|---|---|
| public static final int NBTHREADS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SPLITPOINT | back to summary |
|---|---|
| public static final int SPLITPOINT The struct member offsets. | |
| STEPS | back to summary |
|---|---|
| public static final int STEPS The struct member offsets. | |
| ZPARAMS | back to summary |
|---|---|
| public static final int ZPARAMS The struct member offsets. | |
| ZDICTCoverParams | back to summary |
|---|---|
| protected ZDICTCoverParams(long address, ByteBuffer container) | |
| ZDICTCoverParams | back to summary |
|---|---|
| public ZDICTCoverParams(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static ZDICTCoverParams calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ZDICTCoverParams. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZDICTCoverParams calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZDICTCoverParams. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTCoverParams callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTCoverParams callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected ZDICTCoverParams create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ZDICTCoverParams create() Returns a new | |
| create | back to summary |
|---|---|
| public static ZDICTCoverParams create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ZDICTCoverParams. Returns a new
| |
| create | back to summary |
|---|---|
| public static ZDICTCoverParams. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ZDICTCoverParams createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ZDICTCoverParams. Like
| |
| d | back to summary |
|---|---|
| public int d()
| |
| d | back to summary |
|---|---|
| public ZDICTCoverParams d(int value) Sets the specified value to the | |
| k | back to summary |
|---|---|
| public int k() segment size : constraint:
| |
| k | back to summary |
|---|---|
| public ZDICTCoverParams k(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static ZDICTCoverParams malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ZDICTCoverParams. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZDICTCoverParams malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZDICTCoverParams. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTCoverParams mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTCoverParams mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTCoverParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbThreads | back to summary |
|---|---|
| public int nbThreads() number of threads : constraint:
| |
| nbThreads | back to summary |
|---|---|
| public ZDICTCoverParams nbThreads(int value) Sets the specified value to the | |
| nd | back to summary |
|---|---|
| public static int nd(long struct) Unsafe version of | |
| nd | back to summary |
|---|---|
| public static void nd(long struct, int value) Unsafe version of | |
| nk | back to summary |
|---|---|
| public static int nk(long struct) Unsafe version of | |
| nk | back to summary |
|---|---|
| public static void nk(long struct, int value) Unsafe version of | |
| nnbThreads | back to summary |
|---|---|
| public static int nnbThreads(long struct) Unsafe version of | |
| nnbThreads | back to summary |
|---|---|
| public static void nnbThreads(long struct, int value) Unsafe version of | |
| nsplitPoint | back to summary |
|---|---|
| public static double nsplitPoint(long struct) Unsafe version of | |
| nsplitPoint | back to summary |
|---|---|
| public static void nsplitPoint(long struct, double value) Unsafe version of | |
| nsteps | back to summary |
|---|---|
| public static int nsteps(long struct) Unsafe version of | |
| nsteps | back to summary |
|---|---|
| public static void nsteps(long struct, int value) Unsafe version of | |
| nzParams | back to summary |
|---|---|
| public static ZDICTParams nzParams(long struct) Unsafe version of | |
| nzParams | back to summary |
|---|---|
| public static void nzParams(long struct, ZDICTParams value) Unsafe version of | |
| set | back to summary |
|---|---|
| public ZDICTCoverParams set(int k, int d, int steps, int nbThreads, double splitPoint, ZDICTParams zParams) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public ZDICTCoverParams set(ZDICTCoverParams src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| splitPoint | back to summary |
|---|---|
| public double splitPoint() percentage of samples used for training: Only used for optimization: the first | |
| splitPoint | back to summary |
|---|---|
| public ZDICTCoverParams splitPoint(double value) Sets the specified value to the | |
| steps | back to summary |
|---|---|
| public int steps() Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked
| |
| steps | back to summary |
|---|---|
| public ZDICTCoverParams steps(int value) Sets the specified value to the | |
| zParams | back to summary |
|---|---|
public ZDICTParams zParams()
| |
| zParams | back to summary |
|---|---|
| public ZDICTCoverParams zParams(ZDICTParams value) Copies the specified | |
| zParams | back to summary |
|---|---|
| public ZDICTCoverParams zParams(Consumer<ZDICTParams> consumer) Passes the | |
ZDICTCoverParams structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ZDICTCoverParams |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ZDICTCoverParams. | |
| protected ZDICTCoverParams | |
| public int | |
| public ZDICTCoverParams. | |
| public int | |
| public ZDICTCoverParams. | |
| protected ZDICTCoverParams. | |
| public double | |
| public ZDICTCoverParams. | |
| public int | |
| public ZDICTCoverParams. | |
| public ZDICTParams | |
| public ZDICTCoverParams. | |
| public ZDICTCoverParams. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ZDICTCoverParams 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) | |
| d | back to summary |
|---|---|
public int d()
| |
| d | back to summary |
|---|---|
| public ZDICTCoverParams. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected ZDICTCoverParams getElementFactory() Implements abstract org.
| |
| k | back to summary |
|---|---|
public int k()
| |
| k | back to summary |
|---|---|
| public ZDICTCoverParams. Sets the specified value to the | |
| nbThreads | back to summary |
|---|---|
public int nbThreads()
| |
| nbThreads | back to summary |
|---|---|
| public ZDICTCoverParams. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected ZDICTCoverParams. Implements abstract org.
| |
| splitPoint | back to summary |
|---|---|
public double splitPoint()
| |
| splitPoint | back to summary |
|---|---|
| public ZDICTCoverParams. Sets the specified value to the | |
| steps | back to summary |
|---|---|
public int steps()
| |
| steps | back to summary |
|---|---|
| public ZDICTCoverParams. Sets the specified value to the | |
| zParams | back to summary |
|---|---|
public ZDICTParams zParams()
| |
| zParams | back to summary |
|---|---|
| public ZDICTCoverParams. Copies the specified | |
| zParams | back to summary |
|---|---|
| public ZDICTCoverParams. Passes the | |