Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 499 for scaleTo (0.15 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

                Units<Q> candidate = allUnits.get(i);
                if (base.compareTo(candidate.getFactor()) >= 0) {
                    BigDecimal scaled = units.scaleTo(value, candidate);
                    return formatValue(scaled) + " " + candidate.format(scaled);
                }
            }
            return formatValue(value) + " " + units.format(value);
        }
    
        private static String formatValue(BigDecimal value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java

        }
    
        protected abstract Units<Q> getBaseUnits();
    
        protected abstract List<Units<Q>> getUnitsForQuantity();
    
        protected abstract BigDecimal getFactor();
    
        protected abstract BigDecimal scaleTo(BigDecimal value, Units<Q> units);
    
        protected String format(BigDecimal value) {
            return value.compareTo(BigDecimal.ONE) == 0 ? displaySingular : displayPlural;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        }
    
        bool lossy;
        expressed_value.convert(scale_.getSemantics(), round_mode_, &lossy);
        // fixed_point = clamp(clamp_min, clamp_max, (
        //   roundHalfToEven(expressed / scale) + zero_point))
        APFloat scaled = (expressed_value / scale_);
        scaled.roundToIntegral(round_mode_);
        scaled.add(zero_point_, round_mode_);
        APFloat fixed_point = llvm::minimum(scaled, clamp_max_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. cluster/addons/fluentd-gcp/scaler-deployment.yaml

    kind: Deployment
    metadata:
      name: fluentd-gcp-scaler
      namespace: kube-system
      labels:
        k8s-app: fluentd-gcp-scaler
        version: v0.5.1
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      selector:
        matchLabels:
          k8s-app: fluentd-gcp-scaler
      template:
        metadata:
          labels:
            k8s-app: fluentd-gcp-scaler
        spec:
          serviceAccountName: fluentd-gcp-scaler
          containers:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 07 17:58:57 UTC 2023
    - 972 bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		}
    	}
    	return false
    }
    
    // Scale a measurement from a unit to a different unit and returns
    // the scaled value and the target unit. The returned target unit
    // will be empty if uninteresting (could be skipped).
    func Scale(value int64, fromUnit, toUnit string) (float64, string) {
    	// Avoid infinite recursion on overflow.
    	if value < 0 && -value > 0 {
    		v, u := Scale(-value, fromUnit, toUnit)
    		return -v, u
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go

    	Status                           *v1beta2.ScaleStatus `json:"status,omitempty"`
    }
    
    // ScaleApplyConfiguration constructs an declarative configuration of the Scale type for use with
    // apply.
    func Scale() *ScaleApplyConfiguration {
    	b := &ScaleApplyConfiguration{}
    	b.WithKind("Scale")
    	b.WithAPIVersion("apps/v1beta2")
    	return b
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scale.go

    }
    
    // ScaleApplyConfiguration constructs an declarative configuration of the Scale type for use with
    // apply.
    func Scale() *ScaleApplyConfiguration {
    	b := &ScaleApplyConfiguration{}
    	b.WithKind("Scale")
    	b.WithAPIVersion("autoscaling/v1")
    	return b
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/autoscaling.v1.Scale.yaml

    apiVersion: autoscaling/v1
    kind: Scale
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 919 bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Scale.json

    {
      "kind": "Scale",
      "apiVersion": "extensions/v1beta1",
      "metadata": {
        "name": "nameValue",
        "generateName": "generateNameValue",
        "namespace": "namespaceValue",
        "selfLink": "selfLinkValue",
        "uid": "uidValue",
        "resourceVersion": "resourceVersionValue",
        "generation": 7,
        "creationTimestamp": "2008-01-01T01:01:01Z",
        "deletionTimestamp": "2009-01-01T01:01:01Z",
        "deletionGracePeriodSeconds": 10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Scale.yaml

    apiVersion: extensions/v1beta1
    kind: Scale
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 978 bytes
    - Viewed (0)
Back to top