Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 276 for h_scale (0.24 sec)

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

        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, 11, 3));
      }
    
      public void testScale_indexes_collection_negative() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(
            IllegalArgumentException.class, () -> intermediate.indexes(ImmutableList.of(1, -1, 3)));
      }
    
      public void testScale_indexes_collection_tooHigh() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go

    		storage.Status = &StatusREST{store: &statusStore}
    	}
    
    	if scale := strategy.scale; scale != nil {
    		var labelSelectorPath string
    		if scale.LabelSelectorPath != nil {
    			labelSelectorPath = *scale.LabelSelectorPath
    		}
    
    		storage.Scale = &ScaleREST{
    			store:               store,
    			specReplicasPath:    scale.SpecReplicasPath,
    			statusReplicasPath:  scale.StatusReplicasPath,
    			labelSelectorPath:   labelSelectorPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. pkg/registry/core/replicationcontroller/storage/storage.go

    		return nil, errors.NewBadRequest("nil update passed to Scale")
    	}
    	scale, ok := newScaleObj.(*autoscaling.Scale)
    	if !ok {
    		return nil, errors.NewBadRequest(fmt.Sprintf("expected input object type to be Scale, but %T", newScaleObj))
    	}
    
    	// validate
    	if errs := validation.ValidateScale(scale); len(errs) > 0 {
    		return nil, errors.NewInvalid(autoscaling.Kind("Scale"), replicationcontroller.Name, errs)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. pkg/registry/apps/statefulset/storage/storage_test.go

    		t.Fatalf("error updating scale %v: %v", update, err)
    	}
    
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != int32(replicas) {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, scale.Spec.Replicas)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

      // Use the variant that adds the smaller error.
      const double zeroPointFromMin = qminDouble - rmin / scale;
      const double zeroPointFromMinError =
          std::abs(qminDouble) + std::abs(rmin / scale);
      const double zeroPointFromMax = qmaxDouble - rmax / scale;
      const double zeroPointFromMaxError =
          std::abs(qmaxDouble) + std::abs(rmax / scale);
    
      const double zeroPointDouble = (zeroPointFromMinError < zeroPointFromMaxError)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. pkg/registry/core/replicationcontroller/storage/storage_test.go

    		t.Fatalf("error updating scale %v: %v", update, err)
    	}
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != replicas {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, rc.Spec.Replicas)
    	}
    
    	update.ResourceVersion = rc.ResourceVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go

    		{gvr("extensions", "v1beta1", "deployments"), "", gvk("extensions", "v1beta1", "Deployment")},
    		// deployments/scale (omitted for apps/v1alpha1)
    		{gvr("apps", "v1", "deployments"), "scale", gvk("", "", "Scale")},
    		{gvr("apps", "v1beta1", "deployments"), "scale", gvk("", "", "Scale")},
    		{gvr("extensions", "v1beta1", "deployments"), "scale", gvk("", "", "Scale")},
    		// deployments/status (omitted for apps/v1alpha1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. pkg/registry/apps/replicaset/storage/storage_test.go

    		t.Fatalf("error updating scale %v: %v", update, err)
    	}
    
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != int32(replicas) {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, scale.Spec.Replicas)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/autoscaling/v2/generated.proto

    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/autoscaling/v2";
    
    // ContainerResourceMetricSource indicates how to scale on a resource metric known to
    // Kubernetes, as specified in requests and limits, describing each pod in the
    // current scale target (e.g. CPU or memory).  The values will be averaged
    // together before being compared to the target.  Such metrics are built in to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2beta2/types_swagger_doc_generated.go

    // AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
    var map_ContainerResourceMetricSource = map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top