- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 350 for counter1 (0.25 sec)
-
src/runtime/coverage/coverage.go
return cfile.WriteCounters(w) } // ClearCounters clears/resets all coverage counter variables in the // currently running program. It returns an error if the program in // question was not built with the "-cover" flag. Clearing of coverage // counters is also not supported for programs not using atomic // counter mode (see more detailed comments below for the rationale // here). func ClearCounters() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/start.go
// which is the time used by the upload logic to determine whether counter // file data should be uploaded. Only counter files that have expired before // the start time are considered for upload. // // This field can be used to simulate a future upload that collects recently // modified counters. UploadStartTime time.Time // UploadURL, if set, overrides the URL used to receive uploaded reports. If
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/telemetry/README.md
change in breaking ways as the telemetry integration is refined. ## Notable Packages - The [x/telemetry/counter](https://pkg.go.dev/golang.org/x/telemetry/counter) package provides a library for instrumenting programs with counters and stack reports. - The [x/telemetry/upload](https://pkg.go.dev/golang.org/x/telemetry/upload)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/go/script_test.go
// not a counter file continue } counters, _, err := countertest.ReadFile(filepath.Join(localDir, dirent.Name())) if err != nil { t.Fatalf("reading counter file: %v", err) } for k, v := range counters { totals[k] += v } } return totals } func checkCounters(t *testing.T, telemetryDir string) { counters := readCounters(t, telemetryDir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
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) -
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)