Home
last modified time | relevance | path

Searched refs:MAX_VALUE (Results 1 – 25 of 610) sorted by relevance

12345678910>>...25

/external/v8/test/mjsunit/
Doverride-read-only-property.js38 var original_number_max = Number.MAX_VALUE;
43 assertEquals(original_number_max, f.MAX_VALUE);
44 f.MAX_VALUE = 42;
45 assertEquals(original_number_max, f.MAX_VALUE);
51 MAX_VALUE = 42;
53 assertEquals(original_number_max, f.MAX_VALUE);
56 Number.MAX_VALUE = 42;
57 assertEquals(original_number_max, Number.MAX_VALUE);
Dnumber-limits.js32 var mulAboveMax = Number.MAX_VALUE * (1 + eps);
33 var addAboveMax = Number.MAX_VALUE + 1/eps;
36 assertTrue(mulAboveMax == Number.MAX_VALUE ||
38 assertTrue(addAboveMax == Number.MAX_VALUE ||
/external/opencv3/modules/imgproc/test/ocl/
Dtest_sepfilter2D.cpp84 Mat temp = randomMat(Size(ksize.width, 1), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
86 temp = randomMat(Size(1, ksize.height), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
89 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); in PARAM_TEST_CASE()
90 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
91 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
93 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
94 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_warp.cpp94 dsize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
96 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
97 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
98 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
100 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
101 randomSubMat(dst, dst_roi, dsize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
192 Size srcRoiSize = randomSize(10, MAX_VALUE), dstRoiSize; in PARAM_TEST_CASE()
204 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
205 randomSubMat(src, src_roi, srcRoiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
207 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
[all …]
Dtest_filter2d.cpp78 …ksize, CV_MAKE_TYPE(((CV_64F == CV_MAT_DEPTH(type)) ? CV_64F : CV_32F), 1), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
84 size = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
89 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
90 randomSubMat(src, src_roi, size, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
92 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
93 randomSubMat(dst, dst_roi, size, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_medianfilter.cpp72 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
73 Border srcBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
74 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
76 Border dstBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
77 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_accumulate.cpp80 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
81 randomSubMat(src, src_roi, roiSize, srcBorder, stype, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
83 Border maskBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
84 randomSubMat(mask, mask_roi, roiSize, maskBorder, CV_8UC1, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
87 Border src2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
88 randomSubMat(src2, src2_roi, roiSize, src2Border, stype, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
90 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
91 randomSubMat(dst, dst_roi, roiSize, dstBorder, dtype, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_imgproc.cpp86 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
87 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
90 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
136 border = randomBorder(0, MAX_VALUE << 2); in PARAM_TEST_CASE()
137 val = randomScalar(-MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
139 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
140 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
141 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
143 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
149 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
[all …]
Dtest_pyramids.cpp73 Border srcBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
74 …mSubMat(src, src_roi, src_roiSize, srcBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
76 Border dstBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
77 …mSubMat(dst, dst_roi, dst_roiSize, dstBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
97 Size src_roiSize = randomSize(1, MAX_VALUE); in OCL_TEST_P()
126 Size src_roiSize = randomSize(1, MAX_VALUE); in OCL_TEST_P()
Dtest_boxfilter.cpp81 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); in PARAM_TEST_CASE()
82 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
83 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
85 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
86 randomSubMat(dst, dst_roi, roiSize, dstBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_blend.cpp78 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
79 Border src1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
82 Border src2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
85 Border weights1Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
88 Border weights2Border = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
95 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
Dtest_histogram.cpp99 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
108 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
129 Border histBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
130 randomSubMat(hist, hist_roi, tmpHist.size(), histBorder, tmpHist.type(), 0, MAX_VALUE); in PARAM_TEST_CASE()
133 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
238 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
240 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
243 Border histBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
244 randomSubMat(hist, hist_roi, Size(1, 256), histBorder, CV_32SC1, 0, MAX_VALUE); in PARAM_TEST_CASE()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCipherSuite.java18 import static java.lang.Integer.MAX_VALUE;
63 TLS_KRB5_WITH_DES_CBC_SHA("TLS_KRB5_WITH_DES_CBC_SHA", 0x001e, 2712, 6, MAX_VALUE),
64 TLS_KRB5_WITH_3DES_EDE_CBC_SHA("TLS_KRB5_WITH_3DES_EDE_CBC_SHA", 0x001f, 2712, 6, MAX_VALUE),
65 TLS_KRB5_WITH_RC4_128_SHA("TLS_KRB5_WITH_RC4_128_SHA", 0x0020, 2712, 6, MAX_VALUE),
67 TLS_KRB5_WITH_DES_CBC_MD5("TLS_KRB5_WITH_DES_CBC_MD5", 0x0022, 2712, 6, MAX_VALUE),
68 TLS_KRB5_WITH_3DES_EDE_CBC_MD5("TLS_KRB5_WITH_3DES_EDE_CBC_MD5", 0x0023, 2712, 6, MAX_VALUE),
69 TLS_KRB5_WITH_RC4_128_MD5("TLS_KRB5_WITH_RC4_128_MD5", 0x0024, 2712, 6, MAX_VALUE),
71 …KRB5_EXPORT_WITH_DES_CBC_40_SHA("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", 0x0026, 2712, 6, MAX_VALUE),
73 TLS_KRB5_EXPORT_WITH_RC4_40_SHA("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", 0x0028, 2712, 6, MAX_VALUE),
74 …KRB5_EXPORT_WITH_DES_CBC_40_MD5("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", 0x0029, 2712, 6, MAX_VALUE),
[all …]
/external/opencv3/modules/core/test/ocl/
Dtest_matrix_operation.cpp76 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
77 Border srcBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
78 …randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(src_depth, cn), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
80 Border dstBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
128 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
129 Border srcBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
130 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
134 Border maskBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
142 Border dstBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
150 val = randomScalar(-MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_channels.cpp87 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
90 Border src1Border = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
93 Border src2Border = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
96 Border src3Border = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
99 Border src4Border = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
121 Border dstBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
173 Size roiSize = randomSize(1, MAX_VALUE); in PARAM_TEST_CASE()
174 Border srcBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
178 Border dst1Border = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
181 Border dst2Border = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
[all …]
Dtest_gemm.cpp94 Size ARoiSize = randomSize(20, MAX_VALUE); in PARAM_TEST_CASE()
95 Border ABorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
101 Size BRoiSize = randomSize(20, MAX_VALUE); in PARAM_TEST_CASE()
107 Border BBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
114 Border CBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
117 Border DBorder = randomBorder(0, use_roi ? MAX_VALUE : 0); in PARAM_TEST_CASE()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableCollectionTest.java31 assertEquals(Integer.MAX_VALUE, in testCapacityExpansion()
32 ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); in testCapacityExpansion()
33 assertEquals(Integer.MAX_VALUE, in testCapacityExpansion()
34 ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE)); in testCapacityExpansion()
35 assertEquals(Integer.MAX_VALUE, in testCapacityExpansion()
36 ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE)); in testCapacityExpansion()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java639 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestIndexOf()
641 UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1}; in TestIndexOf()
684 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int_int()
689 us.add(invalid[i], UnicodeSet.MAX_VALUE); in TestAdd_int_int()
712 if(!(us.add(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1).equals(us))) in TestAdd_int_int()
714 + "the same object because start of value " + UnicodeSet.MAX_VALUE in TestAdd_int_int()
715 + " is greater than end of value " + (UnicodeSet.MAX_VALUE-1)); in TestAdd_int_int()
725 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int()
792 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestRetain_int_int()
797 us.retain(invalid[i], UnicodeSet.MAX_VALUE); in TestRetain_int_int()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java643 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestIndexOf()
645 UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1}; in TestIndexOf()
688 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int_int()
693 us.add(invalid[i], UnicodeSet.MAX_VALUE); in TestAdd_int_int()
716 if(!(us.add(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1).equals(us))) in TestAdd_int_int()
718 + "the same object because start of value " + UnicodeSet.MAX_VALUE in TestAdd_int_int()
719 + " is greater than end of value " + (UnicodeSet.MAX_VALUE-1)); in TestAdd_int_int()
729 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int()
796 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestRetain_int_int()
801 us.retain(invalid[i], UnicodeSet.MAX_VALUE); in TestRetain_int_int()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYPlotZoomPan.java22 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) { in getMinXLimit()
124 if(maxXLimit == Float.MAX_VALUE) { in getMaxXLimit()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DLongsTest.java19 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)); in testMax()
161 assertEquals(MAX_VALUE, Longs.min(MAX_VALUE)); in testMin()
277 new long[] {MAX_VALUE, MAX_VALUE - (long) 1}, in testLexicographicalComparator()
278 new long[] {MAX_VALUE, MAX_VALUE}, in testLexicographicalComparator()
279 new long[] {MAX_VALUE, MAX_VALUE, MAX_VALUE}); in testLexicographicalComparator()
423 tryParseAndAssertEquals(MAX_VALUE, Long.toString(MAX_VALUE)); in testTryParse()
430 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())); in testTryParse()
432 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString())); in testTryParse()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java89 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); in setUp()
101 assertContent("ABCDE", connection, Integer.MAX_VALUE); in get()
127 assertContent("ABCDE", connection, Integer.MAX_VALUE); in noDefaultContentLengthOnStreamingPost()
142 assertContent("ABCDE", connection, Integer.MAX_VALUE); in userSuppliedContentLengthHeader()
159 assertContent("ABCDE", connection, Integer.MAX_VALUE); in closeAfterFlush()
174 assertContent("ABCDE", connection, Integer.MAX_VALUE); in setFixedLengthStreamingModeSetsContentLength()
212 assertContent("ABCABCABC", client.open(server.getUrl("/r1")), Integer.MAX_VALUE); in gzippedResponseBody()
223 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in authenticate()
240 assertContent("This is the new location!", connection, Integer.MAX_VALUE); in redirect()
265 assertContent("A", connection, Integer.MAX_VALUE); in readResponseHeaderTimeout()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DLongsTest.java19 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)); in testMax()
172 assertEquals(MAX_VALUE, Longs.min(MAX_VALUE)); in testMin()
288 new long[] {MAX_VALUE, MAX_VALUE - (long) 1}, in testLexicographicalComparator()
289 new long[] {MAX_VALUE, MAX_VALUE}, in testLexicographicalComparator()
290 new long[] {MAX_VALUE, MAX_VALUE, MAX_VALUE}); in testLexicographicalComparator()
456 tryParseAndAssertEquals(MAX_VALUE, Long.toString(MAX_VALUE)); in testTryParse()
463 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())); in testTryParse()
465 Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString())); in testTryParse()
/external/caliper/examples/src/main/java/examples/
DIntModBenchmark.java31 dummy += Integer.MAX_VALUE + conditionalMod(dummy, M); in conditional()
44 dummy += Integer.MAX_VALUE + doubleRemainderMod(dummy, M); in doubleRemainder()
57 dummy += Integer.MAX_VALUE + rightShiftingMod(dummy, M); in rightShiftingMod()
71 dummy += Integer.MAX_VALUE + leftShiftingMod(dummy, M); in leftShiftingMod()
84 dummy += Integer.MAX_VALUE + dummy % M; in wrongMod()
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DLongMath.java219 return Long.MAX_VALUE; in binomial()
283 {Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE, 3810779, 121977, 16175, 4337, 1733,
292 {Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE, 2642246, 86251, 11724, 3218, 1313,

12345678910>>...25