/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_long/ |
Test_sub_long.java | 51 * @title Arguments = 0l, Long.MAX_VALUE 55 assertEquals(-9223372036854775807L, t.run(0l, Long.MAX_VALUE)); 59 * @title Arguments = 9223372036854775807L, Long.MAX_VALUE 63 assertEquals(0l, t.run(9223372036854775807L, Long.MAX_VALUE)); 67 * @title Arguments = Long.MAX_VALUE, -1l 71 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, -1l));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_long_2addr/ |
Test_sub_long_2addr.java | 51 * @title Arguments = 0l, Long.MAX_VALUE 55 assertEquals(-9223372036854775807L, t.run(0l, Long.MAX_VALUE)); 59 * @title Arguments = 9223372036854775807L, Long.MAX_VALUE 63 assertEquals(0l, t.run(9223372036854775807L, Long.MAX_VALUE)); 67 * @title Arguments = Long.MAX_VALUE, -1l 71 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, -1l));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long/ |
Test_xor_long.java | 58 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 62 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 66 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 70 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long_2addr/ |
Test_xor_long_2addr.java | 59 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 63 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 67 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 71 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE));
|
/external/guava/guava-tests/test/com/google/common/math/ |
MathPreconditionsTest.java | 41 MathPreconditions.checkPositive("int", Integer.MAX_VALUE); 70 MathPreconditions.checkPositive("long", Long.MAX_VALUE); 114 MathPreconditions.checkNonNegative("int", Integer.MAX_VALUE); 140 MathPreconditions.checkNonNegative("long", Long.MAX_VALUE); 181 MathPreconditions.checkNonNegative("float", Float.MAX_VALUE); 211 MathPreconditions.checkNonNegative("double", Double.MAX_VALUE);
|
/external/opencv3/modules/imgproc/test/ocl/ |
test_blend.cpp | 78 Size roiSize = randomSize(1, MAX_VALUE); 79 Border src1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); 82 Border src2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); 85 Border weights1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); 88 Border weights2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); 95 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0);
|
test_boxfilter.cpp | 81 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); 82 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); 83 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 85 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); 86 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE);
|
/frameworks/base/core/java/android/content/pm/ |
LimitedLengthInputStream.java | 47 if (length > Long.MAX_VALUE - offset) { 48 throw new IOException("offset + length > Long.MAX_VALUE"); 76 if (mOffset > Long.MAX_VALUE - byteCount) {
|
/frameworks/data-binding/extensions/library/src/androidTest/java/android/databinding/ |
ObservableParcelTest.java | 35 observableInt.set(Integer.MAX_VALUE - 1); 37 assertEquals(Integer.MAX_VALUE - 1, read.get()); 63 ObservableDouble obj = new ObservableDouble(Double.MAX_VALUE); 65 assertEquals(Double.MAX_VALUE, read.get()); 83 ObservableLong obj = new ObservableLong(Long.MAX_VALUE - 1); 85 assertEquals(Long.MAX_VALUE - 1, read.get()); 96 observableInt.set(Integer.MAX_VALUE - 1); 98 assertEquals(Integer.MAX_VALUE - 1, read.get()); 123 ObservableDouble obj = new ObservableDouble(Double.MAX_VALUE); 125 assertEquals(Double.MAX_VALUE, read.get()) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
wcstoimax.c | 17 #define MAX_VALUE INTMAX_MAX
|
wcstoll.c | 16 #define MAX_VALUE LLONG_MAX
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float/ |
Test_sub_float.java | 52 * @title Arguments = Float.MAX_VALUE, Float.NaN 56 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); 121 * @title Arguments = Float.MAX_VALUE, Float.MAX_VALUE 125 assertEquals(0f, t.run(Float.MAX_VALUE, Float.MAX_VALUE)); 137 * @title Arguments = Float.MAX_VALUE, -Float.MAX_VALUE 141 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.MAX_VALUE,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/ |
Test_sub_float_2addr.java | 50 * @title Arguments = Float.MAX_VALUE, Float.NaN 54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); 119 * @title Arguments = Float.MAX_VALUE, Float.MAX_VALUE 123 assertEquals(0f, t.run(Float.MAX_VALUE, Float.MAX_VALUE)); 135 * @title Arguments = Float.MAX_VALUE, -Float.MAX_VALUE 139 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.MAX_VALUE,
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYPlotZoomPan.java | 22 private float minXLimit = Float.MAX_VALUE; 23 private float maxXLimit = Float.MAX_VALUE; 24 private float minYLimit = Float.MAX_VALUE; 25 private float maxYLimit = Float.MAX_VALUE; 26 private float lastMinX = Float.MAX_VALUE; 27 private float lastMaxX = Float.MAX_VALUE; 28 private float lastMinY = Float.MAX_VALUE; 29 private float lastMaxY = Float.MAX_VALUE; 116 if(minXLimit == Float.MAX_VALUE) { 124 if(maxXLimit == Float.MAX_VALUE) { [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/common/ |
Util.java | 16 public static final long VLI_MAX = Long.MAX_VALUE;
|
/external/v8/test/mjsunit/asm/ |
math-abs.js | 83 assertEquals(Number.MAX_VALUE, f(Number.MAX_VALUE)); 84 assertEquals(Number.MAX_VALUE, f(-Number.MAX_VALUE));
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
ScrollerCompatTestBase.java | 72 Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE); 88 Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeSystemFacade.java | 31 long mMaxBytesOverMobile = Long.MAX_VALUE; 32 long mRecommendedMaxBytesOverMobile = Long.MAX_VALUE; 43 mMaxBytesOverMobile = Long.MAX_VALUE; 44 mRecommendedMaxBytesOverMobile = Long.MAX_VALUE;
|
/libcore/luni/src/test/java/dalvik/system/ |
JniTest.java | 150 final char[] literals = {Character.MAX_VALUE, Character.MIN_VALUE, 181 final byte[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, 0, -1}; 209 final short[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, 0, -1}; 237 final int[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, 238 Integer.MAX_VALUE, Integer.MIN_VALUE, 0, -1}; 266 final long[] literals = {Byte.MAX_VALUE, Byte.MIN_VALUE, Short.MAX_VALUE, Short.MIN_VALUE, 267 Integer.MAX_VALUE, Integer.MIN_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 0, -1} [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HttpOverSpdyTest.java | 89 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); 101 assertContent("ABCDE", connection, Integer.MAX_VALUE); 127 assertContent("ABCDE", connection, Integer.MAX_VALUE); 142 assertContent("ABCDE", connection, Integer.MAX_VALUE); 159 assertContent("ABCDE", connection, Integer.MAX_VALUE); 174 assertContent("ABCDE", connection, Integer.MAX_VALUE); 212 assertContent("ABCABCABC", client.open(server.getUrl("/r1")), Integer.MAX_VALUE); 223 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); 240 assertContent("This is the new location!", connection, Integer.MAX_VALUE); 265 assertContent("A", connection, Integer.MAX_VALUE); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
CastUtils.java | 22 * ByteBuffers or arrays since they restricted to <code>Integer.MAX_VALUE</code> this cast-method will throw 29 if (l > Integer.MAX_VALUE || l < Integer.MIN_VALUE) {
|
/external/opencv3/samples/cpp/tutorial_code/ImgProc/ |
Threshold.cpp | 19 int const max_value = 255; variable 53 max_value, Threshold_Demo );
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowEditText.java | 17 private int maxLength = Integer.MAX_VALUE; 27 maxLength = attributeSet.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE);
|
/frameworks/base/core/java/android/util/ |
TrustedTime.java | 39 * {@link Long#MAX_VALUE} if never contacted. 45 * {@link Long#MAX_VALUE} if never contacted. Smaller values are more
|
/frameworks/volley/src/test/java/com/android/volley/utils/ |
CacheTestUtils.java | 28 entry.ttl = isExpired ? 0 : Long.MAX_VALUE; 29 entry.softTtl = needsRefresh ? 0 : Long.MAX_VALUE;
|