- Sort Score
- Num 10 results
- Language All
Results 1941 - 1950 of 5,742 for text (0.12 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(5) @Tag("Slow") class Http2ConnectionTest { private val peer = MockHttp2Peer() private val taskFaker = TaskFaker() @AfterEach fun tearDown() { peer.close() taskFaker.close() } @Test fun serverPingsClientHttp2() { // Write the mocking script.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
return readOnlyIterator; } @Override public Entry<E> next() { last = super.next(); return last; } @Override public void remove() { checkState(last != null, "no calls to next() since the last call to remove()"); ConcurrentHashMultiset.this.setCount(last.getElement(), 0); last = null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
return readOnlyIterator; } @Override public Entry<E> next() { last = super.next(); return last; } @Override public void remove() { checkState(last != null, "no calls to next() since the last call to remove()"); ConcurrentHashMultiset.this.setCount(last.getElement(), 0); last = null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* (like 0030..0039). * * The second element on each line is a mapping type, like `valid` or `mapped`. * * For lines that contain a mapping target, the next thing is a sequence of hex code points (like * 0031 2044 0034). * * All other data is ignored. */ fun BufferedSource.readPlainTextIdnaMappingTable(): SimpleIdnaMappingTable { val mappedTo = Buffer()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java
} @Test public void test_sanitizeFilename_removesDoubleDotsAndWhitespace() { assertEquals("/test.log", AdminLogAction.sanitizeFilename(".. /test.log")); assertEquals("/test.log", AdminLogAction.sanitizeFilename(" ../test.log")); assertEquals("/test.log", AdminLogAction.sanitizeFilename(".. / .. /test.log"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals("\\test\\file.txt", request.getPath()); // Test path with leading backslash (should be stripped) request.setPath("\\test\\file.txt"); assertEquals("\\test\\file.txt", request.getPath()); // Test path with trailing backslash (should be stripped) request.setPath("test\\directory\\"); assertEquals("\\test\\directory", request.getPath());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Test @DisplayName("Test isDFSSupported returns false") void testIsDFSSupportedFalse() { // Arrange when(negotiationResponse.isDFSSupported()).thenReturn(false); // Act boolean result = negotiationResponse.isDFSSupported(); // Assert assertFalse(result); verify(negotiationResponse).isDFSSupported(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testStringWithControlChars() throws Exception { assertThrows(SmbException.class, () -> { validator.validateString("test\u0001string", 100, "test"); }); } @Test public void testStringWithAllowedWhitespace() throws Exception { validator.validateString("test\tstring", 100, "test");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/crypto/metadata_test.go
if err.Error() != test.ExpectedErr.Error() { t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr) } } if !bytes.Equal(dataKey, test.DataKey) { t.Errorf("Test %d: got data key '%v' - want data key '%v'", i, dataKey, test.DataKey) } if keyID != test.KeyID { t.Errorf("Test %d: got key-ID '%v' - want key-ID '%v'", i, keyID, test.KeyID) } if sealedKey.Algorithm != test.SealedKey.Algorithm {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
testBlock.setUseUnicode(true); assertEquals(10, testBlock.stringWireLength("Test", 0)); assertEquals(11, testBlock.stringWireLength("Test", 1)); } @Test @DisplayName("Test read string length") void testReadStringLength() { byte[] buffer = "Test\0Other".getBytes();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0)