Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getCommand (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            this.outputExtension = outputExtension;
        }
    
        public void setTempDir(final File tempDir) {
            this.tempDir = tempDir;
        }
    
        public void setCommand(final String command) {
            this.command = command;
        }
    
        public void setExecutionTimeout(final long executionTimeout) {
            this.executionTimeout = executionTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top