Tabnine Logo
HashConfigWrapper.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.koloboke.collect.impl.hash.HashConfigWrapper
constructor

Best Java code snippets using com.koloboke.collect.impl.hash.HashConfigWrapper.<init> (Showing top 7 results out of 315)

origin: com.koloboke/koloboke-impl-jdk6-7

AbstractHashFactory(HashConfig hashConf, int defaultExpectedSize) {
  this.hashConf = hashConf;
  configWrapper = new HashConfigWrapper(hashConf);
  this.defaultExpectedSize = defaultExpectedSize;
}
origin: com.koloboke/koloboke-impl-jdk8

AbstractHashFactory(HashConfig hashConf, int defaultExpectedSize) {
  this.hashConf = hashConf;
  configWrapper = new HashConfigWrapper(hashConf);
  this.defaultExpectedSize = defaultExpectedSize;
}
origin: mewna/catnip

KolobokeLongEntityMap(HashConfig hashConfig, int expectedSize) {
  this.init(new HashConfigWrapper(hashConfig), expectedSize);
}

origin: dremio/dremio-oss

public LBlockHashTableEight(HashConfig config, BufferAllocator allocator, int initialSize) {
 this.allocator = allocator;
 this.config = new HashConfigWrapper(config);
 internalInit(LHashCapacities.capacity(this.config, initialSize, false));
}
origin: dremio/dremio-oss

public QBlockHashTable(HashConfig config, PivotDef pivot, BufferAllocator allocator, int initialSize, int defaultVariableLengthSize, ResizeListener listener) {
 this.pivot = pivot;
 this.allocator = allocator;
 this.config = new HashConfigWrapper(config);
 this.defaultVariableLengthSize = defaultVariableLengthSize;
 this.fixedOnly = pivot.getVariableCount() == 0;
 this.listener = listener;
 internalInit(QHashCapacities.capacity(this.config, initialSize, false));
}
origin: dremio/dremio-oss

public LBlockHashTableNoSpill(HashConfig config, PivotDef pivot, BufferAllocator allocator, int initialSize, int defaultVariableLengthSize, ResizeListenerNoSpill listener) {
 this.pivot = pivot;
 this.allocator = allocator;
 this.config = new HashConfigWrapper(config);
 this.defaultVariableLengthSize = defaultVariableLengthSize;
 this.fixedOnly = pivot.getVariableCount() == 0;
 this.listener = listener;
 internalInit(LHashCapacities.capacity(this.config, initialSize, false));
}
origin: dremio/dremio-oss

public LBlockHashTable(HashConfig config,
            PivotDef pivot,
            BufferAllocator allocator,
            int initialSize,
            int defaultVariableLengthSize,
            boolean enforceVarWidthBufferLimit,
            ResizeListener listener,
            final int maxHashTableBatchSize) {
 this.pivot = pivot;
 this.allocator = allocator;
 this.config = new HashConfigWrapper(config);
 this.fixedOnly = pivot.getVariableCount() == 0;
 this.enforceVarWidthBufferLimit = enforceVarWidthBufferLimit;
 this.listener = listener;
 /* maximum records that can be stored in hashtable block/chunk */
 this.MAX_VALUES_PER_BATCH = maxHashTableBatchSize;
 this.variableBlockMaxLength = (pivot.getVariableCount() == 0) ? 0 : (MAX_VALUES_PER_BATCH * (((defaultVariableLengthSize + VAR_OFFSET_SIZE) * pivot.getVariableCount()) + VAR_LENGTH_SIZE));
 this.preallocatedSingleBatch = false;
 this.allocatedForFixedBlocks = 0;
 this.allocatedForVarBlocks = 0;
 this.unusedForFixedBlocks = 0;
 this.unusedForVarBlocks = 0;
 internalInit(LHashCapacities.capacity(this.config, initialSize, false));
 logger.debug("initialized hashtable, maxSize:{}, capacity:{}, batches:{}, maxVariableBlockLength:{}, maxValuesPerBatch:{}", maxSize, capacity, batches, variableBlockMaxLength, MAX_VALUES_PER_BATCH);
}
com.koloboke.collect.impl.hashHashConfigWrapper<init>

Popular methods of HashConfigWrapper

  • config
  • maxSize
  • grow
    Computes grown hash table capacity for the given capacity and growth factor of this config.
  • maxCapacity
    Computes hash table capacity for the given size and min load of this config.
  • minCapacity
    Computes hash table capacity for the given size and max load of this config.
  • targetCapacity
    Computes hash table capacity for the given size and target load of this config.

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ImageIO (javax.imageio)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now