Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EnableTrace (0.16 sec)

  1. src/cmd/compile/internal/base/base.go

    func Exit(code int) {
    	for i := len(atExitFuncs) - 1; i >= 0; i-- {
    		f := atExitFuncs[i]
    		atExitFuncs = atExitFuncs[:i]
    		f()
    	}
    	os.Exit(code)
    }
    
    // To enable tracing support (-t flag), set EnableTrace to true.
    const EnableTrace = false
    
    // forEachGC calls fn each GC cycle until it returns false.
    func forEachGC(fn func() bool) {
    	type T [32]byte // large enough to avoid runtime's tiny object allocator
    
    	var finalizer func(*T)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top