Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for deferrangefunc (0.16 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.panicnildottype", 1},
    	{"runtime.typeAssert", 1},
    	{"runtime.interfaceSwitch", 1},
    	{"runtime.ifaceeq", 1},
    	{"runtime.efaceeq", 1},
    	{"runtime.panicrangestate", 1},
    	{"runtime.deferrangefunc", 1},
    	{"runtime.rand32", 1},
    	{"runtime.makemap64", 1},
    	{"runtime.makemap", 1},
    	{"runtime.makemap_small", 1},
    	{"runtime.mapaccess1", 1},
    	{"runtime.mapaccess1_fast32", 1},
    	{"runtime.mapaccess1_fast64", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    }
    
    // deferrangefunc is called by functions that are about to
    // execute a range-over-function loop in which the loop body
    // may execute a defer statement. That defer needs to add to
    // the chain for the current function, not the func literal synthesized
    // to represent the loop body. To do that, the original function
    // calls deferrangefunc to obtain an opaque token representing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func efaceeq(typ *uintptr, x, y unsafe.Pointer) (ret bool)
    
    // panic for various rangefunc iterator errors
    func panicrangestate(state int)
    
    // defer in range over func
    func deferrangefunc() interface{}
    
    func rand32() uint32
    
    // *byte is really *runtime.Type
    func makemap64(mapType *byte, hint int64, mapbuf *any) (hmap map[any]any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/rangefunc/rewrite.go

    	pkg := types2.NewPackage("runtime", "runtime")
    	anyType := types2.Universe.Lookup("any").Type()
    	intType := types2.Universe.Lookup("int").Type()
    
    	// func deferrangefunc() unsafe.Pointer
    	obj := types2.NewFunc(nopos, pkg, "deferrangefunc", types2.NewSignatureType(nil, nil, nil, nil, types2.NewTuple(types2.NewParam(nopos, pkg, "extra", anyType)), false))
    	pkg.Scope().Insert(obj)
    
    	// func panicrangestate()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/builtin.go

    	{"panicnildottype", funcTag, 69},
    	{"typeAssert", funcTag, 67},
    	{"interfaceSwitch", funcTag, 70},
    	{"ifaceeq", funcTag, 72},
    	{"efaceeq", funcTag, 72},
    	{"panicrangestate", funcTag, 73},
    	{"deferrangefunc", funcTag, 74},
    	{"rand32", funcTag, 75},
    	{"makemap64", funcTag, 77},
    	{"makemap", funcTag, 78},
    	{"makemap_small", funcTag, 79},
    	{"mapaccess1", funcTag, 80},
    	{"mapaccess1_fast32", funcTag, 81},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/expr.go

    		}
    		n := ir.FuncPC(n.Pos(), arg, wantABI)
    		return walkExpr(n, init)
    	}
    
    	if name, ok := n.Fun.(*ir.Name); ok {
    		sym := name.Sym()
    		if sym.Pkg.Path == "go.runtime" && sym.Name == "deferrangefunc" {
    			// Call to runtime.deferrangefunc is being shared with a range-over-func
    			// body that might add defers to this frame, so we cannot use open-coded defers
    			// and we need to call deferreturn even if we don't see any other explicit defers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top