Searched refs:max (Results 126 - 135 of 135) sorted by relevance

123456

/libcore/ojluni/src/main/java/sun/misc/
H A DFDBigInteger.java208 int n = Math.max((nDigits + 8) / 9, 2); // estimate size needed.
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DDatagramChannelImpl.java445 int newSize = Math.max(rem, 1);
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1878 public static final int max = 0; field in class:R
/libcore/jsr166-tests/src/test/java/jsr166/
H A DForkJoinTaskTest.java41 Math.max(2, Runtime.getRuntime().availableProcessors());
H A DCountedCompleterTest.java39 Math.max(2, Runtime.getRuntime().availableProcessors());
/libcore/ojluni/src/main/java/java/util/
H A DCollections.java709 public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) { method in class:Collections
745 public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) { method in class:Collections
747 return (T)max((Collection) coll);
H A DHashMap.java1389 float lf = Math.min(Math.max(0.25f, loadFactor), 4.0f);
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java854 int level = 1, max;
859 if (level <= (max = h.level)) {
864 level = max + 1; // hold in array and later pick the one to use
H A DForkJoinPool.java751 static final int SMASK = 0xffff; // short bits == max index
752 static final int MAX_CAP = 0x7fff; // max #workers - 1
754 static final int SQMASK = 0x007e; // max 64 (even) slots
3503 COMMON_PARALLELISM = Math.max(common.config & SMASK, 1);
/libcore/luni/src/test/java/libcore/java/util/
H A DCollectionsTest.java221 int targetSdkForTest = Math.max(minimumTargetSdkForTest,

Completed in 335 milliseconds

123456