Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for newValue2 (0.19 sec)

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

    }
    
    // newValue2 adds a new value with two arguments to the current block.
    func (s *state) newValue2(op ssa.Op, t *types.Type, arg0, arg1 *ssa.Value) *ssa.Value {
    	return s.curBlock.NewValue2(s.peekPos(), op, t, arg0, arg1)
    }
    
    // newValue2A adds a new value with two arguments and an aux value to the current block.
    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. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            mergeSpec.eachEntry {ManifestMergeDetails details ->
                if (details.getKey() == 'key2') {
                    details.setValue('newValue2')
                }
            }
    
            expect:
            mergeSpec.merge(baseManifest, Mock(FileResolver)).attributes == [key1: 'value1', key2: 'newValue2'] + MANIFEST_VERSION_MAP
        }
    
        def mergeWithActionOnSection() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    			return err
    		}
    	}
    
    	if correlatedObject == nil {
    		if c.OldValue != nil || c.NewValue != nil {
    			return fmt.Errorf("expected non-nil value, got nil")
    		}
    	} else {
    		// Check that the correlated object has the expected values
    		if !reflect.DeepEqual(correlatedObject.Value, c.NewValue) {
    			return fmt.Errorf("expected value %v, got %v", c.NewValue, correlatedObject.Value)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/writebarrier.go

    			if curCall == nil || curCall.AuxInt == maxEntries {
    				t := types.NewTuple(types.Types[types.TUINTPTR].PtrTo(), types.TypeMem)
    				curCall = bThen.NewValue1(pos, OpWB, t, memThen)
    				curPtr = bThen.NewValue1(pos, OpSelect0, types.Types[types.TUINTPTR].PtrTo(), curCall)
    				memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall)
    			}
    			// Store value in write buffer
    			num := curCall.AuxInt
    			curCall.AuxInt = num + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		cfgtypes := &f.Config.Types
    		pt := cfgtypes.Uintptr
    		g := test.NewValue1(bb.Pos, OpGetG, pt, mem0)
    		sp := test.NewValue0(bb.Pos, OpSP, pt)
    		cmpOp := OpLess64U
    		if pt.Size() == 4 {
    			cmpOp = OpLess32U
    		}
    		limaddr := test.NewValue1I(bb.Pos, OpOffPtr, pt, 2*pt.Size(), g)
    		lim := test.NewValue2(bb.Pos, OpLoad, pt, limaddr, mem0)
    		cmp := test.NewValue2(bb.Pos, cmpOp, cfgtypes.Bool, sp, lim)
    		test.SetControl(cmp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  7. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/decompose.go

    	lenType := types.Int
    
    	ptr := v.Block.NewValue0(v.Pos, OpPhi, ptrType)
    	len := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	cap := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	for _, a := range v.Args {
    		ptr.AddArg(a.Block.NewValue1(v.Pos, OpSlicePtr, ptrType, a))
    		len.AddArg(a.Block.NewValue1(v.Pos, OpSliceLen, lenType, a))
    		cap.AddArg(a.Block.NewValue1(v.Pos, OpSliceCap, lenType, a))
    	}
    	v.reset(OpSliceMake)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. schema/field_test.go

    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    	checkField(t, userSchema, reflectValue, newValues)
    
    	// test valuer and other type
    	age := myint(10)
    	var nilTime *time.Time
    	newValues2 := map[string]interface{}{
    		"name":       sql.NullString{String: "valuer_and_setter_3", Valid: true},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. pkg/ledger/smt_test.go

    		t.Fatal("root not stored")
    	}
    
    	newValues := getFreshData(5)
    	_, err := smt.Update(keys, newValues)
    	assert.NoError(t, err)
    
    	// Check all keys have been modified
    	for i, key := range keys {
    		value, _ := smt.Get(key)
    		if !bytes.Equal(newValues[i], value) {
    			t.Fatal("trie not updated")
    		}
    	}
    
    	newKeys := getFreshData(5)
    	newValues = getFreshData(5)
    	_, err = smt.Update(newKeys, newValues)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top