- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,665 for count1 (0.1 sec)
-
cmd/http-stats.go
sync.RWMutex } // Inc increments the api stats counter. func (stats *HTTPAPIStats) Inc(api string) { if stats == nil { return } stats.Lock() defer stats.Unlock() if stats.apiStats == nil { stats.apiStats = make(map[string]int) } stats.apiStats[api]++ } // Dec increments the api stats counter. func (stats *HTTPAPIStats) Dec(api string) { if stats == nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 06:25:13 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy.go
// - optional job failure message (present in case the pod matched a 'FailJob' rule), // - a boolean indicating if the failure should be counted towards backoffLimit // (and backoffLimitPerIndex if specified). It should not be counted // if the pod matched an 'Ignore' rule, // - a pointer to the matched pod failure policy action.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 20:44:11 UTC 2023 - 5.5K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
// loop-i goroutine should be present in the profile too. counts := make(map[string]int) for _, s := range p.Sample { label := s.Label[t.Name()+"-loop-i"] if len(label) > 0 { counts[label[0]]++ } } for j, max := 0, len(counts)-1; j <= max; j++ { n := counts[fmt.Sprint(j)] if n == 1 || (n == 2 && j == max) { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/runtime/metrics.go
hist := out.float64HistOrInit(sizeClassBuckets) hist.counts[len(hist.counts)-1] = in.heapStats.largeAllocCount // Cut off the first index which is ostensibly for size class 0, // but large objects are tracked separately so it's actually unused. for i, count := range in.heapStats.smallAllocCount[1:] { hist.counts[i] = count } }, }, "/gc/heap/allocs:bytes": {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapiv3/metrics.go
) var ( regenerationCounter = metrics.NewCounterVec( &metrics.CounterOpts{ Name: "apiextensions_openapi_v3_regeneration_count", Help: "Counter of OpenAPI v3 spec regeneration count broken down by group, version, causing CRD and reason.", StabilityLevel: metrics.ALPHA, }, []string{"group", "version", "crd", "reason"}, ) ) func init() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 29 22:10:50 UTC 2022 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
/** Constructs an instance with all counts initialized to zero. */ public SimpleStatsCounter() {} /** @since 11.0 */ @Override public void recordHits(int count) { hitCount.add(count); } /** @since 11.0 */ @Override public void recordMisses(int count) { missCount.add(count); } @SuppressWarnings("GoodTime") // b/122668874
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
src/runtime/pprof/pprof.go
// keysByCount sorts keys with higher counts first, breaking ties by key string order. type keysByCount struct { keys []string count map[string]int } func (x *keysByCount) Len() int { return len(x.keys) } func (x *keysByCount) Swap(i, j int) { x.keys[i], x.keys[j] = x.keys[j], x.keys[i] } func (x *keysByCount) Less(i, j int) bool { ki, kj := x.keys[i], x.keys[j] ci, cj := x.count[ki], x.count[kj] if ci != cj {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
// continue to avoid unnecessary calculation. // Per-node counts are also skipped, as they are done during Score. tpCount := state.TopologyPairToPodCounts[pair] if tpCount == nil { continue } count := countPodsMatchSelector(nodeInfo.Pods, c.Selector, pod.Namespace) atomic.AddInt64(tpCount, int64(count)) } } pl.parallelizer.Until(ctx, len(allNodes), processAllNode, pl.Name())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics_test.go
} } func TestRecordInvalidKeyIDFromStatus(t *testing.T) { testCases := []struct { desc string count int metrics []string providerName string want string }{ { desc: "invalid KeyID From Status Total 3", count: 3, metrics: []string{ "apiserver_envelope_encryption_invalid_key_id_from_status_total", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 09 22:31:32 UTC 2023 - 31.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go
variables: []NamedExpressionAccessor{ &testVariable{ name: "count", expression: "object.subsets[114514].addresses.size()", // array index out of bound }, }, attributes: endpointCreateAttributes(), expression: "variables.count == 810", expectErr: true, expectedErrorMessage: `composited variable "count" fails to evaluate: index out of bounds: 114514`, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 8.2K bytes - Viewed (0)