mirror of
https://github.com/golang/go.git
synced 2025-05-28 02:41:30 +00:00
all: fix function names
Change-Id: Iba8878420c59d705066d1d9955e91a5c2eb4faf5 Reviewed-on: https://go-review.googlesource.com/c/go/+/507615 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
dd491cfa54
commit
bc9dc8d415
@ -147,7 +147,7 @@ func (r *CoverageMetaFileReader) CounterMode() coverage.CounterMode {
|
||||
return r.hdr.CMode
|
||||
}
|
||||
|
||||
// CounterMode returns the counter granularity (single counter per
|
||||
// CounterGranularity returns the counter granularity (single counter per
|
||||
// function, or counter per block) selected when building for coverage
|
||||
// for the program that produce this meta-data file.
|
||||
func (r *CoverageMetaFileReader) CounterGranularity() coverage.CounterGranularity {
|
||||
|
@ -151,7 +151,7 @@ func initConfVal() {
|
||||
}
|
||||
}
|
||||
|
||||
// goosPreferCgo reports whether the GOOS value passed in prefers
|
||||
// goosPrefersCgo reports whether the GOOS value passed in prefers
|
||||
// the cgo resolver.
|
||||
func goosPrefersCgo() bool {
|
||||
switch runtime.GOOS {
|
||||
|
@ -90,7 +90,7 @@ func (d *dataIO) byte() (n byte, ok bool) {
|
||||
return p[0], true
|
||||
}
|
||||
|
||||
// read returns the read of the data in the buffer.
|
||||
// rest returns the rest of the data in the buffer.
|
||||
func (d *dataIO) rest() []byte {
|
||||
r := d.p
|
||||
d.p = nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user