Home
last modified time | relevance | path

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

12345678910>>...25

/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDesugarLongCompareTest.java73 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MIN_VALUE)) in testCompareLongWithLambda()
75 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MAX_VALUE)) in testCompareLongWithLambda()
77 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MIN_VALUE, Long.MAX_VALUE)) in testCompareLongWithLambda()
87 ClassCallingLongCompare.compareLongWithMethodReference(Long.MAX_VALUE, Long.MIN_VALUE)) in testCompareLongWithMethodReference()
90 ClassCallingLongCompare.compareLongWithMethodReference(Long.MAX_VALUE, Long.MAX_VALUE)) in testCompareLongWithMethodReference()
93 ClassCallingLongCompare.compareLongWithMethodReference(Long.MIN_VALUE, Long.MAX_VALUE)) in testCompareLongWithMethodReference()
104 Long.MAX_VALUE, Long.MIN_VALUE)) in testcompareLongByCallingLong_compare()
108 Long.MAX_VALUE, Long.MAX_VALUE)) in testcompareLongByCallingLong_compare()
112 Long.MIN_VALUE, Long.MAX_VALUE)) in testcompareLongByCallingLong_compare()
124 Long.MAX_VALUE, Long.MIN_VALUE)) in testcompareLongByCallingLong_compare2()
[all …]
/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 …]
DCacheControl.java30 .maxStale(Integer.MAX_VALUE, TimeUnit.SECONDS)
230 maxStaleSeconds = HeaderParser.parseSeconds(parameter, Integer.MAX_VALUE); in parse()
304 this.maxAgeSeconds = maxAgeSecondsLong > Integer.MAX_VALUE in maxAge()
305 ? Integer.MAX_VALUE in maxAge()
322 this.maxStaleSeconds = maxStaleSecondsLong > Integer.MAX_VALUE in maxStale()
323 ? Integer.MAX_VALUE in maxStale()
341 this.minFreshSeconds = minFreshSecondsLong > Integer.MAX_VALUE in minFresh()
342 ? Integer.MAX_VALUE in minFresh()
/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.java646 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestIndexOf()
648 UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1}; in TestIndexOf()
693 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int_int()
698 us.add(invalid[i], UnicodeSet.MAX_VALUE); in TestAdd_int_int()
721 if(!(us.add(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1).equals(us))) in TestAdd_int_int()
723 + "the same object because start of value " + UnicodeSet.MAX_VALUE in TestAdd_int_int()
724 + " is greater than end of value " + (UnicodeSet.MAX_VALUE-1)); in TestAdd_int_int()
735 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int()
805 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestRetain_int_int()
810 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.java649 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestIndexOf()
651 UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1}; in TestIndexOf()
696 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int_int()
701 us.add(invalid[i], UnicodeSet.MAX_VALUE); in TestAdd_int_int()
724 if(!(us.add(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1).equals(us))) in TestAdd_int_int()
726 + "the same object because start of value " + UnicodeSet.MAX_VALUE in TestAdd_int_int()
727 + " is greater than end of value " + (UnicodeSet.MAX_VALUE-1)); in TestAdd_int_int()
738 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int()
808 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestRetain_int_int()
813 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/framed/
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 …]
DHttpOverHttp2Test.java45 assertContent("ABCDE", connection, Integer.MAX_VALUE); in serverSendsPushPromise_GET()
69 assertContent("ABCDE", connection, Integer.MAX_VALUE); in serverSendsPushPromise_HEAD()
94 assertContent("", settingsConnection, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
106 assertContent("ABC", connection1, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
107 assertContent("DEF", connection2, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
108 assertContent("GHI", connection3, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
/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,
/external/guava/guava-tests/test/com/google/common/math/
DMathTesting.java112 intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
151 longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
185 bigValues.add(BigInteger.valueOf(Long.MAX_VALUE).add(ONE));
216 integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE));
224 Integer.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE)) {
DMathPreconditionsTest.java41 MathPreconditions.checkPositive("int", Integer.MAX_VALUE); in testCheckPositive_maxInt()
70 MathPreconditions.checkPositive("long", Long.MAX_VALUE); in testCheckPositive_maxLong()
114 MathPreconditions.checkNonNegative("int", Integer.MAX_VALUE); in testCheckNonNegative_maxInt()
140 MathPreconditions.checkNonNegative("long", Long.MAX_VALUE); in testCheckNonNegative_maxLong()
181 MathPreconditions.checkNonNegative("float", Float.MAX_VALUE); in testCheckNonNegative_maxFloat()
211 MathPreconditions.checkNonNegative("double", Double.MAX_VALUE); in testCheckNonNegative_maxDouble()
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java63 return (i == Integer.MAX_VALUE) ? null : i + 1; in next()
80 return Integer.MAX_VALUE; in maxValue()
110 return (l == Long.MAX_VALUE) ? null : l + 1; in next()
121 return Long.MAX_VALUE; in distance()
134 return Long.MAX_VALUE; in maxValue()
165 BigInteger.valueOf(Long.MAX_VALUE);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValuesTest.java72 testField(classID, fieldInfo, Value.createByte(Byte.MAX_VALUE)); in testField()
76 testField(classID, fieldInfo, Value.createChar(Character.MAX_VALUE)); in testField()
81 testField(classID, fieldInfo, Value.createFloat(Float.MAX_VALUE)); in testField()
89 testField(classID, fieldInfo, Value.createDouble(Double.MAX_VALUE)); in testField()
97 testField(classID, fieldInfo, Value.createInt(Integer.MAX_VALUE)); in testField()
102 testField(classID, fieldInfo, Value.createLong(Long.MAX_VALUE)); in testField()
107 testField(classID, fieldInfo, Value.createShort(Short.MAX_VALUE)); in testField()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DPoissonDistributionImpl.java190 if (x < 0 || x == Integer.MAX_VALUE) { in probability()
216 if (x == Integer.MAX_VALUE) { in cumulativeProbability()
261 return (int) FastMath.min(randomData.nextPoisson(mean), Integer.MAX_VALUE); in sample()
287 return Integer.MAX_VALUE; in getDomainUpperBound()
328 return Integer.MAX_VALUE; in getSupportUpperBound()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DStreamUtil.java39 long size = (channel != null) ? channel.size() : Integer.MAX_VALUE; in findLimit()
41 if (size < Integer.MAX_VALUE) in findLimit()
54 if (maxMemory > Integer.MAX_VALUE) in findLimit()
56 return Integer.MAX_VALUE; in findLimit()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultisetTest.java258 ms.add("a", Integer.MAX_VALUE); in testSubMultisetSize()
259 ms.add("b", Integer.MAX_VALUE); in testSubMultisetSize()
262 assertEquals(Integer.MAX_VALUE, ms.count("a")); in testSubMultisetSize()
263 assertEquals(Integer.MAX_VALUE, ms.count("b")); in testSubMultisetSize()
266 assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size()); in testSubMultisetSize()
267 assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size()); in testSubMultisetSize()
268 assertEquals(Integer.MAX_VALUE, ms.headMultiset("a", CLOSED).size()); in testSubMultisetSize()
271 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); in testSubMultisetSize()
272 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); in testSubMultisetSize()
DContiguousSetTest.java73 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
76 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
79 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
80 ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); in testEquals()
105 ContiguousSet.create(Range.greaterThan(Integer.MAX_VALUE), integers())); in testCreate_empty()
114 assertThat(set.headSet(Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
119 assertThat(set.headSet(Integer.MAX_VALUE, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet()
152 assertThat(set.subSet(Integer.MIN_VALUE, Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testSubSet()
185 assertEquals(Integer.MAX_VALUE, in testLast()
254 assertEquals(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testRange_unboundedRange()
[all …]
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DTimelineApplet.java337 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 598, Short.MAX_VALUE) in initComponents()
340 … .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 273, Short.MAX_VALUE) in initComponents()
352 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 214, Short.MAX_VALUE) in initComponents()
383 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents()
409 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) in initComponents()
429 … .addComponent(speedSlider, javax.swing.GroupLayout.DEFAULT_SIZE, 144, Short.MAX_VALUE) in initComponents()
437 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) in initComponents()
444 .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE) in initComponents()
445 …anel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents()
446 …anel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents()
[all …]
DTweenApplet.java231 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 562, Short.MAX_VALUE) in initComponents()
234 … .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 237, Short.MAX_VALUE) in initComponents()
246 … .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE) in initComponents()
295 .addComponent(easingCbox, 0, 105, Short.MAX_VALUE)) in initComponents()
340 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) in initComponents()
354 .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 144, Short.MAX_VALUE) in initComponents()
361 .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 42, Short.MAX_VALUE) in initComponents()
369 .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 164, Short.MAX_VALUE) in initComponents()
370 …anel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents()
371 …anel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) in initComponents()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBatteryManagerTest.java55 shadowBatteryManager.setIntProperty(TEST_ID, Integer.MAX_VALUE); in testGetIntProperty()
56 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(Integer.MAX_VALUE); in testGetIntProperty()
69 shadowBatteryManager.setLongProperty(TEST_ID, Long.MAX_VALUE); in testGetLongProperty()
70 assertThat(batteryManager.getLongProperty(TEST_ID)).isEqualTo(Long.MAX_VALUE); in testGetLongProperty()
/external/smali/util/src/test/java/org/jf/util/
DNumberUtilsTest.java54 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.MAX_VALUE))); in isLikelyFloatTest()
80 Assert.assertFalse(NumberUtils.isLikelyFloat(Integer.MAX_VALUE)); in isLikelyFloatTest()
83 Assert.assertFalse(NumberUtils.isLikelyFloat(Short.MAX_VALUE)); in isLikelyFloatTest()
103 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.MAX_VALUE))); in isLikelyDoubleTest()
123 Assert.assertFalse(NumberUtils.isLikelyDouble(Integer.MAX_VALUE)); in isLikelyDoubleTest()
126 Assert.assertFalse(NumberUtils.isLikelyDouble(Short.MAX_VALUE)); in isLikelyDoubleTest()

12345678910>>...25