Searched refs:roundUpToPowerOfTwo (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DHashMap.java156 capacity = Collections.roundUpToPowerOfTwo(capacity);
536 int newCapacity = Collections.roundUpToPowerOfTwo(capacityForInitSize(numMappings));
1011 capacity = Collections.roundUpToPowerOfTwo(capacity);
H A DHashtable.java135 capacity = Collections.roundUpToPowerOfTwo(capacity);
440 int newCapacity = Collections.roundUpToPowerOfTwo(capacityForInitSize(numMappings));
1095 capacity = Collections.roundUpToPowerOfTwo(capacity);
H A DCollections.java3438 public static int roundUpToPowerOfTwo(int i) { method in class:Collections

Completed in 592 milliseconds