Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,665 for count1 (0.17 sec)

  1. pkg/controller/volume/persistentvolume/metrics/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		})
    )
    
    // volumeCount counts by PluginName and VolumeMode.
    type volumeCount map[string]map[string]int
    
    func (v volumeCount) add(pluginName string, volumeMode string) {
    	count, ok := v[pluginName]
    	if !ok {
    		count = map[string]int{}
    	}
    	count[volumeMode]++
    	v[pluginName] = count
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 13:09:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/counter/doc.go

    //
    // When counter files expire they are turned into reports by the upload
    // package. The first time any counter file is created for a user, a random day
    // of the week is selected on which counter files will expire. For the first
    // week, that day is more than 7 days (but not more than two weeks) in the
    // future. After that the counter files expire weekly on the same day of the
    // week.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/metrics/doc.go

    		to system CPU time measurements. Compare only with other
    		/cpu/classes metrics.
    
    	/gc/cycles/automatic:gc-cycles
    		Count of completed GC cycles generated by the Go runtime.
    
    	/gc/cycles/forced:gc-cycles
    		Count of completed GC cycles forced by the application.
    
    	/gc/cycles/total:gc-cycles
    		Count of all completed GC cycles.
    
    	/gc/gogc:percent
    		Heap size target percentage configured by the user, otherwise
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/testsupport.go

    				// Skip units with non-zero parent (no way to represent
    				// these in the existing format).
    				if u.Parent != 0 {
    					continue
    				}
    				count := uint32(0)
    				if haveCounters {
    					count = counters[i]
    				}
    				ts.cf.AddUnit(fd.Srcfile, fd.Funcname, fd.Lit, u, count)
    			}
    		}
    	}
    	return nil
    }
    
    type pkfunc struct {
    	pk, fcn uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    	}
    	return begin, end, nil
    }
    
    // avoid parsing count files multiple times
    type parsedCache struct {
    	mu sync.Mutex
    	m  map[string]*counter.File
    }
    
    func (u *uploader) parseCountFile(fname string) (*counter.File, error) {
    	u.cache.mu.Lock()
    	defer u.cache.mu.Unlock()
    	if u.cache.m == nil {
    		u.cache.m = make(map[string]*counter.File)
    	}
    	if f, ok := u.cache.m[fname]; ok {
    		return f, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. pkg/registry/certificates/certificates/storage/metrics.go

    	"k8s.io/component-base/metrics/legacyregistry"
    	"k8s.io/kubernetes/pkg/apis/certificates"
    )
    
    const (
    	namespace = "apiserver"
    	subsystem = "certificates_registry"
    )
    
    var (
    	// csrDurationRequested counts and categorizes how many certificates were issued when the client requested a duration.
    	csrDurationRequested = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go

    		isSet:         initial != nil,
    		value:         initial,
    	}
    	if doneCh != nil {
    		activeCounter.Add(1) // count start of the following goroutine
    		go func() {
    			defer activeCounter.Add(-1) // count completion of this goroutine
    			defer runtime.HandleCrash()
    			activeCounter.Add(-1) // count suspension for channel receive
    			<-doneCh
    			// Whatever goroutine unblocked the preceding receive MUST
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * UnsupportedOperationException."
       */
      abstract void setCountNoCheckReturnValue(E element, int count);
    
      private void assertSetCountIncreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to increase an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. cmd/bucket-stats.go

    		speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr)
    		if lpeak > 0 || speak > 0 {
    			count++
    		}
    	}
    	if count > 0 {
    		lrg := XferStats{
    			Avg:  lavg / float64(count),
    			Curr: lcurr / float64(count),
    			Peak: lpeak,
    		}
    		sml := XferStats{
    			Avg:  savg / float64(count),
    			Curr: scurr / float64(count),
    			Peak: speak,
    		}
    		qs.XferStats[Large] = lrg
    		qs.XferStats[Small] = sml
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    // same number of bits are set in both masks, then the mask with more
    // lower-numbered bits set wins out.
    func (s *bitMask) IsNarrowerThan(mask BitMask) bool {
    	if s.Count() == mask.Count() {
    		return s.IsLessThan(mask)
    	}
    	return s.Count() < mask.Count()
    }
    
    // IsLessThan checks which bitmask has more lower-numbered bits set.
    func (s *bitMask) IsLessThan(mask BitMask) bool {
    	return *s < *mask.(*bitMask)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top