- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 656 for minimum (0.05 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertEquals(4, read2); } } @Nested @DisplayName("Edge case tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum buffer index") void testMaxBufferIndex() throws SMBProtocolDecodingException { // Given int bufferSize = 10000; byte[] buffer = new byte[bufferSize];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
} private static final Object NOT_FOUND = new Object(); /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting( ) static final double HASH_FLOODING_FPP = 0.001; /** * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashMap-based
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should handle maximum tree ID") void testMaxTreeId() { int maxTreeId = Integer.MAX_VALUE; testMessage.setTreeId(maxTreeId); assertEquals(maxTreeId, testMessage.getTreeId()); } @Test @DisplayName("Should handle maximum session ID") void testMaxSessionId() {
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/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
/** The number of bytes consumed from [upstream]. Guarded by this. */ var upstreamPos: Long, /** User-supplied additional data persisted with the source data. */ private val metadata: ByteString, /** The maximum size of [buffer]. */ val bufferMaxSize: Long, ) : Lockable { /** The thread that currently has access to upstream. Possibly null. Guarded by this. */ var upstreamReader: Thread? = null /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
.addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1)) .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1)) .testEquals(); } /** * The maximum allowed probability of falsely detecting a hash flooding attack if the input is * randomly generated. */ private static final double HASH_FLOODING_FPP = 0.001;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
when(tree.getConfig()).thenReturn(config); when(config.getMaximumBufferSize()).thenReturn(65535); when(config.getListSize()).thenReturn(65535); // Arrange minimal successful open with one entry FileEntry fe1 = mock(FileEntry.class); lenient().when(fe1.getName()).thenReturn("x"); when(fe1.getFileIndex()).thenReturn(1); doAnswer(inv -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(1.0, noRetryPolicy.getBackoffMultiplier()); assertFalse(noRetryPolicy.isExponentialBackoff()); } @Test @DisplayName("Should limit retry delay to maximum") void testMaxDelayLimit() { // Given SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(10, 1000, 5000, 2.0, true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertTrue(parsed.getContextFlag(NegTokenInit.INTEGRITY)); assertFalse(parsed.getContextFlag(NegTokenInit.CONFIDENTIALITY)); } @Test @DisplayName("Minimal token: no fields present") void testMinimalTokenRoundTrip() throws Exception { NegTokenInit init = new NegTokenInit(); // no fields byte[] bytes = init.toByteArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
// nothing really to assert? assertSame(CharStreams.nullWriter(), CharStreams.nullWriter()); } /** * Returns a reader wrapping the given reader that only reads half of the maximum number of * characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) { return new FilterReader(reader) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
// nothing really to assert? assertSame(CharStreams.nullWriter(), CharStreams.nullWriter()); } /** * Returns a reader wrapping the given reader that only reads half of the maximum number of * characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) { return new FilterReader(reader) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0)