- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for badexit (0.12 sec)
-
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go
a.apply(n, "Type", nil, n.Type) a.apply(n, "Tag", nil, n.Tag) a.apply(n, "Comment", nil, n.Comment) case *ast.FieldList: a.applyList(n, "List") // Expressions case *ast.BadExpr, *ast.Ident, *ast.BasicLit: // nothing to do case *ast.Ellipsis: a.apply(n, "Elt", nil, n.Elt) case *ast.FuncLit: a.apply(n, "Type", nil, n.Type) a.apply(n, "Body", nil, n.Body)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/fix/fix.go
walkBeforeAfter(&n.Type, before, after) walkBeforeAfter(&n.Tag, before, after) case *ast.FieldList: for _, field := range n.List { walkBeforeAfter(field, before, after) } case *ast.BadExpr: case *ast.Ident: case *ast.Ellipsis: walkBeforeAfter(&n.Elt, before, after) case *ast.BasicLit: case *ast.FuncLit: walkBeforeAfter(&n.Type, before, after) walkBeforeAfter(&n.Body, before, after)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 14.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
check.trace(e0.Pos(), "=> %s // %s", T, goTypeName(T)) } else { check.trace(e0.Pos(), "=> %s (under = %s) // %s", T, under, goTypeName(T)) } }() } switch e := e0.(type) { case *syntax.BadExpr: // ignore - error reported before case *syntax.Name: var x operand check.ident(&x, e, def, true) switch x.mode { case typexpr: typ := x.typ setDefType(def, typ)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/race.go
// already held it's assumed that the first caller exits the program // so other calls can hang forever without an issue. lock(&raceFiniLock) // __tsan_fini will run C atexit functions and C++ destructors, // which can theoretically call back into Go. // Tell the scheduler we entering external code. entersyscall() // We're entering external code that may call ExitProcess on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/go/types/typexpr.go
check.trace(e0.Pos(), "=> %s // %s", T, goTypeName(T)) } else { check.trace(e0.Pos(), "=> %s (under = %s) // %s", T, under, goTypeName(T)) } }() } switch e := e0.(type) { case *ast.BadExpr: // ignore - error reported before case *ast.Ident: var x operand check.ident(&x, e, def, true) switch x.mode { case typexpr: typ := x.typ setDefType(def, typ)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
src/os/exec/exec_test.go
var helperCommands = map[string]func(...string){ "echo": cmdEcho, "echoenv": cmdEchoEnv, "cat": cmdCat, "pipetest": cmdPipeTest, "stdinClose": cmdStdinClose, "exit": cmdExit, "describefiles": cmdDescribeFiles, "stderrfail": cmdStderrFail, "yes": cmdYes, "hang": cmdHang, } func cmdEcho(args ...string) { iargs := []any{} for _, s := range args {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
// //p.print(newline) // } } func (p *printer) printRawNode(n Node) { switch n := n.(type) { case nil: // we should not reach here but don't crash // expressions and types case *BadExpr: p.print(_Name, "<bad expr>") case *Name: p.print(_Name, n.Value) // _Name requires actual value following immediately case *BasicLit:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/go/parser/parser_test.go
t.Errorf("for File.FileEnd, got %s, want %s", got, want) } } // TestIncompleteSelection ensures that an incomplete selector // expression is parsed as a (blank) *ast.SelectorExpr, not a // *ast.BadExpr. func TestIncompleteSelection(t *testing.T) { for _, src := range []string{ "package p; var _ = fmt.", // at EOF "package p; var _ = fmt.\ntype X int", // not at EOF } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/resolver.go
rtyp = ptyp.X if unpackParams { for _, arg := range syntax.UnpackListExpr(ptyp.Index) { var par *syntax.Name switch arg := arg.(type) { case *syntax.Name: par = arg case *syntax.BadExpr: // ignore - error already reported by parser case nil: check.error(ptyp, InvalidSyntaxTree, "parameterized receiver contains nil parameters") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
src/go/types/resolver.go
rtyp = ix.X if unpackParams { for _, arg := range ix.Indices { var par *ast.Ident switch arg := arg.(type) { case *ast.Ident: par = arg case *ast.BadExpr: // ignore - error already reported by parser case nil: check.error(ix.Orig, InvalidSyntaxTree, "parameterized receiver contains nil parameters") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0)