Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getMaximumBufferSize (0.25 sec)

  1. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         */
        int getReceiveBufferSize () throws CIFSException;
    
    
        /**
         * @return the maximum buffer size reported by the server
         * @throws CIFSException
         */
        int getMaximumBufferSize () throws CIFSException;
    
    
        /**
         * @return whether the session uses SMB signing
         * @throws CIFSException
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getNativeLanman();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaximumBufferSize()
         */
        @Override
        public int getMaximumBufferSize () {
            return this.delegate.getMaximumBufferSize();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @deprecated use getReceiveBufferSize instead
         */
        @Deprecated
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/BufferCacheImpl.java

        private int freeBuffers = 0;
    
    
        /**
         * 
         * @param cfg
         */
        public BufferCacheImpl ( Configuration cfg ) {
            this(cfg.getBufferCacheSize(), cfg.getMaximumBufferSize());
        }
    
    
        /**
         * @param maxBuffers
         * @param maxSize
         * 
         */
        public BufferCacheImpl ( int maxBuffers, int maxSize ) {
            this.cache = new Object[maxBuffers];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         * @param config
         * @param fileId
         */
        public Smb2QueryInfoRequest ( Configuration config, byte[] fileId ) {
            super(config, SMB2_QUERY_INFO);
            this.outputBufferLength = ( Math.min(config.getMaximumBufferSize(),  config.getListSize()) - Smb2QueryInfoResponse.OVERHEAD ) & ~0x7;
            this.fileId = fileId;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/EnumTest.java

            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
            int tryBufferSize = 1023;
            final int bufSize[] = new int[] {
                origBufferSize
            };
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public int getMaximumBufferSize () {
                    return bufSize[ 0 ];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         * @param fileId
         */
        public Smb2QueryDirectoryRequest ( Configuration config, byte[] fileId ) {
            super(config, SMB2_QUERY_DIRECTORY);
            this.outputBufferLength = ( Math.min(config.getMaximumBufferSize(), config.getListSize()) - Smb2QueryDirectoryResponse.OVERHEAD ) & ~0x7;
            this.fileId = fileId;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getNegotiateResponse().getReceiveBufferSize();
            }
        }
    
    
        @Override
        public int getMaximumBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                this.readSize = th.getReceiveBufferSize();
                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
            if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                this.largeReadX = true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        }
    
    
        @Override
        public int getTransactionBufferSize () {
            return this.transactionBufferSize;
        }
    
    
        @Override
        public int getMaximumBufferSize () {
            return this.maximumBufferSize;
        }
    
    
        @Override
        public int getBufferCacheSize () {
            return this.bufferCacheSize;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                throws IOException {
            response = setupResponses(request, response);
    
            CommonServerMessageBlockRequest curHead = request;
    
            int maxSize = getContext().getConfig().getMaximumBufferSize();
    
            while ( curHead != null ) {
                CommonServerMessageBlockRequest nextHead = null;
                int totalSize = 0;
                int n = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top