Searched refs:INITIAL_CAPACITY (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/util/Map/ |
D | MapBinToFromTreeTest.java | 52 static final int INITIAL_CAPACITY = 64; field in MapBinToFromTreeTest 68 { HashMap.class.getName(), new HashMap(INITIAL_CAPACITY, LOAD_FACTOR) }, in mapProvider() 69 { LinkedHashMap.class.getName(), new LinkedHashMap(INITIAL_CAPACITY, LOAD_FACTOR) }, in mapProvider() 70 … { ConcurrentHashMap.class.getName(), new ConcurrentHashMap(INITIAL_CAPACITY, LOAD_FACTOR) }, in mapProvider() 126 put(INITIAL_CAPACITY, m, (i, s) -> { }); in testUntreeifyOnResizeWithGet() 128 for (int i = INITIAL_CAPACITY; i < SIZE; i++) { in testUntreeifyOnResizeWithGet() 134 for (int j = 0; j < INITIAL_CAPACITY; j++) { in testUntreeifyOnResizeWithGet() 138 for (int j = INITIAL_CAPACITY; j <= i; j++) { in testUntreeifyOnResizeWithGet() 148 put(INITIAL_CAPACITY, m, (i, s) -> { }); in testUntreeifyOnResizeWithTraverse() 152 for (int i = INITIAL_CAPACITY; i < SIZE; i++) { in testUntreeifyOnResizeWithTraverse() [all …]
|
/libcore/ojluni/src/test/java/util/HashMap/ |
D | PutNullKey.java | 40 static final int INITIAL_CAPACITY = 64; field in PutNullKey 84 Map<Object,Object> m = new HashMap<>(INITIAL_CAPACITY, LOAD_FACTOR); in main()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 342 private static final int INITIAL_CAPACITY = 16; field in ThreadLocal.ThreadLocalMap 387 table = new Entry[INITIAL_CAPACITY]; in ThreadLocalMap() 388 int i = firstKey.threadLocalHashCode & (INITIAL_CAPACITY - 1); in ThreadLocalMap() 391 setThreshold(INITIAL_CAPACITY); in ThreadLocalMap()
|
/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 58 private static final int INITIAL_CAPACITY = 10; field in AttributedString 416 int[] newRunStarts = new int[INITIAL_CAPACITY]; in createRunAttributeDataVectors() 419 … Vector<Attribute>[] newRunAttributes = (Vector<Attribute>[]) new Vector<?>[INITIAL_CAPACITY]; in createRunAttributeDataVectors() 422 Vector<Object>[] newRunAttributeValues = (Vector<Object>[]) new Vector<?>[INITIAL_CAPACITY]; in createRunAttributeDataVectors()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 177 private static final int INITIAL_CAPACITY = 16; // 0x10 field in ThreadLocal.ThreadLocalMap
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | SubmissionPublisher.java | 193 static final int INITIAL_CAPACITY = 32; field in SubmissionPublisher 346 Object[] array = new Object[max < INITIAL_CAPACITY ? in subscribe() 347 max : INITIAL_CAPACITY]; in subscribe()
|
D | ScheduledThreadPoolExecutor.java | 931 private static final int INITIAL_CAPACITY = 16; field in ScheduledThreadPoolExecutor.DelayedWorkQueue 933 new RunnableScheduledFuture<?>[INITIAL_CAPACITY];
|