Class ZDICTCoverParams

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class ZDICTCoverParams
    extends Struct
    implements NativeResource
    k and d are the only required parameters. For others, value 0 means default.

    Member documentation

    • k – segment size : constraint: 0 < k : Reasonable range [16, 2048+]
    • ddmer size : constraint: 0 < d <= k : Reasonable range [6, 16]
    • steps – Number of steps : Only used for optimization : 0 means default (32) : Higher means more parameters checked
    • nbThreads – Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined.

    Layout

    
     struct ZDICT_cover_params_t {
         unsigned k;
         unsigned d;
         unsigned steps;
         unsigned nbThreads;
         ZDICT_params_t zParams;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • K, D, STEPS, NBTHREADS, ZPARAMS

        The struct member offsets.
    • Constructor Detail

      • ZDICTCoverParams

        public ZDICTCoverParams​(java.nio.ByteBuffer container)
        Creates a ZDICTCoverParams instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.