Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for nextar (0.11 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/assignments.go

    			}
    			continue
    		}
    
    		// declare new variable
    		obj := NewVar(ident.Pos(), check.pkg, name, nil)
    		lhsVars[i] = obj
    		if name != "_" {
    			newVars = append(newVars, obj)
    		}
    		check.recordDef(ident, obj)
    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    			lhsVars[i] = NewVar(lhs[i].Pos(), check.pkg, "_", nil)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/go/types/assignments.go

    			}
    			continue
    		}
    
    		// declare new variable
    		obj := NewVar(ident.Pos(), check.pkg, name, nil)
    		lhsVars[i] = obj
    		if name != "_" {
    			newVars = append(newVars, obj)
    		}
    		check.recordDef(ident, obj)
    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    			lhsVars[i] = NewVar(lhs[i].Pos(), check.pkg, "_", nil)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		}
    
    	case asmArray:
    		tu := t.Underlying().(*types.Array)
    		elem := tu.Elem()
    		// Calculate offset of each element array.
    		fields := []*types.Var{
    			types.NewVar(token.NoPos, nil, "fake0", elem),
    			types.NewVar(token.NoPos, nil, "fake1", elem),
    		}
    		offsets := arch.sizes.Offsetsof(fields)
    		elemoff := int(offsets[1])
    		for i := 0; i < int(tu.Len()); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/crypto/tls/conn.go

    	mac     hash.Hash
    	seq     [8]byte // 64-bit sequence number
    
    	scratchBuf [13]byte // to avoid allocs; interface method args escape
    
    	nextCipher any       // next encryption state
    	nextMac    hash.Hash // next MAC algorithm
    
    	level         QUICEncryptionLevel // current QUIC encryption level
    	trafficSecret []byte              // current TLS 1.3 traffic secret
    }
    
    type permanentError struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top