- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 663 for counter1 (0.15 sec)
-
platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/gradle3235/src/main/groovy/com/example/Country.groovy
package com.example import groovy.transform.Canonical import groovy.transform.CompileStatic @Canonical @CompileStatic class Country { String name
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 155 bytes - Viewed (0) -
src/internal/coverage/cmerge/merge.go
// coverage counter data files. type Merger struct { cmode coverage.CounterMode cgran coverage.CounterGranularity policy ModeMergePolicy overflow bool } func (cm *Merger) SetModeMergePolicy(policy ModeMergePolicy) { cm.policy = policy } // MergeCounters takes the counter values in 'src' and merges them // into 'dst' according to the correct counter mode.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 23:26:34 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/cover/testdata/test.go
testGoto() } // The indexes of the counters in testPanic are known to main.go const panicIndex = 3 // This test appears first because the index of its counters is known to main.go func testPanic() { defer func() { recover() }() check(LINE, 1) panic("should not get next line") check(LINE, 0) // this is GoCover.Count[panicIndex] // The next counter is in testSimple and it will be non-zero.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4.9K bytes - Viewed (0) -
src/internal/fuzz/counters_supported.go
import ( "unsafe" ) // coverage returns a []byte containing unique 8-bit counters for each edge of // the instrumented source code. This coverage data will only be generated if // `-d=libfuzzer` is set at build time. This can be used to understand the code // coverage of a test execution. func coverage() []byte { addr := unsafe.Pointer(&_counters) size := uintptr(unsafe.Pointer(&_ecounters)) - uintptr(addr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 21:16:39 UTC 2022 - 710 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/internal/cov/covcmd/cmddefs.go
// eliminates redundant counters). Strategy string // Prefix assigned to the names of counter variables generated // during instrumentation by cmd/cover. CounterPrefix string // Name chosen for the package ID variable generated during // instrumentation. PkgIdVar string // Counter mode (e.g. set/count/atomic) CounterMode string // Counter granularity (perblock or perfunc).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 16:13:15 UTC 2023 - 3.2K 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) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go
t.Run("gcm unsafe", func(t *testing.T) { testGCMNonce(t, newGCMTransformerWithUniqueKeyUnsafeTest, 0, func(i int, nonce []byte) { counter := binary.LittleEndian.Uint64(nonce) if uint64(i+1) != counter { // add one because the counter starts at 1, not 0 t.Errorf("counter nonce is invalid: want %d, got %d", i+1, counter) } }) }) t.Run("gcm extended nonce", func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 23.2K bytes - Viewed (0)