- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 512 for 2048 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
int bytesRead = response.readBytesWireFormat(buffer, offset); assertEquals(16, bytesRead); assertEquals(2048, response.getCount()); assertEquals(1024, response.getRemaining()); } @Test @DisplayName("Should handle zero count and remaining")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
void testWriteAtDifferentPositions() { request.setReadLength(2048); request.setOffset(4096L); byte[] buffer = new byte[512]; // Test at position 0 int bytesWritten = request.writeBytesWireFormat(buffer, 0); assertEquals(49, bytesWritten); assertEquals(2048, SMBUtil.readInt4(buffer, 4)); // Test at position 100
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} } @Test public void testThresholdMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); int threshold = 2048; CurlRequest result = request.threshold(threshold); assertSame(request, result); // Fluent API assertEquals(threshold, request.threshold()); } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
} @Test public void testAllocateBuffer() { ByteBuffer buffer = bufferManager.allocateBuffer(2048); assertNotNull(buffer, "Buffer should not be null"); assertTrue(buffer.capacity() >= 2048, "Buffer should be at least requested size"); assertTrue(buffer.isDirect(), "Buffer should be direct"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
void testGetOpnumWithParameterizedConstructor() throws Exception { // Given when(mockHandle.getMaxXmit()).thenReturn(2048); when(mockHandle.getMaxRecv()).thenReturn(2048); DcerpcBind paramBind = new DcerpcBind(mockBinding, mockHandle); // When int opnum = paramBind.getOpnum(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
size.setAccessible(true); size.setInt(resp, 2048); assertEquals(0xABCD, resp.getAttributes()); assertEquals(1630000001000L, resp.getCreateTime()); assertEquals(1630000001000L, resp.getLastWriteTime()); assertEquals(2048, resp.getSize()); // toString() uses lastWriteTime directly without offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
info.lastAccessTime = 1672531200001L; info.lastWriteTime = 1672617600000L; info.changeTime = 1672617600001L; info.endOfFile = 1024; info.allocationSize = 2048; info.extFileAttributes = SmbFile.ATTR_READONLY; info.fileNameLength = 8; info.eaSize = 0; info.shortNameLength = 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
transaction.setTotalParameterCount(100); transaction.setTotalDataCount(200); transaction.setMaxParameterCount(1024); transaction.setMaxDataCountForTest(2048); transaction.setParameterCount(50); transaction.setParameterOffset(80); transaction.setDataCount(150); transaction.setDataOffset(130); transaction.setSetupCount(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
keySize = 256 } /** * Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of * security. RSA keys are interoperable with very old clients that don't support ECDSA. */ fun rsa2048() = apply { keyAlgorithm = "RSA" keySize = 2048 } fun build(): HeldCertificate { // Subject keys & identity.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
standardInfo.endOfFile = 2048L; standardInfo.numberOfLinks = 1; String str = standardInfo.toString(); assertNotNull(str); assertTrue(str.contains("SmbQueryInfoStandard")); assertTrue(str.contains("allocationSize=4096")); assertTrue(str.contains("endOfFile=2048")); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)