Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for getSendBufferSize (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("getSendBufferSize(): returns configured value")
        void getSendBufferSize_returns() throws Exception {
            // Arrange
            when(handle.getSendBufferSize()).thenReturn(8192);
    
            // Act
            int size = handle.getSendBufferSize();
    
            // Assert
            assertEquals(8192, size);
            verify(handle).getSendBufferSize();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        public int getReceiveBufferSize() {
            return this.recv_buf_size;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#getSendBufferSize()
         */
        @Override
        public int getSendBufferSize() {
            return this.snd_buf_size;
        }
    
        /**
         * Gets the negotiated flags2 value.
         *
         * @return negotiated flags2
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getSendBufferSize returns large size")
        void testGetSendBufferSizeLarge() {
            // Arrange
            int expectedSize = 1048576;
            when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize);
    
            // Act
            int size = negotiationResponse.getSendBufferSize();
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * Gets the send buffer size of the underlying SMB connection
         * @return the send buffer size of the underlying connection
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getSendBufferSize() throws CIFSException;
    
        /**
         * Gets the receive buffer size of the underlying SMB connection
         * @return the receive buffer size of the underlying connection
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. 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()
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  7. 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();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. 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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * @throws CIFSException if an error occurs during initialization
         */
        protected final void init(final SmbTreeHandleImpl th) throws CIFSException {
            final int sendBufferSize = th.getSendBufferSize();
            if (this.smb2) {
                this.writeSize = sendBufferSize;
                this.writeSizeFile = sendBufferSize;
                return;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. 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 =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top