- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for getReceiveBufferSize (0.24 sec)
-
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testBufferConfigurationDelegation() { // Given when(mockDelegate.getSendBufferSize()).thenReturn(8192); when(mockDelegate.getReceiveBufferSize()).thenReturn(8192); when(mockDelegate.getMaximumBufferSize()).thenReturn(65536); when(mockDelegate.getTransactionBufferSize()).thenReturn(65024);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.getTransactionBufferSize()).thenReturn(65536); when(mockConfig.getReceiveBufferSize()).thenReturn(65536); when(mockConfig.getSendBufferSize()).thenReturn(65536); when(mockContext.getConfig()).thenReturn(mockConfig); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return false; } return true; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getReceiveBufferSize() */ @Override public int getReceiveBufferSize() { return this.maxReadSize; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getSendBufferSize() */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/internal/SmbNegotiationResponse.java
* @return the send buffer size */ int getSendBufferSize(); /** * Gets the negotiated receive buffer size. * * @return the receive buffer size */ int getReceiveBufferSize(); /** * Gets the negotiated maximum transaction buffer size. * * @return the transaction buffer size */ int getTransactionBufferSize(); /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
override fun getPort(): Int = delegate!!.port @Throws(SocketException::class) override fun getSoLinger(): Int = delegate!!.soLinger @Throws(SocketException::class) override fun getReceiveBufferSize(): Int = delegate!!.receiveBufferSize @Throws(SocketException::class) override fun getSendBufferSize(): Int = delegate!!.sendBufferSize @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/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); // simplifies stream init when(tree.getReceiveBufferSize()).thenReturn(4096); // Act: first calls construct streams, second calls return cached SmbPipeInputStream in1 = handle.getInput(); SmbPipeInputStream in2 = handle.getInput();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K 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 = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70); }
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/smb/SmbPipeInputStreamTest.java
when(handle.getPipe()).thenReturn(pipe); // init(th) behavior inside SmbFileInputStream constructor when(tree.isSMB2()).thenReturn(smb2); when(tree.getReceiveBufferSize()).thenReturn(4096); when(tree.getMaximumBufferSize()).thenReturn(65535); when(tree.hasCapability(anyInt())).thenReturn(false); return new SmbPipeInputStream(handle, tree); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @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 */ int getReceiveBufferSize(); /** *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
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 assertEquals(SmbConstants.DEFAULT_NOTIFY_BUF_SIZE, config.getNotifyBufferSize());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0)