Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for snd_buf_size (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
    
            this.maxMpxCount = Math.min(this.maxMpxCount, this.server.smaxMpxCount);
            if (this.maxMpxCount < 1) {
                this.maxMpxCount = 1;
            }
            this.snd_buf_size = Math.min(this.snd_buf_size, this.server.maxBufferSize);
            this.recv_buf_size = Math.min(this.recv_buf_size, this.server.maxBufferSize);
            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComSessionSetupAndX[" + super.toString() + ",snd_buf_size=" + session.transport.snd_buf_size + ",maxMpxCount="
                    + session.transport.maxMpxCount + ",VC_NUMBER=" + SmbConstants.VC_NUMBER + ",sessionKey=" + sessionKey + ",lmHash.length="
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        LinkedList sessions = new LinkedList();
        ServerData server = new ServerData();
        /* Negotiated values */
        int flags2 = FLAGS2;
        int maxMpxCount = MAX_MPX_COUNT;
        int snd_buf_size = SND_BUF_SIZE;
        int rcv_buf_size = RCV_BUF_SIZE;
        int capabilities = CAPABILITIES;
        int sessionKey = 0x00000000;
        boolean useUnicode = USE_UNICODE;
        String tconHostName = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Maximum multiplex count */
        int MAX_MPX_COUNT = Config.getInt("jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT);
        /** Send buffer size in bytes */
        int SND_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE);
        /** Receive buffer size in bytes */
        int RCV_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.rcv_buf_size", DEFAULT_RCV_BUF_SIZE);
        /** Whether to use Unicode strings */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        static final int RESOLVER_LMHOSTS = 1;
        static final int RESOLVER_BCAST = 2;
        static final int RESOLVER_WINS = 3;
    
        private static final int SND_BUF_SIZE = Config.getInt("jcifs.smb1.netbios.snd_buf_size", DEFAULT_SND_BUF_SIZE);
        private static final int RCV_BUF_SIZE = Config.getInt("jcifs.smb1.netbios.rcv_buf_size", DEFAULT_RCV_BUF_SIZE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the transport layer
            smbTransport = mock(SmbTransport.class);
            smbTransport.rcv_buf_size = 4096;
            smbTransport.snd_buf_size = 4096;
    
            // Mock the session layer
            smbSession = mock(SmbSession.class);
            smbSession.transport = smbTransport;
    
            // Mock the tree layer
            smbTree = mock(SmbTree.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            mockTransport.server = serverData;
            mockTransport.sessionKey = 0x12345678;
            mockTransport.capabilities = SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS;
            mockTransport.snd_buf_size = 16644;
            mockTransport.maxMpxCount = 50;
    
            // Configure mock session
            mockSession.transport = mockTransport;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         *
         * @return receive buffer size, in bytes
         */
        int getReceiveBufferSize();
    
        /**
         *
         * Property {@code jcifs.smb.client.snd_buf_size} (int, default 65535)
         *
         * @return send buffer size, in bytes
         */
        int getSendBufferSize();
    
        /**
         *
         * Property {@code jcifs.smb.client.soTimeout} (int, default 35000)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            file.open(openFlags, access, SmbFile.ATTR_NORMAL, options);
            readSize = file.tree.session.transport.rcv_buf_size - 70;
            writeSize = file.tree.session.transport.snd_buf_size - 70;
            fp = 0L;
        }
    
        /**
         * Reads a single byte from the file at the current file pointer position.
         *
         * @return the byte read as an integer (0-255), or -1 if end of file is reached
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            final SmbTransport t2 = dest.tree.session.transport;
    
            if (t1.snd_buf_size < t2.snd_buf_size) {
                t2.snd_buf_size = t1.snd_buf_size;
            } else {
                t1.snd_buf_size = t2.snd_buf_size;
            }
    
            bsize = Math.min(t1.rcv_buf_size - 70, t1.snd_buf_size - 70);
            b = new byte[2][bsize];
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top