Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,167 for command1 (0.53 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         *
         * @return Created cancellation token associated with currently running command or an arbitrary instance if no command is running.
         */
        BuildCancellationToken getCancellationToken();
    
        /**
         * Runs the given long running command. No more than 1 command may be running at any given time.
         *
         * @param command The command to run
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/script/cmds.go

    		})
    }
    
    // Wait waits for the completion of background commands.
    //
    // When Wait returns, the stdout and stderr buffers contain the concatenation of
    // the background commands' respective outputs in the order in which those
    // commands were started.
    func Wait() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "wait for completion of background commands",
    			Args:    "",
    			Detail: []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/script/engine.go

    //
    // Commands are executed one at a time, and errors are checked for each command;
    // if any command fails unexpectedly, no subsequent commands in the script are
    // executed. The command prefix ! indicates that the command on the rest of the
    // line (typically go or a matching predicate) must fail instead of succeeding.
    // The command prefix ? indicates that the command may or may not succeed, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/command_headers_test.go

    			}
    		})
    	}
    }
    
    // Builds a hierarchy of commands in order from the passed slice of commands,
    // by adding each subsequent command as a child of the previous command,
    // returning the last leaf command.
    func buildCommandChain(commands []*cobra.Command) *cobra.Command {
    	var currCmd *cobra.Command
    	if len(commands) > 0 {
    		currCmd = commands[0]
    	}
    	for i := 1; i < len(commands); i++ {
    		cmd := commands[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 20:34:02 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  5. pkg/collateral/control.go

    }
    
    func findCommands(commands map[string]*cobra.Command, cmd *cobra.Command) {
    	cmd.InitDefaultHelpCmd()
    	cmd.InitDefaultHelpFlag()
    
    	commands[cmd.CommandPath()] = cmd
    	for _, c := range cmd.Commands() {
    		findCommands(commands, c)
    	}
    }
    
    const help = "help"
    
    func genHTMLFragment(cmd *cobra.Command, path string, p Predicates) error {
    	commands := make(map[string]*cobra.Command)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/genman/gen_kube_man.go

    	if len(command.Example) > 0 {
    		fmt.Fprintf(out, "# EXAMPLE\n")
    		fmt.Fprintf(out, "```\n%s\n```\n", command.Example)
    	}
    
    	if len(command.Commands()) > 0 || len(parent) > 0 {
    		fmt.Fprintf(out, "# SEE ALSO\n")
    		if len(parent) > 0 {
    			fmt.Fprintf(out, "**%s(1)**, ", dparent)
    		}
    		for _, c := range command.Commands() {
    			fmt.Fprintf(out, "**%s-%s(1)**, ", dname, c.Name())
    			genMarkdown(c, name, docsDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 12:03:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/help.go

    		base.Exit()
    	}
    
    	if len(cmd.Commands) > 0 {
    		PrintUsage(os.Stdout, cmd)
    	} else {
    		tmpl(os.Stdout, helpTemplate, cmd)
    	}
    	// not exit 2: succeeded at 'go help cmd'.
    	return
    }
    
    var usageTemplate = `{{.Long | trim}}
    
    Usage:
    
    	{{.UsageLine}} <command> [arguments]
    
    The commands are:
    {{range .Commands}}{{if or (.Runnable) .Commands}}
    	{{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/cmd/internal/browser/browser.go

    func Open(url string) bool {
    	for _, args := range Commands() {
    		cmd := exec.Command(args[0], append(args[1:], url)...)
    		if cmd.Start() == nil && appearsSuccessful(cmd, 3*time.Second) {
    			return true
    		}
    	}
    	return false
    }
    
    // appearsSuccessful reports whether the command appears to have run successfully.
    // If the command runs longer than the timeout, it's deemed successful.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/generate/generate.go

    }
    
    // setShorthand installs a new shorthand as defined by a -command directive.
    func (g *Generator) setShorthand(words []string) {
    	// Create command shorthand.
    	if len(words) == 1 {
    		g.errorf("no command specified for -command")
    	}
    	command := words[1]
    	if g.commands[command] != nil {
    		g.errorf("command %q multiply defined", command)
    	}
    	g.commands[command] = slices.Clip(words[2:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top