- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 163 for Percentage (0.27 sec)
-
tests/integration/pilot/mirror_test.go
{ name: "mirror-percent-absent", absent: true, percentage: 100.0, threshold: 0.0, }, { name: "mirror-50", percentage: 50.0, threshold: 10.0, }, { name: "mirror-10", percentage: 10.0, threshold: 5.0, }, { name: "mirror-0", percentage: 0.0, threshold: 0.0, }, }, }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager.go
} // parsePercentage parses the percentage string to numeric value. func parsePercentage(v string) (int64, error) { if !strings.HasSuffix(v, "%") { return 0, fmt.Errorf("percentage expected, got '%s'", v) } percentage, err := strconv.ParseInt(strings.TrimRight(v, "%"), 10, 0) if err != nil { return 0, fmt.Errorf("invalid number in percentage '%s'", v) } if percentage < 0 || percentage > 100 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
}, }, { name: "zero mirror percentage", policy: &networking.HTTPMirrorPolicy{ Destination: &networking.Destination{}, Percentage: &networking.Percent{Value: 0.0}, }, want: nil, }, { name: "mirrorpercentage with actual percent", policy: &networking.HTTPMirrorPolicy{ Destination: &networking.Destination{}, Percentage: &networking.Percent{Value: 50.0}, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/NumberUtilTest.groovy
percentOf(50, 200) == 25 percentOf(17, 301) == 5 percentOf(50, 0) == 0 } def "percentage does not allow negative values"() { when: percentOf(50, -10) == 0 then: def ex = thrown(IllegalArgumentException) ex.message == "Unable to calculate percentage: 50 of -10. All inputs must be >= 0" when: percentOf(-1, 100) == 0 then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/kubelet/eviction/api/types.go
} // ThresholdValue is a value holder that abstracts literal versus percentage based quantity type ThresholdValue struct { // The following fields are exclusive. Only the topmost non-zero field is used. // Quantity is a quantity associated with the signal that is evaluated against the specified operator. Quantity *resource.Quantity // Percentage represents the usage percentage over the total resource that is evaluated against the specified operator.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 5.7K bytes - Viewed (0) -
cmd/rebalance-admin.go
Status string `json:"status"` // Active if rebalance is running, empty otherwise Used float64 `json:"used"` // Percentage used space Progress rebalPoolProgress `json:"progress,omitempty"` // is empty when rebalance is not running } // rebalanceAdminStatus holds rebalance status related information exported to mc, console, etc.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
docs/metrics/prometheus/list.md
| `minio_node_cpu_avg_load1_max` | CPU load average 1min (max). | | `minio_node_cpu_avg_load1_perc` | CPU load average 1min (percentage). | | `minio_node_cpu_avg_load1_perc_avg` | CPU load average 1min (percentage) (avg). | | `minio_node_cpu_avg_load1_perc_max` | CPU load average 1min (percentage) (max). | | `minio_node_cpu_avg_load5` | CPU load average 5min. |
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 43.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go
return intOrPercent } // GetScaledValueFromIntOrPercent is meant to replace GetValueFromIntOrPercent. // This method returns a scaled value from an IntOrString type. If the IntOrString // is a percentage string value it's treated as a percentage and scaled appropriately // in accordance to the total, if it's an int value it's treated as a simple value and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 7.8K bytes - Viewed (0) -
src/cmd/internal/pgo/pgo.go
package pgo // Profile contains the processed data from the PGO profile. type Profile struct { // TotalWeight is the aggregated edge weights across the profile. This // helps us determine the percentage threshold for hot/cold // partitioning. TotalWeight int64 // NamedEdgeMap contains all unique call edges in the profile and their // edge weight. NamedEdgeMap NamedEdgeMap }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go
"targetAverageValue": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 23:13:24 UTC 2023 - 21.4K bytes - Viewed (0)