Home
last modified time | relevance | path

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

/external/antlr/runtime/ObjC/Framework/
DLinkedHashMap.h220 loadFactor:(float)loadFactor;
222 loadFactor:(float)loadFactor
225 - (id) init:(NSInteger)initialCapacity loadFactor:(float)loadFactor accessOrder:(BOOL)accessOrder;
226 - (id) init:(NSInteger)initialCapacity loadFactor:(float)loadFactor;
DLinkedHashMap.m224 * @param loadFactor the load factor
229 loadFactor:(float)loadFactor
233 loadFactor:loadFactor
237 + (id) newLinkedHashMap:(NSInteger)anInitialCapacity loadFactor:(float)loadFactor
239 return [[LinkedHashMap alloc] init:anInitialCapacity loadFactor:loadFactor];
244 return [[LinkedHashMap alloc] init:anInitialCapacity loadFactor:DEFAULT_LOAD_FACTOR];
252 * @param loadFactor the load factor
258 - (id) init:(NSInteger)anInitialCapacity loadFactor:(float)aLoadFactor accessOrder:(BOOL)anAccessOr…
260 self = [super init:anInitialCapacity loadFactor:aLoadFactor];
269 - (id) init:(NSInteger)anInitialCapacity loadFactor:(float)aLoadFactor
[all …]
DHashMap.h206 float loadFactor; variable
233 @property (assign) float loadFactor;
242 + (id) newHashMap:(NSInteger)anInitialCapacity loadFactor:(float)loadFactor;
248 - (id) init:(NSInteger)anInitialCapacity loadFactor:(float)loadFactor;
324 - (float) loadFactor;
DHashMap.m467 @synthesize loadFactor;
486 return [[HashMap alloc] init:initialCapacity loadFactor:DEFAULT_LOAD_FACTOR];
489 + (id) newHashMap:(NSInteger)initialCapacity loadFactor:(float)aLoadFactor
491 return [[HashMap alloc] init:initialCapacity loadFactor:aLoadFactor];
505 loadFactor = DEFAULT_LOAD_FACTOR;
541 loadFactor = DEFAULT_LOAD_FACTOR;
574 * @param loadFactor the load factor
578 - (id) init:(NSInteger)initialCapacity loadFactor:(float)aLoadFactor
587 if (aLoadFactor <= 0 /* || [Float isNaN:loadFactor] */)
597 loadFactor = aLoadFactor;
[all …]
/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/testng/src/test/java/test/morten/
DSampleTest.java8 private float loadFactor = 0.3f; field in SampleTest
24 public SampleTest(int capacity, float loadFactor) in SampleTest() argument
28 this.loadFactor=loadFactor; in SampleTest()
/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/testng/src/test/java/test/factory/
DNestedStaticFactoryTest.java29 public NestedStaticFactoryTest(int capacity, float loadFactor) { in NestedStaticFactoryTest() argument
32 this.m_loadFactor=loadFactor; in NestedStaticFactoryTest()
DNestedFactoryTest.java29 public NestedFactoryTest(int capacity, float loadFactor) { in NestedFactoryTest() argument
32 this.m_loadFactor=loadFactor; in NestedFactoryTest()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java23 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { in LocaleObjectCache() argument
24 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DLocaleObjectCache.java23 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { in LocaleObjectCache() argument
24 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleObjectCache.java27 public LocaleObjectCache(int initialCapacity, float loadFactor, int concurrencyLevel) { in LocaleObjectCache() argument
28 … _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
/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()