Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 172 for counter2 (0.4 sec)

  1. src/internal/coverage/rtcov/rtcov.go

    	CounterGranularity uint8 // coverage.CounterGranularity
    }
    
    // CovCounterBlob is a container for encapsulating a counter section
    // (BSS variable) for an instrumented Go module. Here "counters"
    // points to the counter payload and "len" is the number of uint32
    // entries in the section.
    type CovCounterBlob struct {
    	Counters *uint32
    	Len      uint64
    }
    
    // Meta is the top-level container for bits of state related to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/internal/coverage/pods/pods.go

    // each meta-data file M_k, then find all of the counter data files
    // that refer to that meta-data file (recall that the counter data
    // file name incorporates the meta-data hash), and add the counter
    // data file to the appropriate pod.
    //
    // This process is complicated by the fact that we need to keep track
    // of directory indices for counter data files. Here is an example to
    // motivate:
    //
    //	directory 1:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	for _, r := range registries {
    		counter := atomic.NewInt32(0)
    		clusterID := r.Cluster()
    		if clusterID == "cluster1" {
    			counter = registry1Counter
    		}
    		if clusterID == "cluster2" {
    			counter = registry2Counter
    		}
    		ctrl.AppendServiceHandlerForCluster(clusterID, func(_, curr *model.Service, event model.Event) {
    			counter.Add(1)
    		})
    		ctrl.AddRegistry(r)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/cover/cover.go

    func setCounterStmt(f *File, counter string) string {
    	return fmt.Sprintf("%s = 1", counter)
    }
    
    // incCounterStmt returns the expression: __count[23]++.
    func incCounterStmt(f *File, counter string) string {
    	return fmt.Sprintf("%s++", counter)
    }
    
    // atomicCounterStmt returns the expression: atomic.AddUint32(&__count[23], 1)
    func atomicCounterStmt(f *File, counter string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. pkg/kubelet/winstats/network_stats.go

    	if err != nil {
    		klog.ErrorS(err, "Unable to get packetsReceivedPerSecond perf counter data")
    		return nil, err
    	}
    
    	packetsSentPerSecondData, err := n.packetsSentPerSecondCounter.getDataList()
    	if err != nil {
    		klog.ErrorS(err, "Unable to get packetsSentPerSecond perf counter data")
    		return nil, err
    	}
    
    	bytesReceivedPerSecondData, err := n.bytesReceivedPerSecondCounter.getDataList()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          aa.set(i, (double) COUNTDOWN);
        }
        Counter c1 = new Counter(aa);
        Counter c2 = new Counter(aa);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. cmd/metrics-v3-types.go

    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"
    )
    
    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/cmd/go/main.go

    func main() {
    	log.SetFlags(0)
    	telemetry.Start() // Open the telemetry counter file so counters can be written to it.
    	handleChdirFlag()
    	toolchain.Select()
    
    	telemetry.StartWithUpload() // Run the upload process. Opening the counter file is idempotent.
    	flag.Usage = base.Usage
    	flag.Parse()
    	telemetry.Inc("go/invocations")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/runtime/traceback_system_test.go

    		t.Errorf("got:\n%swant:\n%s", got, want)
    	}
    }
    
    // parseStackPCs parses the parent process's program counters for the
    // first running goroutine out of a GOTRACEBACK=system traceback,
    // adjusting them so that they are valid for the child process's text
    // segment.
    //
    // This function returns only program counter values, ensuring that
    // there is no possibility of strings from the crash report (which may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. pkg/apis/batch/types.go

    	//     counter.
    	//
    	// Old jobs might not be tracked using this field, in which case the field
    	// remains null.
    	// The structure is empty for finished jobs.
    	// +optional
    	UncountedTerminatedPods *UncountedTerminatedPods
    }
    
    // UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't
    // been accounted in Job status counters.
    type UncountedTerminatedPods struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top