Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for value2 (0.75 sec)

  1. src/cmd/compile/internal/types2/decl.go

    				lhs0[i] = NewVar(name.Pos(), pkg, name.Value, nil)
    			}
    
    			// initialize all variables
    			values := syntax.UnpackListExpr(s.Values)
    			for i, obj := range lhs0 {
    				var lhs []*Var
    				var init syntax.Expr
    				switch len(values) {
    				case len(s.NameList):
    					// lhs and rhs match
    					init = values[i]
    				case 1:
    					// rhs is expected to be a multi-valued expression
    					lhs = lhs0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/2-unique.md

    The new [unique] package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 566 bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    func (s *Sample) HasLabel(key, value string) bool {
    	for _, v := range s.Label[key] {
    		if v == value {
    			return true
    		}
    	}
    	return false
    }
    
    // SetNumLabel sets the specified key to the specified value for all samples in the
    // profile. "unit" is a slice that describes the units that each corresponding member
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api.go

    // Builtins are not considered values. Constant values have a non-
    // nil Value.
    func (tv TypeAndValue) IsValue() bool {
    	switch tv.mode {
    	case constant_, variable, mapindex, value, nilvalue, commaok, commaerr:
    		return true
    	}
    	return false
    }
    
    // IsNil reports whether the corresponding expression denotes the
    // predeclared value nil. Depending on context, it may have been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/positions.go

    			m = n.Path
    		case *ConstDecl:
    			if n.Values != nil {
    				m = n.Values
    				continue
    			}
    			if n.Type != nil {
    				m = n.Type
    				continue
    			}
    			if l := len(n.NameList); l > 0 {
    				m = n.NameList[l-1]
    				continue
    			}
    			return n.Pos()
    		case *TypeDecl:
    			m = n.Type
    		case *VarDecl:
    			if n.Values != nil {
    				m = n.Values
    				continue
    			}
    			if n.Type != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/ssa.go

    	fwdVars map[ir.Node]*ssa.Value
    
    	// all defined variables at the end of each block. Indexed by block ID.
    	defvars []map[ir.Node]*ssa.Value
    
    	// addresses of PPARAM and PPARAMOUT variables on the stack.
    	decladdrs map[*ir.Name]*ssa.Value
    
    	// starting values. Memory, stack pointer, and globals pointer
    	startmem *ssa.Value
    	sp       *ssa.Value
    	sb       *ssa.Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug.go

    		f.NamedValues[sl] = values
    	}
    
    	newValues := []*Value{}
    
    	abiRegIndexToRegister := func(reg abi.RegIndex) int8 {
    		i := f.ABISelf.FloatIndexFor(reg)
    		if i >= 0 { // float PR
    			return f.Config.floatParamRegs[i]
    		} else {
    			return f.Config.intParamRegs[reg]
    		}
    	}
    
    	// Helper to construct a new OpArg{Float,Int}Reg op value.
    	var pos src.XPos
    	if len(f.Entry.Values) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Sub64borrow", argLength: 3, typ: "(UInt64,UInt64)"},                   // arg0 - (arg1 + arg2), arg2 must be 0 or 1. returns (value, value>>64&1)
    
    	{name: "Signmask", argLength: 1, typ: "Int32"},  // 0 if arg0 >= 0, -1 if arg0 < 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	}
    	return numLabelUnits
    }
    
    type sampleValueFunc func([]int64) int64
    
    // sampleFormat returns a function to extract values out of a profile.Sample,
    // and the type/units of those values.
    func sampleFormat(p *profile.Profile, sampleIndex string, mean bool) (value, meanDiv sampleValueFunc, v *profile.ValueType, err error) {
    	if len(p.SampleType) == 0 {
    		return nil, nil, nil, fmt.Errorf("profile has no samples")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. api/go1.23.txt

    pkg os, func CopyFS(string, fs.FS) error #62484
    pkg path/filepath, func Localize(string) (string, error) #57151
    pkg reflect, func SliceAt(Type, unsafe.Pointer, int) Value #61308
    pkg reflect, method (Value) Seq() iter.Seq[Value] #66056
    pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056
    pkg reflect, type Type interface, CanSeq() bool #66056
    pkg reflect, type Type interface, CanSeq2() bool #66056
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top