- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 305 for maxValue (0.04 sec)
-
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertEquals(1, map.segments[2].table.length()); assertEquals(1, map.segments[3].table.length()); } public void testInitialCapacity_large() { CacheBuilder.newBuilder().initialCapacity(Integer.MAX_VALUE); // that the builder didn't blow up is enough; // don't actually create this monster! } public void testConcurrencyLevel_zero() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertEquals(1, map.segments[2].table.length()); assertEquals(1, map.segments[3].table.length()); } public void testInitialCapacity_large() { CacheBuilder.newBuilder().initialCapacity(Integer.MAX_VALUE); // that the builder didn't blow up is enough; // don't actually create this monster! } public void testConcurrencyLevel_zero() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
checkMaximumSize(4, 8, maxSize); checkMaximumSize(8, 8, maxSize); } checkMaximumSize(1, 8, Long.MAX_VALUE); checkMaximumSize(2, 8, Long.MAX_VALUE); checkMaximumSize(4, 8, Long.MAX_VALUE); checkMaximumSize(8, 8, Long.MAX_VALUE); // vary initial capacity wrt maximumSize for (int capacity = 0; capacity < 8; capacity++) { checkMaximumSize(1, capacity, 4);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
.utf8() .codePoints() .toList() if (mappedCodePoints.size == 1) { val codePointDelta = mappedCodePoints.single() - sourceCodePoint if (MappedRange.InlineDelta.MAX_VALUE >= abs(codePointDelta)) { return MappedRange.InlineDelta(mapping.rangeStart, codePointDelta) } } } return null } /** * Inputs must have applied [withoutSectionSpans]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
assertEquals("DFS resolution failed", ex.getMessage()); verify(handle, times(1)).ensureDFSResolved(); } @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps") void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
static <V> NeverScheduledFuture<V> create() { return new NeverScheduledFuture<>(); } @Override public long getDelay(TimeUnit unit) { return Long.MAX_VALUE; } @Override public int compareTo(Delayed other) { return Long.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
void testMaxTreeId() { int maxTreeId = Integer.MAX_VALUE; testMessage.setTreeId(maxTreeId); assertEquals(maxTreeId, testMessage.getTreeId()); } @Test @DisplayName("Should handle maximum session ID") void testMaxSessionId() { long maxSessionId = Long.MAX_VALUE; testMessage.setSessionId(maxSessionId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
sourceCodePoint1 = 0, mappedToCodePoints = listOf((1 shl 18) - 1), ), ), ).isEqualTo( InlineDelta( rangeStart = 0, codepointDelta = InlineDelta.MAX_VALUE, ), ) assertThat( inlineDeltaOrNull( mappingOf( sourceCodePoint0 = 0, sourceCodePoint1 = 0, mappedToCodePoints = listOf(1 shl 18),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
/** Counts the bytes in the given input stream using skip if possible. */ private long countBySkipping(InputStream in) throws IOException { long count = 0; long skipped; while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) { count += skipped; } return count; } /** * Copies the contents of this byte source to the given {@code OutputStream}. Does not close * {@code output}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
android/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)