- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 300 for typical (0.05 sec)
-
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++) {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (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");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
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: *Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (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;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
} if rb.r != 16 { t.Fatalf("expect r.r=16 but got %d. r.w=%d", rb.r, rb.w) } } func TestRingBuffer_Blocking(t *testing.T) { // Typical runtime is ~5-10s. defer timeout(60 * time.Second)() const debug = false var readBytes int var wroteBytes int var readBuf bytes.Buffer var wroteBuf bytes.Buffer readHash := crc32.NewIEEE()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26.7K bytes - Viewed (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----- * MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVlRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
return enabled; } public void setEnabled(boolean enabled) { this.enabled = enabled; } } /** * A more realistic test bean that simulates typical mojo parameters */ public static class RealisticTestBean { private String name; private int count; private boolean enabled; private String description;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 17 07:40:49 UTC 2025 - 16.6K bytes - Viewed (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 GBRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)