/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
WrappedByteBufferTest.java | 66 ByteBuffer.wrap(array, 1, Integer.MAX_VALUE); 72 ByteBuffer.wrap(array, Integer.MAX_VALUE, 1); 78 ByteBuffer.wrap((byte[])null, 1, Integer.MAX_VALUE);
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
LongsTest.java | 19 import static java.lang.Long.MAX_VALUE; 50 { MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE }; 145 assertEquals(MAX_VALUE, Longs.max(MAX_VALUE)); 161 assertEquals(MAX_VALUE, Longs.min(MAX_VALUE)); 277 new long[] {MAX_VALUE, MAX_VALUE - (long) 1}, 278 new long[] {MAX_VALUE, MAX_VALUE}, [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
LongsTest.java | 19 import static java.lang.Long.MAX_VALUE; 53 { MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE }; 156 assertEquals(MAX_VALUE, Longs.max(MAX_VALUE)); 172 assertEquals(MAX_VALUE, Longs.min(MAX_VALUE)); 288 new long[] {MAX_VALUE, MAX_VALUE - (long) 1}, 289 new long[] {MAX_VALUE, MAX_VALUE}, [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
InfiniteStreamWithLimitOpTest.java | 121 // any element within the range [0, Long.MAX_VALUE) may be 137 return refLongRange(0, Long.MAX_VALUE); 147 return intRange(0, Integer.MAX_VALUE); 157 return longRange(0, Long.MAX_VALUE); 181 // Range is [0, Long.MAX_VALUE), splits are SUBSIZED 192 // Range is [0, Integer.MAX_VALUE), splits are SUBSIZED 203 // Range is [0, Long.MAX_VALUE), splits are SUBSIZED 228 // Range is [0, Long.MAX_VALUE), splits are SUBSIZED 239 // Range is [0, Integer.MAX_VALUE), splits are SUBSIZED 250 // Range is [0, Long.MAX_VALUE), splits are SUBSIZE [all...] |
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
_wcstoul.h | 44 * MAX_VALUE : upper limit of the return type 90 cutoff = MAX_VALUE / (uint_type)base; 91 cutlim = (int)(MAX_VALUE % (uint_type)base); 102 acc = MAX_VALUE;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ShapeTest.java | 51 mockShape.resize(Float.MAX_VALUE, Float.MAX_VALUE); 52 assertEquals(Float.MAX_VALUE, mockShape.getWidth()); 53 assertEquals(Float.MAX_VALUE, mockShape.getHeight());
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_lit16/ |
AddIntLit16_7.java | 22 return 0 + Short.MAX_VALUE;
|
AddIntLit16_9.java | 22 return Integer.MAX_VALUE + 1;
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_lit8/ |
AddIntLit8_2.java | 22 return Byte.MIN_VALUE + Byte.MAX_VALUE;
|
AddIntLit8_7.java | 22 return 0 + Byte.MAX_VALUE;
|
AddIntLit8_9.java | 22 return Integer.MAX_VALUE + 1;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit16/d/ |
T_add_int_lit16_7.java | 22 return 0 + Short.MAX_VALUE;
|
T_add_int_lit16_9.java | 22 return Integer.MAX_VALUE + 1;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit8/d/ |
T_add_int_lit8_2.java | 22 return Byte.MIN_VALUE + Byte.MAX_VALUE;
|
T_add_int_lit8_7.java | 22 return 0 + Byte.MAX_VALUE;
|
T_add_int_lit8_9.java | 22 return Integer.MAX_VALUE + 1;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int_lit16/d/ |
T_and_int_lit16_5.java | 22 return Short.MAX_VALUE & Short.MIN_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int_lit8/d/ |
T_and_int_lit8_5.java | 22 return Short.MAX_VALUE & Short.MIN_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmp_long/ |
Test_cmp_long.java | 50 * @title Arguments = Long.MAX_VALUE > Long.MIN_VALUE 54 assertEquals(1, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 58 * @title Arguments = Long.MIN_VALUE < Long.MAX_VALUE 62 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpg_double/ |
Test_cmpg_double.java | 50 * @title Arguments = Double.NaN, Double.MAX_VALUE 54 assertEquals(1, t.run(Double.NaN, Double.MAX_VALUE)); 74 * @title Arguments = Double.POSITIVE_INFINITY, Double.MAX_VALUE 78 assertEquals(1, t.run(Double.POSITIVE_INFINITY, Double.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpg_float/ |
Test_cmpg_float.java | 50 * @title Arguments = Float.NaN, Float.MAX_VALUE 54 assertEquals(1, t.run(Float.NaN, Float.MAX_VALUE)); 74 * @title Arguments = Float.POSITIVE_INFINITY, Float.MAX_VALUE 78 assertEquals(1, t.run(Float.POSITIVE_INFINITY, Float.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpl_double/ |
Test_cmpl_double.java | 50 * @title Arguments = Double.NaN, Double.MAX_VALUE 54 assertEquals(-1, t.run(Double.NaN, Double.MAX_VALUE)); 74 * @title Arguments = Double.POSITIVE_INFINITY, Double.MAX_VALUE 78 assertEquals(1, t.run(Double.POSITIVE_INFINITY, Double.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpl_float/ |
Test_cmpl_float.java | 50 * @title Arguments = Float.NaN, Float.MAX_VALUE 54 assertEquals(-1, t.run(Float.NaN, Float.MAX_VALUE)); 74 * @title Arguments = Float.POSITIVE_INFINITY, Float.MAX_VALUE 78 assertEquals(1, t.run(Float.POSITIVE_INFINITY, Float.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_lit16/d/ |
T_div_int_lit16_10.java | 22 return Integer.MIN_VALUE / Short.MAX_VALUE;
|
T_div_int_lit16_11.java | 22 return 1 / Short.MAX_VALUE;
|