- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for 4096 (2.48 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
SMBUtil.writeInt4(3, buffer, 0); SMBUtil.writeInt4(4096, buffer, 4); SMBUtil.writeInt4(12288, buffer, 8); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded); assertEquals(3, response.getChunksWritten()); assertEquals(4096, response.getChunkBytesWritten());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
MockitoAnnotations.openMocks(this); when(mockContext.getConfig()).thenReturn(mockConfig); testFileId = new byte[16]; new SecureRandom().nextBytes(testFileId); outputBuffer = new byte[4096]; request = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test
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/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
void setUp() throws MalformedURLException, UnknownHostException, SmbException { // Mock the transport layer smbTransport = mock(SmbTransport.class); smbTransport.rcv_buf_size = 4096; smbTransport.snd_buf_size = 4096; // Mock the session layer smbSession = mock(SmbSession.class); smbSession.transport = smbTransport; // Mock the tree layer
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/smb/SmbTreeHandleImplTest.java
when(config.getFlags2()).thenReturn(0); when(config.getMaxMpxCount()).thenReturn(1); when(config.getSendBufferSize()).thenReturn(4096); when(config.getReceiveBufferSize()).thenReturn(4096); when(config.getTransactionBufferSize()).thenReturn(4096); when(config.isUseUnicode()).thenReturn(true); SmbComNegotiateResponse nego = new SmbComNegotiateResponse(ctx);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@Test @DisplayName("Package constructor should initialize with binding and handle") void testPackageConstructor() throws Exception { // Given int maxXmit = 4096; int maxRecv = 4096; when(mockHandle.getMaxXmit()).thenReturn(maxXmit); when(mockHandle.getMaxRecv()).thenReturn(maxRecv); // When
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/SmbComNegotiateResponseTest.java
serverData.security = 1; serverData.encryptedPasswords = true; serverData.maxMpxCount = 10; serverData.maxNumberVcs = 2; serverData.maxBufferSize = 4096; serverData.maxRawSize = 8192; serverData.sessionKey = 0xABCDEF; serverData.capabilities = SmbConstants.CAP_UNICODE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
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/smb1/trans/SmbComTransactionTest.java
assertEquals(8192, transaction.maxBufferSize); } @Test @DisplayName("Test setMaxDataCount") void testSetMaxDataCount() { transaction.setMaxDataCount(4096); assertEquals(4096, transaction.maxDataCount); } @Test @DisplayName("Test buffer management") void testBufferManagement() { byte[] buffer = new byte[1024]; buffer[0] = 0x42;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
command = SMB_COM_TRANSACTION; subCommand = NET_SHARE_ENUM; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; // maxDataCount = 4096; why was this set? maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
*/ public NetShareEnum(final Configuration config) { super(config, SMB_COM_TRANSACTION, NET_SHARE_ENUM); this.name = "\\PIPE\\LANMAN"; this.maxParameterCount = 8; // maxDataCount = 4096; why was this set? this.maxSetupCount = (byte) 0x00; this.setupCount = 0; this.timeout = 5000; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0)