Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 315 for Commands (0.36 sec)

  1. src/cmd/go/internal/base/base.go

    	Flag flag.FlagSet
    
    	// CustomFlags indicates that the command will do its own
    	// flag parsing.
    	CustomFlags bool
    
    	// Commands lists the available commands and help topics.
    	// The order here is the order in which they are printed by 'go help'.
    	// Note that subcommands are in general best avoided.
    	Commands []*Command
    }
    
    var Go = &Command{
    	UsageLine: "go",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go

    limitations under the License.
    */
    
    package feature
    
    import (
    	"k8s.io/component-base/featuregate"
    )
    
    var (
    	// DefaultMutableFeatureGate is a mutable version of DefaultFeatureGate.
    	// Only top-level commands/options setup and the k8s.io/component-base/featuregate/testing package should make use of this.
    	// Tests that need to modify feature gates for the duration of their test should use:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/mirror/SetMirrorsSampleModifier.java

                return sample;
            }
            List<Command> commands = sample.getCommands();
            List<Command> modifiedCommands = new ArrayList<Command>();
            for (Command command : commands) {
                if ("gradle".equals(command.getExecutable())) {
                    List<String> args = new ArrayList<String>(command.getArgs());
                    args.add("--init-script");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_pgo_auto.txt

    ! stderr 'build\\t-pgo='
    
    # other build-related commands
    go install -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go run -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go test -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go'
    stderr 'compile.*-pgoprofile=.*external_test.go'
    
    # go list commands should succeed as usual
    go list -pgo=auto ./a/a1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/customPlugins/customPlugin/tests/customPlugin.sample.conf

    # tag::cli[]
    # gradle --quiet hello
    # end::cli[]
    commands: [{
        executable: gradle
        args: hello
        flags: --quiet
        expected-output-file: customPlugin.out
    }, {
        executable: gradle
        args: hi
        flags: --quiet
        expected-output-file: customPluginScript.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 22:35:53 UTC 2024
    - 275 bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/plugin.go

    }
    
    func (plugin *flexVolumePlugin) SupportsMountOption() bool {
    	return false
    }
    
    // Mark the given commands as unsupported.
    func (plugin *flexVolumePlugin) unsupported(commands ...string) {
    	plugin.Lock()
    	defer plugin.Unlock()
    	plugin.unsupportedCommands = append(plugin.unsupportedCommands, commands...)
    }
    
    func (plugin *flexVolumePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho_update_uuid.go

    	}
    
    	// Locate the portion of the binary containing the load commands.
    	cmdOffset := unsafe.Sizeof(exem.FileHeader)
    	if is64bit := exem.Magic == macho.Magic64; is64bit {
    		// mach_header_64 has one extra uint32.
    		cmdOffset += unsafe.Sizeof(exem.Magic)
    	}
    	if _, err := outf.Seek(int64(cmdOffset), 0); err != nil {
    		return err
    	}
    
    	// Read the load commands, looking for the LC_UUID cmd. If/when we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r29/ToolingApiEclipseModelCrossVersionSpec.groovy

            rootProject.projectNatures.collect{ it.id } == ['org.eclipse.jdt.core.javanature', 'sample.nature.a', 'sample.nature.b']
        }
    
        @TargetGradleVersion(">=3.0")
        def "applying plugins configure appropriate build commands"() {
            given:
            plugins.each { plugin -> buildFile << "apply plugin: '${plugin}'\n" }
            settingsFile << "rootProject.name = 'root'"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top