Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewValue2 (0.23 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    			idx = s.newValue2(mul, typs.Uintptr, idx, s.uintptrConstant(uint64(3*s.config.PtrSize)))
    			e := s.newValue2(ssa.OpAddPtr, typs.UintptrPtr, entries, idx)
    			//   hash++
    			s.vars[hashVar] = s.newValue2(add, typs.Uintptr, s.variable(hashVar, typs.Uintptr), s.uintptrConstant(1))
    
    			// Look for a cache hit.
    			//   if e.Typ == t { goto hit }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/memcombine.go

    	s := b.Func.ConstInt64(types.Types[types.TUINT64], shift)
    	size := v.Type.Size()
    	switch size {
    	case 8:
    		return b.NewValue2(pos, OpLsh64x64, v.Type, v, s)
    	case 4:
    		return b.NewValue2(pos, OpLsh32x64, v.Type, v, s)
    	case 2:
    		return b.NewValue2(pos, OpLsh16x64, v.Type, v, s)
    	default:
    		base.Fatalf("bad size %d\n", size)
    		return nil
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/func.go

    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Aux = aux
    	v.Args = v.argstorage[:1]
    	v.argstorage[0] = arg
    	arg.Uses++
    	return v
    }
    
    // NewValue2 returns a new value in the block with two arguments and zero aux values.
    func (b *Block) NewValue2(pos src.XPos, op Op, t *types.Type, arg0, arg1 *Value) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:2]
    	v.argstorage[0] = arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			newObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    					otherField: newValue
    				list:	
    				- name: entry1
    				  apiVersion: v2
    				  kind: Baz
    				  otherField: newValue2
    				- name: entry2
    				  apiVersion: v3
    				  kind: Bar
    				  otherField: newValue3
    			`),
    			warnings: []string{
    				`root.subField.apiVersion: Invalid value: "string": failed rule: self == "v1"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top