/libcore/benchmarks/src/benchmarks/regression/ |
H A D | LoopingBackwardsBenchmark.java | 27 @Param({"2", "20", "2000", "20000000"}) int max; field in class:LoopingBackwardsBenchmark 32 for (int j = 0; j < max; j++) { 42 for (int j = max - 1; j >= 0; j--) {
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | DoubleSummaryStatistics.java | 30 * A state object for collecting statistics such as count, min, max, sum, and 68 private double max = Double.NEGATIVE_INFINITY; field in class:DoubleSummaryStatistics 73 * max and zero average. 88 max = Math.max(max, value); 104 max = Math.max(max, other.max); [all...] |
H A D | IntSummaryStatistics.java | 30 * A state object for collecting statistics such as count, min, max, sum, and 68 private int max = Integer.MIN_VALUE; field in class:IntSummaryStatistics 72 * {@code Integer.MAX_VALUE} min, {@code Integer.MIN_VALUE} max and zero 87 max = Math.max(max, value); 100 max = Math.max(max, other.max); [all...] |
H A D | LongSummaryStatistics.java | 31 * A state object for collecting statistics such as count, min, max, sum, and 69 private long max = Long.MIN_VALUE; field in class:LongSummaryStatistics 73 * {@code Long.MAX_VALUE} min, {@code Long.MIN_VALUE} max and zero 98 max = Math.max(max, value); 112 max = Math.max(max, other.max); [all...] |
/libcore/ojluni/src/main/java/sun/security/ssl/ |
H A D | ProtocolList.java | 46 final ProtocolVersion min, max; field in class:ProtocolList 68 max = protocols.get(protocols.size() - 1); 72 max = ProtocolVersion.NONE;
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | GeneralSubtree.java | 61 * @params max the maximum BaseDistance 63 public GeneralSubtree(GeneralName name, int min, int max) { argument 66 this.maximum = max;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ThreadGroupTest.java | 465 assertTrue("Had to be possible to change max priority", current 725 private static int random(int max) { argument 726 return 1 + ((new Object()).hashCode() % max);
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Double.java | 1035 * as if by calling {@link Math#max(double, double) Math.max}. 1043 public static double max(double a, double b) { method in class:Double 1044 return Math.max(a, b);
|
H A D | Float.java | 939 * as if by calling {@link Math#max(float, float) Math.max}. 947 public static float max(float a, float b) { method in class:Float 948 return Math.max(a, b);
|
H A D | Long.java | 1234 * as if by calling {@link Math#max(long, long) Math.max}. 1242 public static long max(long a, long b) { method in class:Long 1243 return Math.max(a, b);
|
H A D | Integer.java | 637 i = Math.max(i, 127); 1308 * as if by calling {@link Math#max(int, int) Math.max}. 1316 public static int max(int a, int b) { method in class:Integer 1317 return Math.max(a, b);
|
H A D | Math.java | 1214 public static int max(int a, int b) { method in class:Math 1228 public static long max(long a, long b) { method in class:Math 1249 public static float max(float a, float b) { method in class:Math 1272 public static double max(double a, double b) { method in class:Math
|
H A D | StrictMath.java | 985 public static int max(int a, int b) { method in class:StrictMath 999 public static long max(long a, long b) { method in class:StrictMath 1021 public static float max(float a, float b) { method in class:StrictMath 1047 public static double max(double a, double b) { method in class:StrictMath
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Statement.java | 144 * @param max the new column size limit in bytes; zero means there is no limit 147 * or the condition max >= 0 is not satisfied 150 void setMaxFieldSize(int max) throws SQLException; argument 174 * @param max the new max rows limit; zero means there is no limit 177 * or the condition max >= 0 is not satisfied 180 void setMaxRows(int max) throws SQLException; argument
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | DoubleStream.java | 346 * @apiNote Sum, min, max, and average are all special cases of reduction. 372 * @see #max() 526 * return reduce(Double::max); 535 OptionalDouble max(); method in interface:DoubleStream
|
H A D | Stream.java | 579 * @apiNote Sum, min, max, average, and string concatenation are all special 642 * @see #max(Comparator) 837 Optional<T> max(Comparator<? super T> comparator); method in interface:Stream
|
H A D | DoublePipeline.java | 409 public final OptionalDouble max() { method in class:DoublePipeline 410 return reduce(Math::max);
|
H A D | IntPipeline.java | 424 public final OptionalInt max() { method in class:IntPipeline 425 return reduce(Math::max);
|
H A D | IntStream.java | 341 * @apiNote Sum, min, max, and average are all special cases of reduction. 367 * @see #max() 486 * return reduce(Integer::max); 495 OptionalInt max(); method in interface:IntStream
|
H A D | LongPipeline.java | 406 public final OptionalLong max() { method in class:LongPipeline 407 return reduce(Math::max);
|
H A D | LongStream.java | 345 * @apiNote Sum, min, max, and average are all special cases of reduction. 371 * @see #max() 490 * return reduce(Long::max); 499 OptionalLong max(); method in interface:LongStream
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | CharsetDecoderTest.java | 114 // // OK: average length less than max length 795 public MockCharsetDecoder(Charset cs, float ave, float max) { argument 796 super(cs, ave, max);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentSkipListSetTest.java | 712 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { argument 714 int rangeSize = max - min + 1; 732 assertTrue(element >= min && element <= max); 737 void mutateSubSet(NavigableSet<Integer> set, int min, int max, argument 740 int rangeSize = max - min + 1; 758 if (element >= min && element <= max) { 780 int min, int max, boolean ascending, 782 check(set, min, max, ascending, bs); 783 check(set.descendingSet(), min, max, !ascending, bs); 785 mutateSubSet(set, min, max, b 779 bashSubSet(NavigableSet<Integer> set, int min, int max, boolean ascending, BitSet bs) argument 861 check(NavigableSet<Integer> set, final int min, final int max, final boolean ascending, final BitSet bs) argument [all...] |
H A D | TreeMapTest.java | 823 void mutateMap(NavigableMap<Integer, Integer> map, int min, int max) { argument 825 int rangeSize = max - min + 1; 843 assertTrue(key >= min && key <= max); 848 void mutateSubMap(NavigableMap<Integer, Integer> map, int min, int max) { argument 850 int rangeSize = max - min + 1; 868 if (key >= min && key <= max) { 890 int min, int max, boolean ascending) { 891 check(map, min, max, ascending); 892 check(map.descendingMap(), min, max, !ascending); 894 mutateSubMap(map, min, max); 889 bashSubMap(NavigableMap<Integer, Integer> map, int min, int max, boolean ascending) argument 970 check(NavigableMap<Integer, Integer> map, final int min, final int max, final boolean ascending) argument [all...] |
H A D | TreeSetTest.java | 716 void mutateSet(NavigableSet<Integer> set, int min, int max) { argument 718 int rangeSize = max - min + 1; 736 assertTrue(element >= min && element <= max); 741 void mutateSubSet(NavigableSet<Integer> set, int min, int max) { argument 743 int rangeSize = max - min + 1; 761 if (element >= min && element <= max) { 783 int min, int max, boolean ascending) { 784 check(set, min, max, ascending); 785 check(set.descendingSet(), min, max, !ascending); 787 mutateSubSet(set, min, max); 782 bashSubSet(NavigableSet<Integer> set, int min, int max, boolean ascending) argument 863 check(NavigableSet<Integer> set, final int min, final int max, final boolean ascending) argument [all...] |