- Sort Score
- Result 10 results
- Languages All
Results 1741 - 1750 of 2,037 for One (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
import org.junit.jupiter.api.Test class WebSocketReaderTest { private val data = Buffer() private val callback = WebSocketRecorder("client") private val random = Random(0) // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test. private val serverReader = WebSocketReader( isClient = false, source = data, frameCallback = callback.asFrameCallback(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* AbstractFuture.executeListener to do so, since that method would have the ability to continue * to execute other listeners. * * What about RuntimeException? If there is a bug in set()/setValue() that produces one, it will * propagate, too, but only as far as AbstractFuture.executeListener, which will catch and log * it. */ setResult(transformResult); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR)); assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA)); /* Map must have at least one entry if not an EnumBiMap. */ assertThrows( IllegalArgumentException.class, () -> EnumBiMap.create(Collections.<Currency, Country>emptyMap())); assertThrows( IllegalArgumentException.class,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); // Test with 16 bytes (one complete line) byte[] data1 = createTestData(16); Hexdump.hexdump(ps, data1, 0, 16); String output1 = baos.toString(); assertNotNull(output1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals(0x0001, decodedHeader.getFlags()); assertEquals(testSessionId, decodedHeader.getSessionId()); } // Duplicate testFlags method removed - keeping the first one @ParameterizedTest @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 }) @DisplayName("Should handle various message sizes") void testVariousMessageSizes(int messageSize) { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
sessionsField.setAccessible(true); @SuppressWarnings("unchecked") List<Object> sessions = (List<Object>) sessionsField.get(first); sessions.add(new Object()); // Add one session to reach the limit // When: Request another connection SmbTransportImpl second = pool.getSmbTransport(ctx, address, 445, false); // Then: Should create new connection due to session limit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
dst := NewWriter(buf2) for _, f := range src.File { if err := dst.Copy(f); err != nil { t.Fatal(err) } } if err := dst.Close(); err != nil { t.Fatal(err) } // read the new one back r, err := NewReader(bytes.NewReader(buf2.Bytes()), int64(buf2.Len())) if err != nil { t.Fatal(err) } for i, wt := range writeTests { testReadFile(t, r.File[i], &wt) } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
assertTrue(values[2].startsWith("done:")); // CrawlerStatsHelper uses LinkedHashMap which overwrites values with same key // Recording the same action twice will overwrite the first one assertTrue(values[3].startsWith("same_action:")); assertTrue(values[4].startsWith("different_action:")); } public void test_getUrlWithSpecialCharacters() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
throw new RuntimeException(e); } /** * Closes all {@code Closeable} instances that have been added to this {@code Closer}. If an * exception was thrown in the try block and passed to one of the {@code exceptionThrown} methods, * any exceptions thrown when attempting to close a closeable will be suppressed. Otherwise, the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0)