Home
last modified time | relevance | path

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

12345678910>>...29

/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/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DCipherSuite.java22 import static java.lang.Integer.MAX_VALUE;
67 TLS_KRB5_WITH_DES_CBC_SHA("TLS_KRB5_WITH_DES_CBC_SHA", 0x001e, 2712, 6, MAX_VALUE),
68 TLS_KRB5_WITH_3DES_EDE_CBC_SHA("TLS_KRB5_WITH_3DES_EDE_CBC_SHA", 0x001f, 2712, 6, MAX_VALUE),
69 TLS_KRB5_WITH_RC4_128_SHA("TLS_KRB5_WITH_RC4_128_SHA", 0x0020, 2712, 6, MAX_VALUE),
71 TLS_KRB5_WITH_DES_CBC_MD5("TLS_KRB5_WITH_DES_CBC_MD5", 0x0022, 2712, 6, MAX_VALUE),
72 TLS_KRB5_WITH_3DES_EDE_CBC_MD5("TLS_KRB5_WITH_3DES_EDE_CBC_MD5", 0x0023, 2712, 6, MAX_VALUE),
73 TLS_KRB5_WITH_RC4_128_MD5("TLS_KRB5_WITH_RC4_128_MD5", 0x0024, 2712, 6, MAX_VALUE),
75 …KRB5_EXPORT_WITH_DES_CBC_40_SHA("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", 0x0026, 2712, 6, MAX_VALUE),
77 TLS_KRB5_EXPORT_WITH_RC4_40_SHA("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", 0x0028, 2712, 6, MAX_VALUE),
78 …KRB5_EXPORT_WITH_DES_CBC_40_MD5("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", 0x0029, 2712, 6, MAX_VALUE),
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCipherSuite.java19 import static java.lang.Integer.MAX_VALUE;
65 TLS_KRB5_WITH_DES_CBC_SHA("TLS_KRB5_WITH_DES_CBC_SHA", 0x001e, 2712, 6, MAX_VALUE),
66 TLS_KRB5_WITH_3DES_EDE_CBC_SHA("TLS_KRB5_WITH_3DES_EDE_CBC_SHA", 0x001f, 2712, 6, MAX_VALUE),
67 TLS_KRB5_WITH_RC4_128_SHA("TLS_KRB5_WITH_RC4_128_SHA", 0x0020, 2712, 6, MAX_VALUE),
69 TLS_KRB5_WITH_DES_CBC_MD5("TLS_KRB5_WITH_DES_CBC_MD5", 0x0022, 2712, 6, MAX_VALUE),
70 TLS_KRB5_WITH_3DES_EDE_CBC_MD5("TLS_KRB5_WITH_3DES_EDE_CBC_MD5", 0x0023, 2712, 6, MAX_VALUE),
71 TLS_KRB5_WITH_RC4_128_MD5("TLS_KRB5_WITH_RC4_128_MD5", 0x0024, 2712, 6, MAX_VALUE),
73 …KRB5_EXPORT_WITH_DES_CBC_40_SHA("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", 0x0026, 2712, 6, MAX_VALUE),
75 TLS_KRB5_EXPORT_WITH_RC4_40_SHA("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", 0x0028, 2712, 6, MAX_VALUE),
76 …KRB5_EXPORT_WITH_DES_CBC_40_MD5("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", 0x0029, 2712, 6, MAX_VALUE),
[all …]
DCacheControl.java32 .maxStale(Integer.MAX_VALUE, TimeUnit.SECONDS)
232 maxStaleSeconds = HeaderParser.parseSeconds(parameter, Integer.MAX_VALUE); in parse()
307 this.maxAgeSeconds = maxAgeSecondsLong > Integer.MAX_VALUE in maxAge()
308 ? Integer.MAX_VALUE in maxAge()
325 this.maxStaleSeconds = maxStaleSecondsLong > Integer.MAX_VALUE in maxStale()
326 ? Integer.MAX_VALUE in maxStale()
344 this.minFreshSeconds = minFreshSecondsLong > Integer.MAX_VALUE in minFresh()
345 ? 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/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/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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipUtilTest.java67 assertEquals(Integer.MAX_VALUE, in testAdjustToLong()
68 ZipUtil.adjustToLong(Integer.MAX_VALUE)); in testAdjustToLong()
69 assertEquals(((long) Integer.MAX_VALUE) + 1, in testAdjustToLong()
70 ZipUtil.adjustToLong(Integer.MAX_VALUE + 1)); in testAdjustToLong()
71 assertEquals(2 * ((long) Integer.MAX_VALUE), in testAdjustToLong()
72 ZipUtil.adjustToLong(2 * Integer.MAX_VALUE)); in testAdjustToLong()
134 final BigInteger big2 = BigInteger.valueOf(Long.MAX_VALUE); in testBigToLong()
138 assertEquals(Long.MAX_VALUE, ZipUtil.bigToLong(big2)); in testBigToLong()
164 final long l4 = Long.MAX_VALUE; in testLongToBig()
177 assertEquals(Long.MAX_VALUE, big4.longValue()); in testLongToBig()
[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-compress/src/main/java/org/apache/commons/compress/utils/
DSeekableInMemoryByteChannel.java40 private static final int NAIVE_RESIZE_LIMIT = Integer.MAX_VALUE >> 1;
85 if (newPosition < 0L || newPosition > Integer.MAX_VALUE) { in position()
86 … throw new IllegalArgumentException("Position has to be in range 0.. " + Integer.MAX_VALUE); in position()
141 resize(Integer.MAX_VALUE); in write()
142 wanted = Integer.MAX_VALUE - position; in write()
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DTimeUtilsTest.java51 TimeUtils.checkedAdd(Long.MAX_VALUE - 1, 2); in checkedAdd_TooHigh()
57 assertThat(TimeUtils.checkedAdd(Integer.MAX_VALUE, Integer.MAX_VALUE)) in checkedAdd_Valid()
58 .isEqualTo(2L * Integer.MAX_VALUE); in checkedAdd_Valid()
/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()

12345678910>>...29