- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 297 for MAX_VALUE (0.08 sec)
-
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
when(mock.length()).thenReturn(-10L); assertEquals(-10L, mock.length()); } } @ParameterizedTest(name = "getType returns {0}") @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE }) @DisplayName("Parameterized type values") void typeParameterized(int type) { FileEntry mock = mock(FileEntry.class); when(mock.getType()).thenReturn(type);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `max long`() { val bytes = "02087fffffffffffffff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(Long.MAX_VALUE) assertThat(Adapters.INTEGER_AS_LONG.toDer(Long.MAX_VALUE)).isEqualTo(bytes) } @Test fun `min long`() { val bytes = "02088000000000000000".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(Long.MIN_VALUE)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// We attempted to retry and got another timeout. Give up. return null } if (retryAfter(userResponse, Integer.MAX_VALUE) == 0) { // specifically received an instruction to retry without delay. return userResponse.request } return null } HTTP_MISDIRECTED_REQUEST -> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
} for (int c = 0; c <= Character.MAX_VALUE; c++) { assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c)); } } static char[] randomChars(Random rand, int size) { Set<Character> chars = new HashSet<>(size); for (int i = 0; i < size; i++) { char c; do { c = (char) rand.nextInt(Character.MAX_VALUE - Character.MIN_VALUE + 1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* @return the same value cast to {@code char} if it is in the range of the {@code char} type, * {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too * small */ public static char saturatedCast(long value) { if (value > Character.MAX_VALUE) { return Character.MAX_VALUE; } if (value < Character.MIN_VALUE) { return Character.MIN_VALUE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* @return the same value cast to {@code short} if it is in the range of the {@code short} type, * {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small */ public static short saturatedCast(long value) { if (value > Short.MAX_VALUE) { return Short.MAX_VALUE; } if (value < Short.MIN_VALUE) { return Short.MIN_VALUE; } return (short) value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
private static final int[] ARRAY1 = {(int) 1}; private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4}; private static final int LEAST = Integer.MIN_VALUE; private static final int GREATEST = Integer.MAX_VALUE; private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST}; // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* @return the same value cast to {@code short} if it is in the range of the {@code short} type, * {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small */ public static short saturatedCast(long value) { if (value > Short.MAX_VALUE) { return Short.MAX_VALUE; } if (value < Short.MIN_VALUE) { return Short.MIN_VALUE; } return (short) value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.headers_ = Headers .Builder() .add("Content-Length", "0") this.trailers_ = Headers.Builder() this.throttleBytesPerPeriod = Long.MAX_VALUE this.throttlePeriodNanos = 0L this.failHandshake = false this.onRequestStart = null this.doNotReadRequestBody = false this.onRequestBody = null this.onResponseStart = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0)