Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 119 for h_scale (0.12 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          e.preventDefault();
        } else if (mode == TOUCHZOOM) {
          // Get two touches; new gap; rescale to ratio.
          const t1 = findTouch(e.touches, touchid);
          const t2 = findTouch(e.touches, touchid2);
          if (t1 == null || t2 == null) return;
          const gap = touchGap(t1, t2);
          rescale(initScale * gap / initGap, centerPoint);
          e.preventDefault();
        }
      }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/pcln.go

    type PCIter struct {
    	p       []byte
    	PC      uint32
    	NextPC  uint32
    	PCScale uint32
    	Value   int32
    	start   bool
    	Done    bool
    }
    
    // NewPCIter creates a PCIter with a scale factor for the PC step size.
    func NewPCIter(pcScale uint32) *PCIter {
    	it := new(PCIter)
    	it.PCScale = pcScale
    	return it
    }
    
    // Next advances it to the Next pc.
    func (it *PCIter) Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go

    	mapper.RegisterKindFor(gvr("apps", "v1", "deployments"), "scale", gvk("autoscaling", "v1", "Scale"))
    	mapper.RegisterKindFor(gvr("apps", "v1beta1", "deployments"), "scale", gvk("apps", "v1beta1", "Scale"))
    	mapper.RegisterKindFor(gvr("apps", "v1alpha1", "deployments"), "scale", gvk("apps", "v1alpha1", "Scale"))
    
    	// register invalid kinds to trigger an error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 32K bytes
    - Viewed (0)
  4. pkg/registry/apps/statefulset/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 := autoscalingvalidation.ValidateScale(scale); len(errs) > 0 {
    		return nil, errors.NewInvalid(autoscaling.Kind("Scale"), statefulset.Name, errs)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler_test.go

    				},
    				{
    					Manager:     "scale",
    					Operation:   metav1.ManagedFieldsOperationUpdate,
    					APIVersion:  "apps/v1",
    					FieldsType:  "FieldsV1",
    					FieldsV1:    &metav1.FieldsV1{Raw: []byte(`{"f:spec":{"f:the-replicas":{}}}`)},
    					Subresource: "scale",
    				},
    			},
    		},
    		{
    			desc:         "Custom resource without scale subresource, scaling a version with `scale`",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top