Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getSendBufferSize (0.07 sec)

  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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.isUseBatching();
                mockConfig.getNativeOs();
                mockConfig.getNativeLanman();
                mockConfig.getReceiveBufferSize();
                mockConfig.getSendBufferSize();
                mockConfig.getSoTimeout();
                mockConfig.getConnTimeout();
                mockConfig.getSessionTimeout();
                mockConfig.getLocalPort();
                mockConfig.getLocalAddr();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
Back to top