- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for gdbcmd (0.12 sec)
-
cmd/kubeadm/test/cmd/util.go
subCmd := getSubCommand(t, subCmds, command) subCmd.SetOut(output) subCmd.SetArgs(args) if err := subCmd.Execute(); err != nil { return err } return nil } func getSubCommand(t *testing.T, subCmds []*cobra.Command, name string) *cobra.Command { for _, subCmd := range subCmds { if subCmd.Name() == name { return subCmd } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 01 12:47:03 UTC 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
ambientPod, err := s.getPodWithRetry(log, addCmd.PodName, addCmd.PodNamespace) if err != nil { return err } log.Debugf("Pod: %s in ns: %s is enabled for ambient, adding to mesh.", addCmd.PodName, addCmd.PodNamespace) var podIps []netip.Addr for _, configuredPodIPs := range addCmd.IPs { // net.ip is implicitly convertible to netip as slice
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard_test.go
WantException: false, }, } dbCmd := Dashboard(cli.NewFakeContext(&cli.NewFakeContextOption{ Namespace: "istio-system", })) for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) { testutil.VerifyOutput(t, dbCmd, c) cleanupTestCase() }) } } func cleanupTestCase() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Nov 21 01:17:24 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/go/testdata/addmod.go
if err := os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte("module m\n"), 0666); err != nil { fatalf("%v", err) } run(goCmd, "get", "-d", arg) path := arg if i := strings.Index(path, "@"); i >= 0 { path = path[:i] } out := run(goCmd, "list", "-m", "-f={{.Path}} {{.Version}} {{.Dir}}", path) f := strings.Fields(out) if len(f) != 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 19:41:54 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
default: t.Skipf("Slow test, usually avoid it, arch=%s not amd64 or arm64", runtime.GOARCH) } testenv.MustHaveGoBuild(t) gocmd := testenv.GoToolPath(t) tmpdir := t.TempDir() source := filepath.Join("testdata", "fma.go") output := filepath.Join(tmpdir, "fma.exe") cmd := testenv.Command(t, gocmd, "build", "-o", output, source)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/tsan_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 21:14:49 UTC 2024 - 1.9K bytes - Viewed (0) -
src/internal/trace/traceviewer/pprof.go
http.Error(w, fmt.Sprintf("failed to close temp file: %v", err), http.StatusInternalServerError) return } svgFilename := blockf.Name() + ".svg" if output, err := exec.Command(goCmd(), "tool", "pprof", "-svg", "-output", svgFilename, blockf.Name()).CombinedOutput(); err != nil { http.Error(w, fmt.Sprintf("failed to execute go tool pprof: %v\n%s", err, output), http.StatusInternalServerError) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:28:02 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/internal/objabi/path_test.go
} func TestRuntimePackageList(t *testing.T) { // Test that all packages imported by the runtime are marked as runtime // packages. testenv.MustHaveGoBuild(t) goCmd, err := testenv.GoTool() if err != nil { t.Fatal(err) } pkgList, err := exec.Command(goCmd, "list", "-deps", "runtime").Output() if err != nil { if err, ok := err.(*exec.ExitError); ok { t.Log(string(err.Stderr)) } t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 13:56:25 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/go/internal/bug/bug.go
env = append(env, envcmd.ExtraEnvVarsCostly()...) envcmd.PrintEnv(w, env, false) } func printGoDetails(w io.Writer) { gocmd := filepath.Join(runtime.GOROOT(), "bin/go") printCmdOut(w, "GOROOT/bin/go version: ", gocmd, "version") printCmdOut(w, "GOROOT/bin/go tool compile -V: ", gocmd, "tool", "compile", "-V") } func printOSDetails(w io.Writer) { switch runtime.GOOS { case "darwin", "ios":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/go/testdata/savedir.go
"io/fs" "log" "os" "path/filepath" "strings" "unicode/utf8" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go run savedir.go dir >saved.txt\n") os.Exit(2) } const goCmd = "vgo" func main() { flag.Usage = usage flag.Parse() if flag.NArg() != 1 { usage() } log.SetPrefix("savedir: ") log.SetFlags(0) dir := flag.Arg(0) a := new(txtar.Archive)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 19:41:54 UTC 2023 - 1.5K bytes - Viewed (0)