Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for cmd (0.15 sec)

  1. 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;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  2. 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 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER = 0x01;
    
        static final int CMD_OFFSET = 4;
        static final int ERROR_CODE_OFFSET = 5;
        static final int FLAGS_OFFSET = 9;
        static final int SIGNATURE_OFFSET = 14;
        static final int TID_OFFSET = 24;
        static final int SMB1_HEADER_LENGTH = 32;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        @Override
        public int getBatchLimit ( String cmd ) {
            Integer set = this.batchLimits.get(cmd);
            if ( set != null ) {
                return set;
            }
    
            set = doGetBatchLimit(cmd);
            if ( set != null ) {
                this.batchLimits.put(cmd, set);
                return set;
            }
    
            set = DEFAULT_BATCH_LIMITS.get(cmd);
            if ( set != null ) {
                return set;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int PID = (int)( Math.random() * 65536d );
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
        static final int CMD_OFFSET        = 4;
        static final int ERROR_CODE_OFFSET = 5;
        static final int FLAGS_OFFSET      = 9;
        static final int SIGNATURE_OFFSET  = 14;
        static final int TID_OFFSET        = 24;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         * 
         * @return whether to ignore exceptions that occur during file copy
         */
        boolean isIgnoreCopyToException ();
    
    
        /**
         * @param cmd
         * @return the batch limit for the given command
         */
        int getBatchLimit ( String cmd );
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.notify_buf_size</tt> (int, default 1024)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            length = bufferIndex - start;
            return length;
        }
        int writeHeaderWireFormat( byte[] dst, int dstIndex ) {
            System.arraycopy( header, 0, dst, dstIndex, header.length );
            dst[dstIndex + CMD_OFFSET] = command;
            dst[dstIndex + FLAGS_OFFSET] = flags;
            writeInt2( flags2, dst, dstIndex + FLAGS_OFFSET + 1 );
            dstIndex += TID_OFFSET;
            writeInt2( tid, dst, dstIndex );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
                int cmd = Encdec.dec_uint16le(this.sbuf, 4 + 12) & 0xFFFF;
                if ( cmd == 0x12 ) {
                    return new Smb2OplockBreakNotification(getContext().getConfig());
                }
            }
            else {
                if ( key != 0xFFFF ) {
                    return null;
                }
                int cmd = this.sbuf[ 4 + 4 ];
                if ( cmd == 0x24 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            this.ctx = ctx;
            this.server = server;
            this.path = path;
            this.service = service;
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            int c = cmd & 0xFF;
            switch ( c ) {
            case SMB_COM_CHECK_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory");
            case SMB_COM_CREATE_DIRECTORY:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  10. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
Back to top