Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for gdbcmd (0.1 sec)

  1. src/runtime/runtime-gdb.py

    	Switch PC and SP to the ones in the goroutine's G structure,
    	execute an arbitrary gdb command, and restore PC and SP.
    
    	Usage: (gdb) goroutine <goid> <gdbcmd>
    
    	You could pass "all" as <goid> to apply <gdbcmd> to all goroutines.
    
    	For example: (gdb) goroutine all <gdbcmd>
    
    	Note that it is ill-defined to modify state in the context of a goroutine.
    	Restrict yourself to inspecting values.
    	"""
    
    	def __init__(self):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/cgo/internal/testshared/shared_test.go

    func TestTwoGopathShlibs(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./depBase")
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./dep2")
    	goCmd(t, "install", "-linkshared", "./exe2")
    	run(t, "executable linked to GOPATH library", "../../bin/exe2")
    }
    
    func TestThreeGopathShlibs(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./depBase")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testplugin/plugin_test.go

    	}
    	prettyPrintf("cp plugin2.so plugin2-dup.so\n")
    
    	goCmd(nil, "build", "-buildmode=plugin", "-o=sub/plugin1.so", "./sub/plugin1")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed1.so", "./unnamed1/main.go")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed2.so", "./unnamed2/main.go")
    	goCmd(nil, "build", "-o", "host.exe", "./host")
    
    	return m.Run()
    }
    
    func goCmd(t *testing.T, op string, args ...string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. 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)
  8. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    			rt.runner.BindToCommand(rt.cmd)
    
    			// Checks that cmd gets a new phase subcommand
    			phaseCmd := getCmd(rt.cmd, "phase")
    			if phaseCmd == nil {
    				t.Error("cmd didn't have phase subcommand\n")
    				return
    			}
    
    			for c, args := range rt.testCases {
    
    				cCmd := getCmd(rt.cmd, c)
    				if cCmd == nil {
    					t.Errorf("cmd didn't have %s subcommand\n", c)
    					continue
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top