Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for gdbcmd (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/cgo/internal/testsanitizers/tsan_test.go

    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("thread")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src          string
    		needsRuntime bool
    	}{
    		{src: "tsan.go"},
    		{src: "tsan2.go"},
    		{src: "tsan3.go"},
    		{src: "tsan4.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)
  7. src/cmd/doc/dirs.go

    	}
    
    	dirs.hist = make([]Dir, 0, 1000)
    	dirs.hist = append(dirs.hist, extra...)
    	dirs.scan = make(chan Dir)
    	go dirs.walk(codeRoots())
    }
    
    // goCmd returns the "go" command path corresponding to buildCtx.GOROOT.
    func goCmd() string {
    	if buildCtx.GOROOT == "" {
    		return "go"
    	}
    	return filepath.Join(buildCtx.GOROOT, "bin", "go")
    }
    
    // Reset puts the scan back at the beginning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  8. 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)
  9. tools/docker-builder/dockerfile/parse.go

    // Command represents a single line (layer) in a Dockerfile.
    // For example `FROM ubuntu:xenial`
    type Command struct {
    	Cmd       string   // lowercased command name (ex: `from`)
    	SubCmd    string   // for ONBUILD only this holds the sub-command
    	JSON      bool     // whether the value is written in json form
    	Original  string   // The original source line
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. 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)
Back to top