- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 343 for typical (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* Reads an entry from an input stream. A typical entry looks like this: * * ``` * http://google.com/foo * GET * 2 * Accept-Language: fr-CA * Accept-Charset: UTF-8 * HTTP/1.1 200 OK * 3 * Content-Type: image/png * Content-Length: 100 * Cache-Control: max-age=600 * ``` * * A typical HTTPS file looks like this: *Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
} @Test @DisplayName("EmptyIterator should follow Iterator contract for empty collections") void testIteratorContract() { // Given - typical Iterator usage pattern // When & Then - verify empty collection behavior assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
File file = cos.getFile(); assertTrue(file.exists()); cos.close(); } @Test public void testLargeData() throws IOException { // Test with large data exceeding typical threshold ContentOutputStream cos = new ContentOutputStream(100, Curl.tmpDir); byte[] largeData = new byte[500]; for (int i = 0; i < largeData.length; i++) {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Note: In real implementation, free > capacity might be invalid, // but interface doesn't enforce this constraint } @Test @DisplayName("Should handle typical file system sizes") void shouldHandleTypicalFileSystemSizes() { // Test common file system sizes long[] typicalSizes = { 1024L * 1024L * 1024L, // 1 GBCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
when(messageBlock.getCommand()).thenReturn(command); when(messageBlock.getDigest()).thenReturn(digest); when(messageBlock.getResponse()).thenReturn(response); // When - simulate a typical usage sequence messageBlock.setMid(mid); messageBlock.setCommand(command); messageBlock.setUid(uid); messageBlock.setSessionId(sessionId); messageBlock.setExtendedSecurity(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertEquals(Integer.MAX_VALUE, negotiationResponse.getReceiveBufferSize()); assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize()); // Test negative values (though not typical, should be tested) when(negotiationResponse.getSendBufferSize()).thenReturn(-1); when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1);
Created: 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/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Test @DisplayName("Should work with real-world values") void testRealWorldValues() throws SMBProtocolDecodingException { // Typical server response after copying chunks byte[] buffer = createValidCopyChunkResponse(16, // 16 chunks written 1048576, // 1MB per chunk 16777216 // 16MB total );Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
assertTrue(populatedString.contains("queryTime=500")); assertTrue(populatedString.contains("requestedTime=1000000")); } @Test public void test_complexScenario() { // Simulate a typical search result scenario // Page 2 of search results with 10 items per page searchRenderData.setPageSize(10); searchRenderData.setCurrentPageNumber(2); searchRenderData.setAllRecordCount(45L);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
void testGetFileSystemInformationClass() { assertEquals(FileSystemInformation.SMB_INFO_ALLOCATION, smbInfoAllocation.getFileSystemInformationClass()); } @Test @DisplayName("Test decode with typical values") void testDecodeWithTypicalValues() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; int idFileSystem = 0x12345678; int sectPerAlloc = 8;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
/** * Decodes a multiline string that contains both a [certificate][certificatePem] and a * [private key][privateKeyPkcs8Pem], both [PEM-encoded][rfc_7468]. A typical input string looks * like this: * * ``` * -----BEGIN CERTIFICATE----- * MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVlCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 21.6K bytes - Click Count (0)