Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getBatchLimit (0.37 sec)

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

            case SMB_COM_DELETE_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.DeleteDirectory");
            case SMB_COM_OPEN_ANDX:
                return cfg.getBatchLimit("TreeConnectAndX.OpenAndX");
            case SMB_COM_RENAME:
                return cfg.getBatchLimit("TreeConnectAndX.Rename");
            case SMB_COM_TRANSACTION:
                return cfg.getBatchLimit("TreeConnectAndX.Transaction");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            this.writeMode = writeMode;
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            if ( cmd == SMB_COM_READ_ANDX ) {
                return cfg.getBatchLimit("WriteAndX.ReadAndX");
            }
            if ( cmd == SMB_COM_CLOSE ) {
                return cfg.getBatchLimit("WriteAndX.Close");
            }
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            this.fid = fid;
            this.offset = offset;
            this.maxCount = this.minCount = maxCount;
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_CLOSE ? cfg.getBatchLimit("ReadAndX.Close") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                        openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                    }
                } else {
                    openFunction = OPEN_FN_OPEN;
                }
            }
        }
    
        int getBatchLimit( byte command ) {
            return command == SMB_COM_READ_ANDX ? BATCH_LIMIT : 0;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isIgnoreCopyToException();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.Configuration#getBatchLimit(java.lang.String)
         */
        @Override
        public int getBatchLimit ( String cmd ) {
            return this.delegate.getBatchLimit(cmd);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isAllowCompound(java.lang.String)
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                }
                else {
                    this.openFunction = OPEN_FN_OPEN;
                }
            }
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_READ_ANDX ? cfg.getBatchLimit("OpenAndX.ReadAndX") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                }
            }
            else {
                throw new SmbException("Unsupported");
            }
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_TREE_CONNECT_ANDX ? cfg.getBatchLimit("SessionSetupAndX.TreeConnectAndX") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

        }
    
        void setParam( int fid, long offset, int maxCount ) {
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
        }
        int getBatchLimit( byte command ) {
            return command == SMB_COM_CLOSE ? BATCH_LIMIT : 0;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        }
        AndXServerMessageBlock( ServerMessageBlock andx ) {
            if (andx != null) {
                this.andx = andx;
                andxCommand = andx.command;
            }
        }
    
        int getBatchLimit( byte command ) {
            /* the default limit is 0 batched messages before this
             * one, meaning this message cannot be batched.
             */
            return 0;
        }
    
        /* 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            dataLength = len;
            digest = null; /* otherwise recycled commands
                            * like writeandx will choke if session
                            * closes in between */
        }
        int getBatchLimit( byte command ) {
            if( command == SMB_COM_READ_ANDX ) {
                return READ_ANDX_BATCH_LIMIT;
            }
            if( command == SMB_COM_CLOSE ) {
                return CLOSE_BATCH_LIMIT;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
Back to top