Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for counterLengths (0.22 sec)

  1. src/cmd/cover/cover.go

    		singleCtr = "; " + f.newCounter(fn.Pos(), fn.Pos(), 1)
    	}
    
    	// record the length of the counter var required.
    	nc := len(f.fn.units) + coverage.FirstCtrOffset
    	f.pkg.counterLengths = append(f.pkg.counterLengths, nc)
    
    	// FIXME: for windows, do we want "\" and not "/"? Need to test here.
    	// Currently filename is formed as packagepath + "/" + basename.
    	fnpos := f.fset.Position(fn.Pos())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top