Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CoverBlock (0.14 sec)

  1. src/testing/cover.go

    	"os"
    	"sync/atomic"
    )
    
    // CoverBlock records the coverage data for a single basic block.
    // The fields are 1-indexed, as in an editor: The opening line of
    // the file is number 1, for example. Columns are measured
    // in bytes.
    // NOTE: This struct is internal to the testing infrastructure and may change.
    // It is not covered (yet) by the Go 1 compatibility guidelines.
    type CoverBlock struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:37:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    	}
    	if coverCounters[fileName] != nil {
    		// Already registered.
    		return
    	}
    	coverCounters[fileName] = counter
    	block := make([]testing.CoverBlock, len(counter))
    	for i := range counter {
    		block[i] = testing.CoverBlock{
    			Line0: pos[3*i+0],
    			Col0: uint16(pos[3*i+2]),
    			Line1: pos[3*i+1],
    			Col1: uint16(pos[3*i+2]>>16),
    			Stmts: numStmts[i],
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Cover.Counters", Field, 2},
    		{"Cover.CoveredPackages", Field, 2},
    		{"Cover.Mode", Field, 2},
    		{"CoverBlock", Type, 2},
    		{"CoverBlock.Col0", Field, 2},
    		{"CoverBlock.Col1", Field, 2},
    		{"CoverBlock.Line0", Field, 2},
    		{"CoverBlock.Line1", Field, 2},
    		{"CoverBlock.Stmts", Field, 2},
    		{"CoverMode", Func, 8},
    		{"Coverage", Func, 4},
    		{"F", Type, 18},
    		{"Init", Func, 13},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top