Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SnapshotCoverage (0.12 sec)

  1. src/internal/fuzz/coverage.go

    func ResetCoverage() {
    	cov := coverage()
    	clear(cov)
    }
    
    // SnapshotCoverage copies the current counter values into coverageSnapshot,
    // preserving them for later inspection. SnapshotCoverage also rounds each
    // counter down to the nearest power of two. This lets the coordinator store
    // multiple values for each counter by OR'ing them together.
    func SnapshotCoverage() {
    	cov := coverage()
    	for i, b := range cov {
    		b |= b >> 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/testing/internal/testdeps/deps.go

    func (TestDeps) CheckCorpus(vals []any, types []reflect.Type) error {
    	return fuzz.CheckCorpus(vals, types)
    }
    
    func (TestDeps) ResetCoverage() {
    	fuzz.ResetCoverage()
    }
    
    func (TestDeps) SnapshotCoverage() {
    	fuzz.SnapshotCoverage()
    }
    
    var CoverMode string
    var Covered string
    
    // These variables below are set at runtime (via code in testmain) to point
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. pkg/util/coverage/fake_test_deps.go

    }
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) ResetCoverage() {}
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) SnapshotCoverage() {}
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 15:31:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top