Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for badexit (0.14 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
            fun String.fooExt() {}
    
            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    	if ctxt.Debugvlog > 0 {
    		// dump symbol info on crash
    		defer func() { ctxt.loader.Dump() }()
    	}
    	if ctxt.Debugvlog > 1 {
    		// dump symbol info on error
    		AtExit(func() {
    			if nerrors > 0 {
    				ctxt.loader.Dump()
    			}
    		})
    	}
    
    	switch *flagHeadType {
    	case "":
    	case "windowsgui":
    		ctxt.HeadType = objabi.Hwindows
    		windowsgui = true
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/likelyadjust.go

    	po := f.postorder()
    	nest := f.loopnest()
    	b2l := nest.b2l
    
    	for _, b := range po {
    		switch b.Kind {
    		case BlockExit:
    			// Very unlikely.
    			local[b.ID] = blEXIT
    			certain[b.ID] = blEXIT
    
    			// Ret, it depends.
    		case BlockRet, BlockRetJmp:
    			local[b.ID] = blRET
    			certain[b.ID] = blRET
    
    			// Calls. TODO not all calls are equal, names give useful clues.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  4. src/go/ast/ast.go

    }
    
    // An expression is represented by a tree consisting of one
    // or more of the following concrete expression nodes.
    type (
    	// A BadExpr node is a placeholder for an expression containing
    	// syntax errors for which a correct expression node cannot be
    	// created.
    	//
    	BadExpr struct {
    		From, To token.Pos // position range of bad expression
    	}
    
    	// An Ident node represents an identifier.
    	Ident struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  5. src/cmd/dist/util.go

    // xexit exits the process with return code n.
    func xexit(n int) {
    	for i := len(atexits) - 1; i >= 0; i-- {
    		atexits[i]()
    	}
    	os.Exit(n)
    }
    
    // xatexit schedules the exit-handler f to be run when the program exits.
    func xatexit(f func()) {
    	atexits = append(atexits, f)
    }
    
    // xprintf prints a message to standard output.
    func xprintf(format string, args ...interface{}) {
    	fmt.Printf(format, args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	case *ast.UnaryExpr:
    		children = append(children, tok(n.OpPos, len(n.Op.String())))
    
    	case *ast.ValueSpec:
    		// TODO(adonovan): ValueSpec.{Doc,Comment}?
    
    	case *ast.BadDecl, *ast.BadExpr, *ast.BadStmt:
    		// nop
    	}
    
    	// TODO(adonovan): opt: merge the logic of ast.Inspect() into
    	// the switch above so we can make interleaved callbacks for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top