- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 293 for maxValue (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(readAscii(gunzippedIn, Int.MAX_VALUE)).isEqualTo("one (gzipped)") assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) val response2 = getResponse( Request .Builder() .url(server.url("/")) .build(), ) assertThat(readAscii(response2.body.byteStream(), Int.MAX_VALUE)).isEqualTo("two (identity)")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
} public void testUnion_maxSize_saturated() { assertThat(union(setSize(Integer.MAX_VALUE), setSize(1)).maxSize()) .isEqualTo(Integer.MAX_VALUE); assertThat(union(setSize(1), setSize(Integer.MAX_VALUE)).maxSize()) .isEqualTo(Integer.MAX_VALUE); } public void testIntersection_minSize() { assertMinSize(intersection(emptySet(), emptySet()), 0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
ImmutableList.of( Striped.lazyWeakLock(Integer.MAX_VALUE), Striped.lazyWeakSemaphore(Integer.MAX_VALUE, Integer.MAX_VALUE), Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) { for (int i = 0; i < 3; i++) { // doesn't throw exception Object unused = striped.getAt(Integer.MAX_VALUE - i); } } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
ImmutableList.of( Striped.lazyWeakLock(Integer.MAX_VALUE), Striped.lazyWeakSemaphore(Integer.MAX_VALUE, Integer.MAX_VALUE), Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) { for (int i = 0; i < 3; i++) { // doesn't throw exception Object unused = striped.getAt(Integer.MAX_VALUE - i); } } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
// Given Integer largeTimeout = Integer.MAX_VALUE; when(request.getOverrideTimeout()).thenReturn(largeTimeout); // When Integer result = request.getOverrideTimeout(); // Then assertNotNull(result); assertEquals(Integer.MAX_VALUE, result.intValue()); verify(request, times(1)).getOverrideTimeout(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int bufferIndex = 0; // Set up max values int namedPipeState = Integer.MAX_VALUE; int readDataAvailable = Integer.MAX_VALUE; int numberOfMessages = Integer.MAX_VALUE; int messageLength = Integer.MAX_VALUE; byte[] testData = { 0x7F, 0x7F, 0x7F, 0x7F }; // Write values to bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
private static final byte GREATEST = Byte.MAX_VALUE; private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST}; public void testCheckedCast() { for (byte value : VALUES) { assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value); } assertCastFails(GREATEST + 1L); assertCastFails(LEAST - 1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
/** * Returns the number of nanoseconds of the given duration without throwing or overflowing. * * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graph.java
* * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). * * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}. * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ @Override int degree(N node); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 13.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graph.java
* * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). * * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}. * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ @Override int degree(N node); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 13.6K bytes - Viewed (0)