Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for badexit (0.12 sec)

  1. src/cmd/dist/buildtool.go

    	// We could use a temporary directory outside $GOROOT instead,
    	// but it is easier to debug on failure if the files are in a known location.
    	workspace := pathf("%s/pkg/bootstrap", goroot)
    	xremoveall(workspace)
    	xatexit(func() { xremoveall(workspace) })
    	base := pathf("%s/src/bootstrap", workspace)
    	xmkdirall(base)
    
    	// Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/init.go

    	"strconv"
    	"sync"
    )
    
    var buildInitStarted = false
    
    func BuildInit() {
    	if buildInitStarted {
    		base.Fatalf("go: internal error: work.BuildInit called more than once")
    	}
    	buildInitStarted = true
    	base.AtExit(closeBuilders)
    
    	modload.Init()
    	instrumentInit()
    	buildModeInit()
    	if err := fsys.Init(base.Cwd()); err != nil {
    		base.Fatal(err)
    	}
    
    	// Make sure -pkgdir is absolute, because we run commands
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/go/main.go

    	if cfg.DebugTrace == "" {
    		return pctx
    	}
    
    	ctx, close, err := trace.Start(pctx, cfg.DebugTrace)
    	if err != nil {
    		base.Fatalf("failed to start trace: %v", err)
    	}
    	base.AtExit(func() {
    		if err := close(); err != nil {
    			base.Fatalf("failed to stop trace: %v", err)
    		}
    	})
    
    	return ctx
    }
    
    // handleChdirFlag handles the -C flag before doing anything else.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    			f.walk(&n.Type, ctxEmbedType, visit)
    		} else {
    			f.walk(&n.Type, ctxType, visit)
    		}
    	case *ast.FieldList:
    		for _, field := range n.List {
    			f.walk(field, context, visit)
    		}
    	case *ast.BadExpr:
    	case *ast.Ident:
    	case *ast.Ellipsis:
    		f.walk(&n.Elt, ctxType, visit)
    	case *ast.BasicLit:
    	case *ast.FuncLit:
    		f.walk(n.Type, ctxType, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.CompositeLit:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/types/expr.go

    	old, found := check.untyped[x]
    	if !found {
    		return // nothing to do
    	}
    
    	// update operands of x if necessary
    	switch x := x.(type) {
    	case *ast.BadExpr,
    		*ast.FuncLit,
    		*ast.CompositeLit,
    		*ast.IndexExpr,
    		*ast.SliceExpr,
    		*ast.TypeAssertExpr,
    		*ast.StarExpr,
    		*ast.KeyValueExpr,
    		*ast.ArrayType,
    		*ast.StructType,
    		*ast.FuncType,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top