Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GetCommand (0.2 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                this.dataCount = Math.min(this.totalDataCount, available);
            }
            else {
                if ( this.getCommand() != SMB_COM_NT_TRANSACT ) {
                    this.setCommand(SMB_COM_TRANSACTION_SECONDARY);
                }
                else {
                    this.setCommand(SMB_COM_NT_TRANSACT_SECONDARY);
                }
                // totalParameterCount and totalDataCount are set ok from primary
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if ( this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY ) {
                dst[ dstIndex++ ] = this.maxSetupCount;
            }
            else {
                dst[ dstIndex++ ] = (byte) 0x00; // Reserved
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            super(config, command, name);
            this.andx = andx;
            if ( andx != null ) {
                this.andxCommand = (byte) andx.getCommand();
            }
        }
    
    
        protected AndXServerMessageBlock ( Configuration config, byte command ) {
            this(config, command, null);
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  4. cni/cmd/install-cni/main.go

    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    		sig := <-sigChan
    		log.Infof("Exit signal received: %s", sig)
    		cancel()
    	}(sigChan, cancel)
    
    	rootCmd := cmd.GetCommand()
    	if err := rootCmd.ExecuteContext(ctx); err != nil {
    		os.Exit(1)
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        long getMid ();
    
    
        /**
         * @param mid
         */
        void setMid ( long mid );
    
    
        /**
         * @return the command
         */
        int getCommand ();
    
    
        /**
         * @param command
         */
        void setCommand ( int command );
    
    
        /**
         * @param uid
         */
        void setUid ( int uid );
    
    
        /**
         * @param extendedSecurity
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    			if err != nil {
    				err = fmt.Errorf("%s: %w", cleanErr.Error(), err)
    			} else {
    				err = cleanErr
    			}
    		}
    
    		return
    	},
    }
    
    // GetCommand returns the main cobra.Command object for this application
    func GetCommand() *cobra.Command {
    	return rootCmd
    }
    
    func init() {
    	viper.AutomaticEnv()
    	viper.AllowEmptyEnv(true)
    	viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            byte[] sequence = new byte[8];
            SMBUtil.writeInt4(msg.getSignSeq(), sequence, 0);
            update(sequence, 0, sequence.length);
            index += 8;
            if ( msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX ) {
                /*
                 * SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                    response = sendComTransaction(request, response, params);
                }
                else {
                    if ( response != null ) {
                        response.setCommand(request.getCommand());
                    }
                    response = sendrecv(request, response, params);
                }
            }
            catch ( SmbException se ) {
                throw se;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            this.digest = null;
            this.sessionId = 0;
            this.treeId = 0;
        }
    
    
        /**
         * @return the command
         */
        @Override
        public final int getCommand () {
            return this.command;
        }
    
    
        /**
         * @return offset to next compound command
         */
        public final int getNextCommandOffset () {
            return this.nextCommand;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

         */
        private static void checkRequest ( SmbTransportImpl transport, ServerMessageBlock request, String svc ) throws SmbException {
            if ( !"A:".equals(svc) ) {
                switch ( request.getCommand() ) {
                case ServerMessageBlock.SMB_COM_OPEN_ANDX:
                case ServerMessageBlock.SMB_COM_NT_CREATE_ANDX:
                case ServerMessageBlock.SMB_COM_READ_ANDX:
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top