Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for oldR (0.06 sec)

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

    		// of the value's type.
    		old, ok := ft.limits[v.ID]
    		if !ok {
    			old = noLimit
    			if v.isGenericIntConst() {
    				switch d {
    				case signed:
    					old.min, old.max = v.AuxInt, v.AuxInt
    					if v.AuxInt >= 0 {
    						old.umin, old.umax = uint64(v.AuxInt), uint64(v.AuxInt)
    					}
    				case unsigned:
    					old.umin = v.AuxUnsigned()
    					old.umax = old.umin
    					if int64(old.umin) >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    		szdup := l.SymSize(oldi)
    		sz := int64(r.Sym(li).Siz())
    		if szdup < sz {
    			// new symbol overwrites old symbol.
    			l.objSyms[oldi] = objSym{r.objidx, li}
    		}
    		return oldi
    	}
    	oldr, oldli := l.toLocal(oldi)
    	oldsym := oldr.Sym(oldli)
    	if oldsym.Dupok() {
    		return oldi
    	}
    	overwrite := r.DataSize(li) != 0
    	if overwrite {
    		// new symbol overwrites old symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/validation/validation.go

    		requireRecognizedAdmissionReviewVersion: validatingHasAcceptedAdmissionReviewVersions(oldC.Webhooks),
    		requireUniqueWebhookNames:               validatingHasUniqueWebhookNames(oldC.Webhooks),
    		allowInvalidLabelValueInSelector:        validatingWebhookHasInvalidLabelValueInSelector(oldC.Webhooks),
    		preexistingExpressions:                  findValidatingPreexistingExpressions(oldC),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  4. src/runtime/map.go

    		return dst
    	}
    
    	oldB := src.B
    	srcOldbuckets := src.oldbuckets
    	if !src.sameSizeGrow() {
    		oldB--
    	}
    	oldSrcArraySize := int(bucketShift(oldB))
    
    	for i := 0; i < oldSrcArraySize; i++ {
    		srcBmap := (*bmap)(add(srcOldbuckets, uintptr(i*int(t.BucketSize))))
    		if evacuated(srcBmap) {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/sync/atomic/atomic_test.go

    		old := uint32(addr.Swap(int32(new)))
    		if old>>16 != old<<16>>16 {
    			panic(fmt.Sprintf("SwapInt32 is not atomic: %v", old))
    		}
    	}
    }
    
    func hammerSwapUint32(addr *uint32, count int) {
    	seed := int(uintptr(unsafe.Pointer(&count)))
    	for i := 0; i < count; i++ {
    		new := uint32(seed+i)<<16 | uint32(seed+i)<<16>>16
    		old := SwapUint32(addr, new)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					validator, ok := validators[pair.old.GroupVersionKind()]
    					if !ok {
    						b.Log("No validator for GVK", pair.old.GroupVersionKind())
    						continue
    					}
    
    					// Run the ratcheting algorithm on the update.
    					// Don't care about result for benchmark
    					validator(pair.old, pair.new)
    				}
    			}
    
    			b.Run("ValidXValid", func(b *testing.B) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  7. src/math/big/int_test.go

    func testBitset(t *testing.T, x *Int) {
    	n := x.BitLen()
    	z := new(Int).Set(x)
    	z1 := new(Int).Set(x)
    	for i := 0; i < n+10; i++ {
    		old := z.Bit(i)
    		old1 := altBit(z1, i)
    		if old != old1 {
    			t.Errorf("bitset: inconsistent value for Bit(%s, %d), got %v want %v", z1, i, old, old1)
    		}
    		z := new(Int).SetBit(z, i, 1)
    		z1 := altSetBit(new(Int), z1, i, 1)
    		if z.Bit(i) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  8. pkg/apis/storage/validation/validation_test.go

    		volumeAttachment.Spec.Source = storage.VolumeAttachmentSource{}
    		old.Spec.Source = storage.VolumeAttachmentSource{}
    		// test scenarios with PersistentVolumeName set
    		volumeAttachment.Spec.Source.PersistentVolumeName = &volumeName
    		old.Spec.Source.PersistentVolumeName = &volumeName
    		if errs := ValidateVolumeAttachmentUpdate(&volumeAttachment, &old); len(errs) != 0 {
    			t.Errorf("expected success: %+v", errs)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller.go

    // When a pod is updated, figure out what sets manage it and wake them
    // up. If the labels of the pod have changed we need to awaken both the old
    // and new set. old and cur must be *v1.Pod types.
    func (dsc *DaemonSetsController) updatePod(logger klog.Logger, old, cur interface{}) {
    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    		// Periodic resync will send update events for all known pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/init.go

    				}
    				if prev, ok := replacements[r.Old]; ok && !curModuleReplaces[r.Old] && prev != newV {
    					base.Fatalf("go: conflicting replacements for %v:\n\t%v\n\t%v\nuse \"go work edit -replace %v=[override]\" to resolve", r.Old, prev, newV, r.Old)
    				}
    				curModuleReplaces[r.Old] = true
    				replacements[r.Old] = newV
    
    				v, ok := mainModules.highestReplaced[r.Old.Path]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top