Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for cmd (0.14 sec)

  1. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  2. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  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;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            } else if (isMacOS()) {
                return new String[]{"ps", "x", "-o", "pid,command"};
            } else {
                return new String[]{"ps", "x", "-o", "pid,cmd"};
            }
        }
    
        private static boolean isWindows() {
            return System.getProperty("os.name").toLowerCase().contains("windows");
        }
    
        private static boolean isMacOS() {
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Sep 27 07:41:29 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  6. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  7. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  8. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  9. 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;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  10. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
Back to top