Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for deferpool (0.61 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    outer function and then use it in a later defer to attach the deferred
    code to that outer function.
    
    Normally,
    
    	defer print("A")
    
    compiles to
    
    	runtime.deferproc(func() { print("A") })
    
    This changes in a range-over-func. For example:
    
    	for range f {
    		defer print("A")
    	}
    
    compiles to
    
    	var #defers = runtime.deferrangefunc()
    	f(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    			if endpoint.IsLocal {
    				gridLocal = u
    			}
    
    			gridHosts = append(gridHosts, u)
    		}
    	}
    
    	return gridHosts, gridLocal
    }
    
    // FindGridHostsFromPeerPool will return a matching peerPool from provided peer (as string)
    func (l EndpointServerPools) FindGridHostsFromPeerPool(peer string) []int {
    	if peer == "" {
    		return nil
    	}
    
    	var pools []int
    	for _, ep := range l {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    //       If   [boolean Value]      [then, else]
    //    First                []   [always, never]
    //    Defer             [mem]  [nopanic, panic]                  (control opcode should be OpStaticCall to runtime.deferproc)
    // JumpTable   [integer Value]  [succ1,succ2,..]
    
    var genericBlocks = []blockData{
    	{name: "Plain"},                  // a single successor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	ir.Syms.CgoCheckPtrWrite = typecheck.LookupRuntimeFunc("cgoCheckPtrWrite")
    	ir.Syms.CheckPtrAlignment = typecheck.LookupRuntimeFunc("checkptrAlignment")
    	ir.Syms.Deferproc = typecheck.LookupRuntimeFunc("deferproc")
    	ir.Syms.Deferprocat = typecheck.LookupRuntimeFunc("deferprocat")
    	ir.Syms.DeferprocStack = typecheck.LookupRuntimeFunc("deferprocStack")
    	ir.Syms.Deferreturn = typecheck.LookupRuntimeFunc("deferreturn")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/runtime/traceback.go

    	// a safe point for looking up liveness information. In this panicking case,
    	// the function either doesn't return at all (if it has no defers or if the
    	// defers do not recover) or it returns from one of the calls to
    	// deferproc a second time (if the corresponding deferred func recovers).
    	// In the latter case, use a deferreturn call site as the continuation pc.
    	frame.continpc = frame.pc
    	if u.calleeFuncID == abi.FuncID_sigpanic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top