- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 125 for 65536 (0.01 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
byte[] largeBuffer = new byte[65536]; // 64KB buffer // Act & Assert assertEquals(0, response.writeSetupWireFormat(largeBuffer, 0)); assertEquals(0, response.writeParametersWireFormat(largeBuffer, 32768)); assertEquals(0, response.writeDataWireFormat(largeBuffer, 65535)); assertEquals(0, response.readSetupWireFormat(largeBuffer, 0, 65536));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
response.setSelectedVersion(request.getMaxVersion()); response.setCreditsGranted(request.getCreditsRequested()); response.setMaxReceiveSize(Math.min(request.getMaxReceiveSize(), 65536)); response.setMaxReadWriteSize(0); // No RDMA read/write support response.setMaxFragmentedSize(request.getMaxFragmentedSize()); state = RdmaConnectionState.ESTABLISHED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
} @Test @DisplayName("Should handle large arrays efficiently") void testWriteBytesWireFormatWithLargeArray() { // Given byte[] dst = new byte[65536]; // 64KB array // When int result = response.writeBytesWireFormat(dst, 32768); // Then assertEquals(0, result); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validatePort(65535)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(0)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(-1)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(65536)); } @Test @DisplayName("Test timeout validation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(ioe.message).isEqualTo("google.com") val cause = ioe.cause!! assertThat(cause).isInstanceOf<IOException>() assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes") } } @Test fun failOnBadResponse() { server.enqueue(dnsResponse("00")) try { dns.lookup("google.com") fail<Any>() } catch (ioe: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testSmb1MessageSizeTooLarge() throws Exception { assertThrows(SmbException.class, () -> { validator.validateMessageSize(65536, true); }); } @Test public void testSmb2MessageSizeTooLarge() throws Exception { assertThrows(SmbException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
class EdgeCaseTests { @Test @DisplayName("Should handle large buffer decoding") void testLargeBufferDecode() throws SMBProtocolDecodingException { byte[] largeBuffer = new byte[65536]; Arrays.fill(largeBuffer, (byte) 0xFF); TestCreateContextResponse response = new TestCreateContextResponse("LARGE_BUFFER_TEST".getBytes(StandardCharsets.UTF_8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} private static Stream<Arguments> provideInt4TestValues() { return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536), Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF)); } @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
byte[] salt = new byte[64]; SecureRandom random = new SecureRandom(); for (int i = 0; i < hashAlgos.length; i++) { hashAlgos[i] = random.nextInt(65536); } random.nextBytes(salt); PreauthIntegrityNegotiateContext original = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); // Encode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)