Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for nextar (0.19 sec)

  1. 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)
  2. src/go/types/object.go

    	isField  bool // var is struct field
    	used     bool // set if the variable was used
    	origin   *Var // if non-nil, the Var from which this one was instantiated
    }
    
    // NewVar returns a new variable.
    // The arguments set the attributes found with all Objects.
    func NewVar(pos token.Pos, pkg *Package, name string, typ Type) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/object.go

    	isField  bool // var is struct field
    	used     bool // set if the variable was used
    	origin   *Var // if non-nil, the Var from which this one was instantiated
    }
    
    // NewVar returns a new variable.
    // The arguments set the attributes found with all Objects.
    func NewVar(pos syntax.Pos, pkg *Package, name string, typ Type) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/types2/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.1K bytes
    - Viewed (0)
  6. src/crypto/x509/verify.go

    				(93 <= c && c <= 126):
    				// qtext
    				localPartBytes = append(localPartBytes, c)
    
    			default:
    				return mailbox, false
    			}
    		}
    	} else {
    		// Atom ("." Atom)*
    	NextChar:
    		for len(in) > 0 {
    			// atext from RFC 2822, Section 3.2.4
    			c := in[0]
    
    			switch {
    			case c == '\\':
    				// Examples given in RFC 3696 suggest that
    				// escaped characters can appear outside of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/call.go

    				} else {
    					check.versionErrorf(instErrPos, go1_21, "implicitly instantiated function in assignment")
    				}
    			}
    			gsig := NewSignatureType(nil, nil, nil, sig.params, sig.results, sig.variadic)
    			params = []*Var{NewVar(x.Pos(), check.pkg, "", gsig)}
    			// The type of the argument operand is tsig, which is the type of the LHS in an assignment
    			// or the result type in a return statement. Create a pseudo-expression for that operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# BuckHashSys = %d\n", s.BuckHashSys)
    	fmt.Fprintf(w, "# GCSys = %d\n", s.GCSys)
    	fmt.Fprintf(w, "# OtherSys = %d\n", s.OtherSys)
    
    	fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC)
    	fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC)
    	fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs)
    	fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd)
    	fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. src/go/types/call.go

    				} else {
    					check.versionErrorf(instErrPos, go1_21, "implicitly instantiated function in assignment")
    				}
    			}
    			gsig := NewSignatureType(nil, nil, nil, sig.params, sig.results, sig.variadic)
    			params = []*Var{NewVar(x.Pos(), check.pkg, "", gsig)}
    			// The type of the argument operand is tsig, which is the type of the LHS in an assignment
    			// or the result type in a return statement. Create a pseudo-expression for that operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/resolver.go

    	l := len(names)
    	r := len(inits)
    
    	const code = WrongAssignCount
    	switch {
    	case l < r:
    		n := inits[l]
    		if inherited {
    			check.errorf(pos, code, "extra init expr at %s", n.Pos())
    		} else {
    			check.errorf(n, code, "extra init expr %s", n)
    		}
    	case l > r && (constDecl || r != 1): // if r == 1 it may be a multi-valued function and we can't say anything yet
    		n := names[r]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top