- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 125 for 65535 (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
// Test with small data count response.setDataCount(10); assertEquals(10, response.getDataCount()); // Test with large data count response.setDataCount(65535); assertEquals(65535, response.getDataCount()); // Test with zero data count response.setDataCount(0); assertEquals(0, response.getDataCount()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
cmd/ftp-server.go
if err != nil { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server") } if port < 1 || port > 65535 { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s, (port number must be between 1 to 65535)", arg), "unable to start FTP server") } publicIP = host case "passive-port-range": portRange = tokens[1] case "tls-private-key":
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Set excessive negotiate context count (writeInt2(-1) becomes 65535) SMBUtil.writeInt2(-1, buffer, 6); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); }); assertTrue(exception.getMessage().contains("Invalid negotiate context count: 65535")); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void getMaximumBufferSize_returns() throws Exception { // Arrange when(handle.getMaximumBufferSize()).thenReturn(65535); // Act int size = handle.getMaximumBufferSize(); // Assert assertEquals(65535, size); verify(handle).getMaximumBufferSize(); } @Test
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/main/java/jcifs/Configuration.java
/** * * Property {@code jcifs.smb.client.rcv_buf_size} (int, default 65535) * * @return receive buffer size, in bytes * @deprecated use getReceiveBufferSize instead */ @Deprecated int getRecieveBufferSize(); /** * * Property {@code jcifs.smb.client.rcv_buf_size} (int, default 65535) * * @return receive buffer size, in bytes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
} companion object { /** * From the HTTP/2 specs, the default initial window size for all streams is 64 KiB. (Chrome 25 * uses 10 MiB). */ const val DEFAULT_INITIAL_WINDOW_SIZE = 65535 /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */ const val HEADER_TABLE_SIZE = 1 /** HTTP/2: The peer must not send a PUSH_PROMISE frame when this is 0. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNotifyBufferSize()).thenReturn(4096); when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor initialization with basic parameters") void testConstructorBasic() { int fid = 0x1234; int completionFilter = FILE_NOTIFY_CHANGE_FILE_NAME;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Arrange 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/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
@Test void testLargeBatchParameters() { // Test with maximum allowed values int maxSid = 0xFFFF; int maxResumeKey = 0x7FFFFFFF; int maxBatchCount = 65535; int maxBatchSize = 65535; trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize); byte[] buffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0)