]> Cypherpunks.ru repositories - gostls13.git/commitdiff
all: fix function names
authorcui fliter <imcusg@gmail.com>
Mon, 3 Jul 2023 05:41:45 +0000 (13:41 +0800)
committerGopher Robot <gobot@golang.org>
Sat, 14 Oct 2023 22:30:23 +0000 (22:30 +0000)
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>

src/internal/coverage/decodemeta/decodefile.go
src/net/conf.go
src/time/zoneinfo_read.go

index 6580dd54022811cc2654b48bcac6b69859eb7046..96e076596f8bf5d850bd95aa6f87841ea3a247ad 100644 (file)
@@ -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 {
index 99717dbf8ca8eca95f57e2563b971f2ca58eb8fb..649ebcfb18ad6f18354d8f65b2892d09a2226f4f 100644 (file)
@@ -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 {
index 4d0e47d890ac305c9f8ceb19339065c07c5794ac..707dd1189d03d7b26b3a849e0fd128ea90533ef5 100644 (file)
@@ -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