Home
last modified time | relevance | path

Searched refs:loadFactor (Results 1 – 11 of 11) sorted by relevance

/external/emma/core/java12/com/vladium/util/
DIntSet.java49 public IntSet (int initialCapacity, final float loadFactor) in IntSet() argument
52 if ((loadFactor <= 0.0) || (loadFactor >= 1.0 + 1.0E-6)) in IntSet()
53 … throw new IllegalArgumentException ("loadFactor not in (0.0, 1.0] range: " + loadFactor); in IntSet()
57 m_loadFactor = loadFactor > 1.0 ? 1.0F : loadFactor; in IntSet()
58 m_sizeThreshold = (int) (initialCapacity * loadFactor); in IntSet()
DIntObjectMap.java51 public IntObjectMap (int initialCapacity, final float loadFactor) in IntObjectMap() argument
54 if ((loadFactor <= 0.0) || (loadFactor >= 1.0 + 1.0E-6)) in IntObjectMap()
55 … throw new IllegalArgumentException ("loadFactor not in (0.0, 1.0] range: " + loadFactor); in IntObjectMap()
59 m_loadFactor = loadFactor > 1.0 ? 1.0F : loadFactor; in IntObjectMap()
60 m_sizeThreshold = (int) (initialCapacity * loadFactor); in IntObjectMap()
DIntIntMap.java51 public IntIntMap (int initialCapacity, final float loadFactor) in IntIntMap() argument
54 if ((loadFactor <= 0.0) || (loadFactor >= 1.0 + 1.0E-6)) in IntIntMap()
55 … throw new IllegalArgumentException ("loadFactor not in (0.0, 1.0] range: " + loadFactor); in IntIntMap()
59 m_loadFactor = loadFactor > 1.0 ? 1.0F : loadFactor; in IntIntMap()
60 m_sizeThreshold = (int) (initialCapacity * loadFactor); in IntIntMap()
DObjectIntMap.java53 public ObjectIntMap (int initialCapacity, final float loadFactor) in ObjectIntMap() argument
56 if ((loadFactor <= 0.0) || (loadFactor >= 1.0 + 1.0E-6)) in ObjectIntMap()
57 … throw new IllegalArgumentException ("loadFactor not in (0.0, 1.0] range: " + loadFactor); in ObjectIntMap()
61 m_loadFactor = loadFactor > 1.0 ? 1.0F : loadFactor; in ObjectIntMap()
62 m_sizeThreshold = (int) (initialCapacity * loadFactor); in ObjectIntMap()
DSoftValueMap.java72 …public SoftValueMap (int initialCapacity, final float loadFactor, final int readClearCheckFrequenc… in SoftValueMap() argument
76 if ((loadFactor <= 0.0) || (loadFactor >= 1.0 + 1.0E-6)) in SoftValueMap()
77 … throw new IllegalArgumentException ("loadFactor not in (0.0, 1.0] range: " + loadFactor); in SoftValueMap()
87 m_loadFactor = loadFactor; in SoftValueMap()
88 m_sizeThreshold = (int) (initialCapacity * loadFactor); in SoftValueMap()
/external/guava/guava/src/com/google/common/collect/
DHashing.java56 static int closedTableSize(int expectedEntries, double loadFactor) { in closedTableSize() argument
62 if (expectedEntries > (int) (loadFactor * tableSize)) { in closedTableSize()
69 static boolean needsResizing(int size, int tableSize, double loadFactor) { in needsResizing() argument
70 return size > loadFactor * tableSize && tableSize < MAX_TABLE_SIZE; in needsResizing()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DIntMap.java49 private final float loadFactor; field in IntMap
60 public IntMap(int initialCapacity, float loadFactor) { in IntMap() argument
67 if (loadFactor <= 0){ in IntMap()
74 this.loadFactor = loadFactor; in IntMap()
75 this.threshold = (int) (capacity * loadFactor); in IntMap()
161 threshold = (int) (newCapacity * loadFactor); in put()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java21 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { in LocaleObjectCache() argument
22 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
/external/javassist/src/main/javassist/scopedpool/
DSoftValueHashMap.java96 public SoftValueHashMap(int initialCapacity, float loadFactor) { in SoftValueHashMap() argument
97 hash = new HashMap(initialCapacity, loadFactor); in SoftValueHashMap()
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
DConcurrentHashMap.java48 public ConcurrentHashMap(int initialCapacity, float loadFactor) { in ConcurrentHashMap() argument
49 this.backingMap = new HashMap<K, V>(initialCapacity, loadFactor); in ConcurrentHashMap()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java475 float loadFactor, in CapacityEnforcingLinkedHashMap() argument
480 super(initialCapacity, loadFactor, accessOrder); in CapacityEnforcingLinkedHashMap()