- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for getTransactionBufferSize (0.38 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
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); // Set server timezone (in minutes) and domain
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/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return this.maxTransactSize; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getTransactionBufferSize() */ @Override public int getTransactionBufferSize() { return getMaxTransactSize(); } /** * Gets the negotiate contexts from the SMB 3.1.1 negotiation response. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
MockitoAnnotations.openMocks(this); // Use real configuration for most tests realConfig = new BaseConfiguration(false); // Mock configuration setup when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructor() { netShareEnum = new NetShareEnum(realConfig);
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/SmbNegotiationResponse.java
*/ int getReceiveBufferSize(); /** * Gets the negotiated maximum transaction buffer size. * * @return the transaction buffer size */ int getTransactionBufferSize(); /** * Gets the number of initial credits granted by the server for SMB2. * * @return number of initial credits the server grants */ int getInitialCredits();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
MockitoAnnotations.openMocks(this); // Use real configuration for most tests realConfig = new BaseConfiguration(false); // Mock configuration setup when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor with domain and server types") void testConstructor() { String domain = "WORKGROUP";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getTransactionBufferSize()).thenReturn(65535); when(mockConfig.isUseUnicode()).thenReturn(true); when(mockConfig.isForceUnicode()).thenReturn(false); when(mockConfig.getOemEncoding()).thenReturn("ASCII"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K 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;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/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
super(config, SMB2_IOCTL); this.controlCode = controlCode; this.fileId = fileId; this.maxOutputResponse = config.getTransactionBufferSize() & ~0x7; this.outputBuffer = null; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[]) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { return transport.getNegotiateResponse().getTransactionBufferSize(); } } @Override public boolean areSignaturesActive() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertNotNull(trans2QueryPathInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)