- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for cedric (0.2 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy
import static org.junit.Assert.*; public class TextTest { @Test public void testGreeting() { assertEquals("Hello, Cedric", Text.sayHello("cedric")); } } ''' when: run 'test' then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:39 UTC 2024 - 39.6K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2/types.go
// metric identifies the target metric by name and selector Metric MetricIdentifier `json:"metric" protobuf:"bytes,1,name=metric"` // current contains the current value for the given metric Current MetricValueStatus `json:"current" protobuf:"bytes,2,name=current"` } // MetricValueStatus holds the current value for a metric type MetricValueStatus struct { // value is the current value of the metric (as a quantity).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 28.5K bytes - Viewed (0) -
cmd/metrics-v3-types.go
arg += "/" } return strings.HasPrefix(descendant, arg) } // MetricType - represents the type of a metric. type MetricType int const ( // CounterMT - represents a counter metric. CounterMT MetricType = iota // GaugeMT - represents a gauge metric. GaugeMT // HistogramMT - represents a histogram metric. HistogramMT // rangeL - represents a range label. rangeL = "range" )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 07:41:18 UTC 2024 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v1/types.go
// ExternalMetricStatus indicates the current value of a global metric // not associated with any Kubernetes object. type ExternalMetricStatus struct { // metricName is the name of a metric used for autoscaling in // metric system. MetricName string `json:"metricName" protobuf:"bytes,1,name=metricName"` // metricSelector is used to identify a specific time series // within a given metric. // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 27.8K bytes - Viewed (0) -
cmd/metrics-resource.go
} key := getResourceKey(name, labels) metric, found := subsysMetrics[key] if !found { metric = ResourceMetric{ Name: name, Labels: labels, } } if isCumulative { metric.Current = val - metric.Cumulative metric.Cumulative = val } else { metric.Current = val } if metric.Current > metric.Max { metric.Max = val } metric.Sum += metric.Current
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 15:15:13 UTC 2024 - 17.2K bytes - Viewed (0) -
security/pkg/server/ca/monitoring.go
type monitoringMetrics struct { CSR monitoring.Metric AuthnError monitoring.Metric Success monitoring.Metric CSRError monitoring.Metric IDExtractionError monitoring.Metric certSignErrors monitoring.Metric } // newMonitoringMetrics creates a new monitoringMetrics. func newMonitoringMetrics() monitoringMetrics {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:09 UTC 2024 - 3.3K bytes - Viewed (0) -
src/runtime/metrics/doc.go
Each metric key also has a "kind" (see [ValueKind]) that describes the format of the metric's value. In the interest of not breaking users of this package, the "kind" for a given metric is guaranteed not to change. If it must change, then a new metric will be introduced with a new key and a new "kind." # Metric key format As mentioned earlier, metric keys are strings. Their format is simple and well-defined,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 20K bytes - Viewed (0) -
cmd/metrics-v2.go
}) return metrics }) return mg } func collectMetric(metric MetricV2, labels []string, values []string, metricName string, out chan<- prometheus.Metric) { if metric.Description.Type == histogramMetric { if metric.Histogram == nil { return } for k, v := range metric.Histogram { pmetric, err := prometheus.NewConstMetric( prometheus.NewDesc(
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 131.9K bytes - Viewed (0) -
pilot/pkg/features/telemetry.go
MetricRotationInterval = env.Register("METRIC_ROTATION_INTERVAL", 0*time.Second, "Metric scope rotation interval, set to 0 to disable the metric scope rotation").Get() MetricGracefulDeletionInterval = env.Register("METRIC_GRACEFUL_DELETION_INTERVAL", 5*time.Minute, "Metric expiry graceful deletion interval. No-op if METRIC_ROTATION_INTERVAL is disabled.").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:36:01 UTC 2024 - 2.3K bytes - Viewed (0) -
src/testing/benchmark_test.go
return cmp.Compare(a, b) }) } }) // NOTE: Report each metric once, after all of the parallel // calls have completed. // This metric is per-operation, so divide by b.N and // report it as a "/op" unit. b.ReportMetric(float64(compares.Load())/float64(b.N), "compares/op") // This metric is per-time, so divide by b.Elapsed and // report it as a "/ns" unit.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.6K bytes - Viewed (0)