Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Lange (0.11 sec)

  1. src/cmd/compile/internal/typecheck/builtin.go

    func newSig(params, results []*types.Field) *types.Type {
    	return types.NewSignature(nil, params, results)
    }
    
    func params(tlist ...*types.Type) []*types.Field {
    	flist := make([]*types.Field, len(tlist))
    	for i, typ := range tlist {
    		flist[i] = types.NewField(src.NoXPos, nil, typ)
    	}
    	return flist
    }
    
    var runtimeDecls = [...]struct {
    	name string
    	tag  int
    	typ  int
    }{
    	{"newobject", funcTag, 4},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/builtin.go

    	// Using cheapExpr also makes sure that the evaluation
    	// of all arguments (and especially any panics) happen
    	// before we begin to modify the slice in a visible way.
    	ls := n.Args[1:]
    	for i, n := range ls {
    		n = cheapExpr(n, init)
    		if !types.Identical(n.Type(), nsrc.Type().Elem()) {
    			n = typecheck.AssignConv(n, nsrc.Type().Elem(), "append")
    			n = walkExpr(n, init)
    		}
    		ls[i] = n
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top