Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for nextar (0.13 sec)

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

    	}
    	setValueType(callPanicExpr, nil) // no result type
    	return &syntax.ExprStmt{X: callPanicExpr}
    }
    
    // next returns a reference to the #next variable.
    func (r *rewriter) next() *syntax.Name {
    	if r.nextVar == nil {
    		r.nextVar = r.declVar("#next", r.int.Type(), nil)
    	}
    	return r.useObj(r.nextVar)
    }
    
    // forRangeFunc checks whether n is a range-over-func.
    // If so, it returns n.(*syntax.ForStmt), true.
    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. src/database/sql/convert.go

    		// the nextCheck label. Thus for repeats tries only when the
    		// NamedValueConverter is selected should the Column Converter
    		// be used in the retry.
    		checker := defaultCheckNamedValue
    		nextCC := false
    		switch {
    		case nvc != nil:
    			nextCC = cci != nil
    			checker = nvc.CheckNamedValue
    		case cci != nil:
    			checker = cc.CheckNamedValue
    		}
    
    	nextCheck:
    		err = checker(nv)
    		switch err {
    		case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	if m := check.Types; m != nil {
    		for {
    			tv := m[x]
    			assert(tv.Type != nil) // should have been recorded already
    			pos := x.Pos()
    			tv.Type = NewTuple(
    				NewVar(pos, check.pkg, "", t0),
    				NewVar(pos, check.pkg, "", t1),
    			)
    			m[x] = tv
    			// if x is a parenthesized expression (p.X), update p.X
    			p, _ := x.(*ast.ParenExpr)
    			if p == nil {
    				break
    			}
    			x = p.X
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    	if m := check.Types; m != nil {
    		for {
    			tv := m[x]
    			assert(tv.Type != nil) // should have been recorded already
    			pos := x.Pos()
    			tv.Type = NewTuple(
    				NewVar(pos, check.pkg, "", t0),
    				NewVar(pos, check.pkg, "", t1),
    			)
    			m[x] = tv
    			// if x is a parenthesized expression (p.X), update p.X
    			p, _ := x.(*syntax.ParenExpr)
    			if p == nil {
    				break
    			}
    			x = p.X
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    		// completely set up all types in ImportData.
    		r.p.later = append(r.p.later, setConstraintArgs{t: t, constraint: constraint})
    
    	case 'V':
    		typ := r.typ()
    
    		r.declare(types.NewVar(pos, r.currPkg, name, typ))
    
    	default:
    		errorf("unexpected tag: %v", tag)
    	}
    }
    
    func (r *importReader) declare(obj types.Object) {
    	obj.Pkg().Scope().Insert(obj)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/go/types/stmt.go

    		case v == nil && sValue != nil:
    			check.softErrorf(sValue, InvalidIterVar, "range over %s permits only one iteration variable", &x)
    		case sExtra != nil:
    			check.softErrorf(sExtra, InvalidIterVar, "range clause permits at most two iteration variables")
    		case isFunc && ((k == nil) != (sKey == nil) || (v == nil) != (sValue == nil)):
    			var count string
    			switch {
    			case k == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/ureader.go

    				methods := make([]*types.Func, iface.NumExplicitMethods())
    				for i := range methods {
    					fn := iface.ExplicitMethod(i)
    					sig := fn.Type().(*types.Signature)
    
    					recv := types.NewVar(fn.Pos(), fn.Pkg(), "", named)
    					methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic()))
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/main.go

    	flagTmpdir     = flag.String("tmpdir", "", "use `directory` for temporary files")
    
    	flagExtld      quoted.Flag
    	flagExtldflags quoted.Flag
    	flagExtar      = flag.String("extar", "", "archive program for buildmode=c-archive")
    
    	flagCaptureHostObjs = flag.String("capturehostobjs", "", "capture host object files loaded during internal linking to specified dir")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/stmt.go

    	sKey := rclause.Lhs // possibly nil
    	var sValue, sExtra syntax.Expr
    	if p, _ := sKey.(*syntax.ListExpr); p != nil {
    		if len(p.ElemList) < 2 {
    			check.error(s, InvalidSyntaxTree, "invalid lhs in range clause")
    			return
    		}
    		// len(p.ElemList) >= 2
    		sKey = p.ElemList[0]
    		sValue = p.ElemList[1]
    		if len(p.ElemList) > 2 {
    			// delay error reporting until we know more
    			sExtra = p.ElemList[2]
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/go/types/builtins.go

    func makeSig(res Type, args ...Type) *Signature {
    	list := make([]*Var, len(args))
    	for i, param := range args {
    		list[i] = NewVar(nopos, nil, "", Default(param))
    	}
    	params := NewTuple(list...)
    	var result *Tuple
    	if res != nil {
    		assert(!isUntyped(res))
    		result = NewTuple(NewVar(nopos, nil, "", res))
    	}
    	return &Signature{params: params, results: result}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top