- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 73 for 65536 (0.78 sec)
-
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// Given when(mockDelegate.getSendBufferSize()).thenReturn(8192); when(mockDelegate.getReceiveBufferSize()).thenReturn(8192); when(mockDelegate.getMaximumBufferSize()).thenReturn(65536); when(mockDelegate.getTransactionBufferSize()).thenReturn(65024); when(mockDelegate.getBufferCacheSize()).thenReturn(16); when(mockDelegate.getNotifyBufferSize()).thenReturn(1024);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
public static final int MAX_DOMAIN_LENGTH = 255; public static final int MAX_SHARE_NAME_LENGTH = 80; public static final int MAX_BUFFER_SIZE = 65536; // 64KB default max buffer public static final int MAX_SMB2_BUFFER_SIZE = 8388608; // 8MB for SMB2/3 public static final int MAX_CREDITS = 65535; // Patterns for validation private static final Pattern VALID_USERNAME = Pattern.compile("^[a-zA-Z0-9._\\-@]+$");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K 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); } } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) i; } } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(16, result3); } @Test @DisplayName("Should handle maximum name length") void testMaximumNameLength() { byte[] maxName = new byte[65536]; // 64KB Arrays.fill(maxName, (byte) 'M'); TestCreateContextRequest request = new TestCreateContextRequest(maxName); assertArrayEquals(maxName, request.getName());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)