Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 300 for counter2 (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/internal/fuzz/counters_unsupported.go

    // In theory, we shouldn't need this file at all: if the binary was built
    // without coverage, then _counters and _ecounters should have the same address.
    // However, this caused an init failure on aix/ppc64, so it's disabled here.
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 17:10:57 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. pkg/kubelet/winstats/perfcounter_nodestats.go

    		klog.ErrorS(err, "Unable to get cpu perf counter data")
    		return
    	}
    
    	memWorkingSetValue, err := memWorkingSetCounter.getData()
    	if err != nil {
    		klog.ErrorS(err, "Unable to get memWorkingSet perf counter data")
    		return
    	}
    
    	memCommittedBytesValue, err := memCommittedBytesCounter.getData()
    	if err != nil {
    		klog.ErrorS(err, "Unable to get memCommittedBytes perf counter data")
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. testing/soak/src/integTest/groovy/org/gradle/jvm/JavaCompilationSoakTest.groovy

                            options.forkOptions.jvmArgs << "-Dcounter=" + project.property("counter")
                        }
                    }
                """
            }
        }
    
        def "can recompile many times in a row with a changing set of compiler daemons"() {
            expect:
            10.times {
                println("Run $it")
                succeeds("clean", "assemble", "-Pcounter="+it)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s

    // func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
    TEXT ·xorKeyStreamVX(SB), NOSPLIT, $0
    	MOVD $·constants<>(SB), R1
    	MOVD dst+0(FP), R2         // R2=&dst[0]
    	LMG  src+24(FP), R3, R4    // R3=&src[0] R4=len(src)
    	MOVD key+48(FP), R5        // R5=key
    	MOVD nonce+56(FP), R6      // R6=nonce
    	MOVD counter+64(FP), R7    // R7=counter
    
    	// load BSWAP and J0
    	VLM (R1), BSWAP, J0
    
    	// setup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/mounter-defaults.go

    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    type mounterDefaults flexVolumeMounter
    
    // SetUpAt is part of the volume.Mounter interface.
    // This implementation relies on the attacher's device mount path and does a bind mount to dir.
    func (f *mounterDefaults) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 24 15:56:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	const prefix = "crash/crash"
    	return counter.EncodeStack(pcs, prefix), nil
    }
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top