- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for getSendBufferSize (0.3 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
public int getReceiveBufferSize() { return this.maxReadSize; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getSendBufferSize() */ @Override public int getSendBufferSize() { return this.maxWriteSize; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#isSigningEnabled() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
} @Override public int getSendBufferSize() throws SmbException { try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { return transport.getNegotiateResponse().getSendBufferSize(); } } @Override public int getReceiveBufferSize() 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/smb/SmbPipeHandleImplTest.java
// Setup tree with configuration when(tree.getConfig()).thenReturn(config); when(tree.getSendBufferSize()).thenReturn(65536); when(config.getPid()).thenReturn(12345); when(config.getSendBufferSize()).thenReturn(65536); target = new SmbPipeHandleImpl(pipe); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
*/ boolean haveCapabilitiy(int cap); /** * Gets the negotiated send buffer size. * * @return the send buffer size */ int getSendBufferSize(); /** * Gets the negotiated receive buffer size. * * @return the receive buffer size */ int getReceiveBufferSize(); /**
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/smb/SmbPipeOutputStreamTest.java
// Arrange common constructor collaborators to avoid touching network/state when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(true); when(tree.getSendBufferSize()).thenReturn(4096); // Act return new SmbPipeOutputStream(handle, tree); } @ParameterizedTest @ValueSource(booleans = { true, false })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(SocketException::class) override fun getReceiveBufferSize(): Int = delegate!!.receiveBufferSize @Throws(SocketException::class) override fun getSendBufferSize(): Int = delegate!!.sendBufferSize @Throws(SocketException::class) override fun getSoTimeout(): Int = delegate!!.soTimeout @Throws(SocketException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} try (SmbFileHandle h = ensureOpen()) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70; if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) { this.largeReadX = true; this.readSize =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertEquals(SmbConstants.DEFAULT_SO_TIMEOUT, config.getSoTimeout()); assertEquals(SmbConstants.DEFAULT_SO_TIMEOUT, config.getSessionTimeout()); assertEquals(SmbConstants.DEFAULT_SND_BUF_SIZE, config.getSendBufferSize()); assertEquals(SmbConstants.DEFAULT_RCV_BUF_SIZE, config.getReceiveBufferSize()); assertEquals(SmbConstants.DEFAULT_RCV_BUF_SIZE, config.getRecieveBufferSize()); // Deprecated method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
when(file.ensureTreeConnected()).thenReturn(tree); when(tree.getConfig()).thenReturn(cfg); when(tree.getReceiveBufferSize()).thenReturn(1024); when(tree.getSendBufferSize()).thenReturn(1024); when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS)); when(tree.areSignaturesActive()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)