- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for badexec (0.12 sec)
-
src/internal/testenv/testenv_test.go
} t.Logf("HasGoBuild is true; checking consistency with other functions") hasExec := false hasExecGo := false t.Run("MustHaveExec", func(t *testing.T) { testenv.MustHaveExec(t) hasExec = true }) t.Run("MustHaveExecPath", func(t *testing.T) { testenv.MustHaveExecPath(t, "go") hasExecGo = true }) if !hasExec { t.Errorf(`MustHaveExec(t) skipped unexpectedly`) } if !hasExecGo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/go/scriptcmds_test.go
return cmd.Process.Signal(interrupt) } } cmdExec := script.Exec(cancel, waitDelay) cmds["exec"] = cmdExec add := func(name string, cmd script.Cmd) { if _, ok := cmds[name]; ok { panic(fmt.Sprintf("command %q is already registered", name)) } cmds[name] = cmd } add("cc", scriptCC(cmdExec)) cmdGo := scriptGo(cancel, waitDelay) add("go", cmdGo)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 18:33:17 UTC 2024 - 3.3K bytes - Viewed (0) -
tools/bug-report/pkg/kubectlcmd/kubectlcmd.go
if dryRun { return fmt.Sprintf("Dry run: would be running podExec %s/%s/%s:%s", pod, namespace, container, cmdStr), nil } task := fmt.Sprintf("PodExec %s/%s/%s:%s", namespace, pod, container, cmdStr) r.addRunningTask(task) defer r.removeRunningTask(task) stdout, stderr, err := r.Client.PodExec(pod, namespace, container, cmdStr) if err != nil { return "", fmt.Errorf("podExec error: %s\n\nstderr:\n%s\n\nstdout:\n%s",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 7.2K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
// TODO determine a better range for BadExpr below par.List = []*ast.Field{{Type: &ast.BadExpr{pos, pos}}} return par } // recv type must be of the form ["*"] identifier recv := par.List[0] base := deref(recv.Type) if _, isIdent := base.(*ast.Ident); !isIdent { p.errorExpected(base.Pos(), "(unqualified) identifier") par.List = []*ast.Field{{Type: &ast.BadExpr{recv.Pos(), recv.End()}}} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0) -
src/runtime/ehooks_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/testdata/testexithooks/testexithooks.go
_ "unsafe" ) var modeflag = flag.String("mode", "", "mode to run in") func main() { flag.Parse() switch *modeflag { case "simple": testSimple() case "goodexit": testGoodExit() case "badexit": testBadExit() case "panics": testPanics() case "callsexit": testHookCallsExit() case "exit2": testExit2() default: panic("unknown mode") } } func testSimple() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
return MakePos(n.Pos().Base(), 1, 1) // declarations // case *ImportDecl: // case *ConstDecl: // case *TypeDecl: // case *VarDecl: // case *FuncDecl: // expressions // case *BadExpr: // case *Name: // case *BasicLit: case *CompositeLit: if n.Type != nil { m = n.Type continue } return n.Pos() case *KeyValueExpr: m = n.Key // case *FuncLit:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
} } } else { msg = "mixed named and unnamed parameters" } p.syntaxErrorAt(errPos, msg) } } return } func (p *parser) badExpr() *BadExpr { b := new(BadExpr) b.pos = p.pos() return b } // ---------------------------------------------------------------------------- // Statements
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
pkg/test/kube/dump.go
if !crashed && restarts == 0 { // no need to store this dump continue } findDumps := fmt.Sprintf("find %s -name core.*", coredumpDir) stdout, _, err := c.PodExec(pod.Name, pod.Namespace, container.Name, findDumps) if err != nil { scopes.Framework.Warnf("Unable to get core dumps for cluster/pod: %s/%s/%s: %v", c.Name(), pod.Namespace, pod.Name, err) continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
src/go/parser/parser.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0)