/external/antlr/runtime/ObjC/Framework/ |
D | LinkedHashMap.h | 220 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;
|
D | LinkedHashMap.m | 224 * @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 …]
|
D | HashMap.h | 206 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;
|
D | HashMap.m | 467 @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/ |
D | IntSet.java | 49 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()
|
D | IntObjectMap.java | 51 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()
|
D | IntIntMap.java | 51 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()
|
D | ObjectIntMap.java | 53 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()
|
D | SoftValueMap.java | 72 …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/ |
D | SampleTest.java | 8 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/ |
D | Hashing.java | 56 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/ |
D | NestedStaticFactoryTest.java | 29 public NestedStaticFactoryTest(int capacity, float loadFactor) { in NestedStaticFactoryTest() argument 32 this.m_loadFactor=loadFactor; in NestedStaticFactoryTest()
|
D | NestedFactoryTest.java | 29 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/ |
D | LocaleObjectCache.java | 23 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/ |
D | LocaleObjectCache.java | 23 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/ |
D | LocaleObjectCache.java | 27 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/ |
D | ConcurrentHashMap.java | 48 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/ |
D | LocalCache.java | 475 float loadFactor, in CapacityEnforcingLinkedHashMap() argument 480 super(initialCapacity, loadFactor, accessOrder); in CapacityEnforcingLinkedHashMap()
|