Home | History | Annotate | Download | only in cover

Lines Matching defs:Boundary

148 // Boundary represents the position in a source file of the beginning or end of a
151 type Boundary struct {
158 // Boundaries returns a Profile as a set of Boundary objects within the provided src.
159 func (p *Profile) Boundaries(src []byte) (boundaries []Boundary) {
170 // boundary returns a Boundary, populating the Norm field with a normalized Count.
171 boundary := func(offset int, start bool, count int) Boundary {
172 b := Boundary{Offset: offset, Start: start, Count: count}
188 boundaries = append(boundaries, boundary(si, true, b.Count))
191 boundaries = append(boundaries, boundary(si, false, 0))
206 type boundariesByPos []Boundary