- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,088 for different (0.05 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
other.start(addressA, 0) // Same address with bound port is okay. other.start(addressA, other.port) // Different address is not okay. assertFailsWith<IllegalStateException> { other.start(addressB, 0) } // Different port is not okay. assertFailsWith<IllegalStateException> { other.start(addressA, other.port - 1) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should check if can reuse") void testCanReuse() { // When same config assertTrue(response.canReuse(mockContext, false)); // When different config Configuration otherConfig = mock(Configuration.class); CIFSContext otherContext = mock(CIFSContext.class); when(otherContext.getConfig()).thenReturn(otherConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import java.util.regex.Pattern; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Generates fresh instances of types that are different from each other (if possible). * * @author Ben Yu */ @GwtIncompatible @J2ktIncompatible @NullUnmarked @SuppressWarnings("nullness") class FreshValueGenerator {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
assertDoesNotThrow(() -> request.setFileId(unspecifiedFileId), "Should handle unspecified file ID without throwing exception"); } @Test @DisplayName("Should handle different file ID sizes") void testDifferentFileIdSizes() { // Test various file ID sizes byte[] shortFileId = new byte[8]; byte[] standardFileId = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
byte[] buffer = new byte[100]; int bytesRead = request.readBytesWireFormat(buffer, 0); assertEquals(0, bytesRead); } @Test @DisplayName("Test size calculation with different buffer sizes") void testSizeCalculationWithDifferentBufferSizes() { // Test with smaller maximum buffer size when(mockConfig.getMaximumBufferSize()).thenReturn(8192);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertSame(transaction, result); } @Test @DisplayName("Test pad calculation with various offsets") void testPadCalculation() { // Test pad calculation with different alignment values assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned assertEquals(0, transaction.pad(8)); // Already aligned
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java
* that should be treated as equivalent during crawling. This helps avoid indexing * duplicate content from the same logical site that may be accessible via different * hostnames (e.g., www.example.com and example.com).</p> */ public class DuplicateHostService extends FessAppService { /** * DBFlute behavior for duplicate host operations.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
} catch (Exception e) { fail("Should have caught DataStoreException specifically"); } } public void test_multipleExceptionTypes() { // Test with different types of causes DataStoreException withIOException = new DataStoreException("IO Error", new java.io.IOException("File not found"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
executor2.shutdown(); assertEquals(1, counter1.get()); assertEquals(1, counter2.get()); } public void test_execute_differentScriptTypes() { // Test different script types Object result = jobExecutor.execute("javascript", "console.log('test')"); assertEquals("Executed: javascript console.log('test')", result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { this.collector = checkNotNull(collector); this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.6K bytes - Viewed (0)