Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,646 for ncmd (0.42 sec)

  1. src/cmd/compile/main.go

    package main
    
    import (
    	"cmd/compile/internal/amd64"
    	"cmd/compile/internal/arm"
    	"cmd/compile/internal/arm64"
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/gc"
    	"cmd/compile/internal/loong64"
    	"cmd/compile/internal/mips"
    	"cmd/compile/internal/mips64"
    	"cmd/compile/internal/ppc64"
    	"cmd/compile/internal/riscv64"
    	"cmd/compile/internal/s390x"
    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/wasm"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 18:14:52 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-dump.go

    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if !labels.IsDNS1123Label(odArgs.common.revision) && cmd.PersistentFlags().Changed("revision") {
    				return fmt.Errorf("invalid revision specified: %v", odArgs.common.revision)
    			}
    			return nil
    		},
    		Run: func(cmd *cobra.Command, args []string) {
    			l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.ErrOrStderr(), installerScope)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. cmd/import-boss/testdata/nested-fwd/bbb/file.go

    package bbb
    
    import (
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/nested-fwd/allowed-by-both"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/nested-fwd/allowed-by-root"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/nested-fwd/allowed-by-sub"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/nested-fwd/forbidden-by-both"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/nested-fwd/forbidden-by-root"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/nested-fwd/forbidden-by-sub"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 563 bytes
    - Viewed (0)
  4. src/testing/helper_test.go

    		return
    	}
    
    	testenv.MustHaveExec(t)
    	t.Parallel()
    
    	exe, err := os.Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	cmd := testenv.Command(t, exe, "-test.run=^TestTBHelper$")
    	cmd = testenv.CleanCmdEnv(cmd)
    	cmd.Env = append(cmd.Env, "GO_WANT_HELPER_PROCESS=1")
    	out, _ := cmd.CombinedOutput()
    
    	want := `--- FAIL: TestTBHelper \([^)]+\)
        helperfuncs_test.go:15: 0
        helperfuncs_test.go:47: 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/internal/testenv/exec.go

    	}
    }
    
    // CleanCmdEnv will fill cmd.Env with the environment, excluding certain
    // variables that could modify the behavior of the Go tools such as
    // GODEBUG and GOTRACEBACK.
    //
    // If the caller wants to set cmd.Dir, set it before calling this function,
    // so PWD will be set correctly in the environment.
    func CleanCmdEnv(cmd *exec.Cmd) *exec.Cmd {
    	if cmd.Env != nil {
    		panic("environment already set")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/upgrade.go

    		out:                       out,
    	}
    
    	cmd := &cobra.Command{
    		Use:   "upgrade",
    		Short: "Upgrade your cluster smoothly to a newer version with this command",
    		Run:   cmdutil.SubCmdRun(),
    	}
    
    	cmd.AddCommand(newCmdApply(flags))
    	cmd.AddCommand(newCmdPlan(flags))
    	cmd.AddCommand(newCmdDiff(out))
    	cmd.AddCommand(newCmdNode(out))
    	return cmd
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:18:29 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue18146.go

    		}
    	}
    
    	var cmds []*exec.Cmd
    	defer func() {
    		for _, cmd := range cmds {
    			cmd.Process.Kill()
    		}
    	}()
    
    	args := append(append([]string(nil), os.Args[1:]...), "-test.run=^Test18146$")
    	for n := attempts; n > 0; n-- {
    		cmd := exec.Command(os.Args[0], args...)
    		cmd.Env = append(os.Environ(), "test18146=exec")
    		buf := bytes.NewBuffer(nil)
    		cmd.Stdout = buf
    		cmd.Stderr = buf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/crypto/purego_test.go

    // such as TinyGo. See also the "crypto/...:purego" test in cmd/dist, which
    // ensures the packages build correctly.
    func TestPureGoTag(t *testing.T) {
    	cmd := exec.Command(testenv.GoToolPath(t), "list", "-e", "crypto/...", "math/big")
    	cmd.Env = append(cmd.Env, "GOOS=linux")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		log.Fatalf("loading package list: %v\n%s", err, out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/runtime/runtime-gdb_unix_test.go

    	}
    	defer r.Close()
    
    	// Start the test binary.
    	cmd = testenv.Command(t, "./a.exe", "-pipe-fd=3")
    	cmd.Dir = dir
    	cmd.ExtraFiles = []*os.File{w}
    	var output bytes.Buffer
    	cmd.Stdout = &output // for test logging
    	cmd.Stderr = &output
    
    	if err := cmd.Start(); err != nil {
    		t.Fatalf("error starting test binary: %v", err)
    	}
    	w.Close()
    
    	pid := cmd.Process.Pid
    
    	// Wait for child to be ready.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/cmd/go/chdir_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var walk func(string, *base.Command)
    	walk = func(name string, cmd *base.Command) {
    		if len(cmd.Commands) > 0 {
    			for _, sub := range cmd.Commands {
    				walk(name+" "+sub.Name(), sub)
    			}
    			return
    		}
    		if !cmd.Runnable() {
    			return
    		}
    		if cmd.CustomFlags {
    			if !strings.Contains(string(script), "# "+name+"\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top