Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CoverBlock (0.17 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)
  4. api/go1.2.txt

    pkg testing, type Cover struct, Blocks map[string][]CoverBlock
    pkg testing, type Cover struct, Counters map[string][]uint32
    pkg testing, type Cover struct, CoveredPackages string
    pkg testing, type Cover struct, Mode string
    pkg testing, type CoverBlock struct
    pkg testing, type CoverBlock struct, Col0 uint16
    pkg testing, type CoverBlock struct, Col1 uint16
    pkg testing, type CoverBlock struct, Line0 uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top