- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for addVariables (0.17 sec)
-
src/cmd/cover/cover.go
// offset translates a token position into a 0-indexed byte offset. func (f *File) offset(pos token.Pos) int { return f.fset.Position(pos).Offset } // addVariables adds to the end of the file the declarations to set up the counter and position variables. func (f *File) addVariables(w io.Writer) { if *pkgcfg != "" { return } // Self-check: Verify that the instrumented basic blocks are disjoint. t := make([]block1, len(f.blocks))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0)