Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 486 for deltas (0.13 sec)

  1. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta);
        assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1);
        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(yDelta / xDelta);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  2. src/encoding/gob/doc.go

    etc. When encoding a value, the field numbers are delta encoded for efficiency
    and the fields are always sent in order of increasing field number; the deltas are
    therefore unsigned. The initialization for the delta encoding sets the field
    number to -1, so an unsigned integer field 0 with value 7 is transmitted as unsigned
    delta = 1, unsigned value = 7 or (01 07). Finally, after all the fields have been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    func (e *quotaEvaluator) checkQuotas(quotas []corev1.ResourceQuota, admissionAttributes []*admissionWaiter, remainingRetries int) {
    	// yet another copy to compare against originals to see if we actually have deltas
    	originalQuotas, err := copyQuotas(quotas)
    	if err != nil {
    		utilruntime.HandleError(err)
    		return
    	}
    
    	atLeastOneChanged := false
    	for i := range admissionAttributes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/delta.go

    	var logFiltered string
    	if !req.Delta.IsEmpty() && !requiresResourceNamesModification(w.TypeUrl) {
    		// Some types opt out of this and natively handle req.Delta
    		logFiltered = " filtered:" + strconv.Itoa(len(w.ResourceNames)-len(req.Delta.Subscribed))
    		w = &model.WatchedResource{
    			TypeUrl:       w.TypeUrl,
    			ResourceNames: req.Delta.Subscribed.UnsortedList(),
    		}
    	}
    
    	var res model.Resources
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. pkg/adsc/delta.go

    	if config == nil {
    		config = &DeltaADSConfig{}
    	}
    	delta := NewDelta(discoveryAddr, config, opts...)
    	delta.cfg.BackoffPolicy = backoffPolicy
    	return delta
    }
    
    func typeName[T proto.Message]() string {
    	ft := new(T)
    	return resource.APITypePrefix + string((*ft).ProtoReflect().Descriptor().FullName())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/time/tick_test.go

    			t.Log(e)
    		}
    	}
    
    	for _, test := range []struct {
    		count int
    		delta Duration
    	}{{
    		count: baseCount,
    		delta: baseDelta,
    	}, {
    		count: 8,
    		delta: 1 * Second,
    	}} {
    		count, delta := test.count, test.delta
    		ticker := NewTicker(delta)
    		t0 := Now()
    		for range count / 2 {
    			<-ticker.C
    		}
    		ticker.Reset(delta * 2)
    		for range count - count/2 {
    			<-ticker.C
    		}
    		ticker.Stop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/dwarf.go

    func putpclcdelta(linkctxt *Link, dctxt dwCtxt, s *LSym, deltaPC uint64, deltaLC int64) {
    	// Choose a special opcode that minimizes the number of bytes needed to
    	// encode the remaining PC delta and LC delta.
    	var opcode int64
    	if deltaLC < LINE_BASE {
    		if deltaPC >= PC_RANGE {
    			opcode = OPCODE_BASE + (LINE_RANGE * PC_RANGE)
    		} else {
    			opcode = OPCODE_BASE + (LINE_RANGE * int64(deltaPC))
    		}
    	} else if deltaLC < LINE_BASE+LINE_RANGE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go

    			},
    			attemptsExpected: 1,
    			expectedIntervals: func(t *testing.T, delays []time.Duration, delaysRequested []time.Duration) {
    				if reflect.DeepEqual(delays, []time.Duration{time.Second}) {
    					return
    				}
    				if !reflect.DeepEqual(delays, delaysRequested) {
    					t.Fatalf("sliding non-immediate should have equal delays: %v", cmp.Diff(delays, delaysRequested))
    				}
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 02:48:08 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repairip.go

    			key, err := cache.MetaNamespaceKeyFunc(new)
    			if err == nil {
    				r.svcQueue.Add(key)
    			}
    		},
    		DeleteFunc: func(obj interface{}) {
    			// IndexerInformer uses a delta queue, therefore for deletes we have to use this
    			// key function.
    			key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)
    			if err == nil {
    				r.svcQueue.Add(key)
    			}
    		},
    	}, interval)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go

    			existing: []*apiextensionsv1.CustomResourceDefinition{
    				newCRD("alfa.charlie.com").StatusNames("alfa", "delta-singular", "echo-kind", "foxtrot-listkind", "golf-shortname-1", "hotel-shortname-2").NewOrDie(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 15.7K bytes
    - Viewed (0)
Back to top