Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getCommand (0.18 sec)

  1. 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
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                FileUtil.writeBytes(file.getAbsolutePath(), data);
                return file;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        private String getCommand(final File scriptFile) {
            if (File.separator.equals("/")) {
                // Unix
                return "sh " + scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE";
            } else {
                // Windows
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. 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
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  4. 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);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K 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
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  6. 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)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. 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("-", "_"))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. 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.
                 */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  9. 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:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  10. 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;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top