Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for maxBuffers (0.1 sec)

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

            this(cfg.getBufferCacheSize(), cfg.getMaximumBufferSize());
        }
    
    
        /**
         * @param maxBuffers
         * @param maxSize
         * 
         */
        public BufferCacheImpl ( int maxBuffers, int maxSize ) {
            this.cache = new Object[maxBuffers];
            this.bufferSize = maxSize;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.BufferCache#getBuffer()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/BufferCache.java

    public class BufferCache {
    
        private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 );
    
        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
                        if( cache[i] != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

            this.transactionBufferSize = Config.getInt(p, "jcifs.smb.client.transaction_buf_size", 0xFFFF) - 512;
            this.bufferCacheSize = Config.getInt(p, "jcifs.smb.maxBuffers", 16);
    
            this.smbListSize = Config.getInt(p, "jcifs.smb.client.listSize", 65435);
            this.smbListCount = Config.getInt(p, "jcifs.smb.client.listCount", 200);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         * 
         * @return maximum data size for SMB transactions
         */
        int getTransactionBufferSize ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.maxBuffers</tt> (int, default 16)
         * 
         * @return number of buffers to keep in cache
         */
        int getBufferCacheSize ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top