mirror of
https://github.com/golang/go
synced 2024-11-17 08:54:41 -07:00
all: remove duplicate word "the"
Change-Id: Ia5908e94a6bd362099ca3c63f6ffb7e94457131d
GitHub-Last-Rev: 545a40571a
GitHub-Pull-Request: golang/go#23942
Reviewed-on: https://go-review.googlesource.com/95435
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
2e78f2afdb
commit
8fc25b531b
@ -187,7 +187,7 @@ type Header struct {
|
||||
// The key and value should be non-empty UTF-8 strings.
|
||||
//
|
||||
// When Writer.WriteHeader is called, PAX records derived from the
|
||||
// the other fields in Header take precedence over PAXRecords.
|
||||
// other fields in Header take precedence over PAXRecords.
|
||||
PAXRecords map[string]string
|
||||
|
||||
// Format specifies the format of the tar header.
|
||||
|
@ -167,7 +167,7 @@ const (
|
||||
|
||||
// R_ADDRPOWER_PCREL relocates two D-form instructions like R_ADDRPOWER, but
|
||||
// inserts the displacement from the place being relocated to the address of the
|
||||
// the relocated symbol instead of just its address.
|
||||
// relocated symbol instead of just its address.
|
||||
R_ADDRPOWER_PCREL
|
||||
|
||||
// R_ADDRPOWER_TOCREL relocates two D-form instructions like R_ADDRPOWER, but
|
||||
|
@ -583,7 +583,7 @@ func (ctxt *Link) loadlib() {
|
||||
}
|
||||
|
||||
// If package versioning is required, generate a hash of the
|
||||
// the packages used in the link.
|
||||
// packages used in the link.
|
||||
if ctxt.BuildMode == BuildModeShared || ctxt.BuildMode == BuildModePlugin || ctxt.CanUsePlugins() {
|
||||
for _, lib := range ctxt.Library {
|
||||
if lib.Shlib == "" {
|
||||
|
@ -1003,7 +1003,7 @@ type rowsCursor struct {
|
||||
err error
|
||||
|
||||
// a clone of slices to give out to clients, indexed by the
|
||||
// the original slice's first byte address. we clone them
|
||||
// original slice's first byte address. we clone them
|
||||
// just so we're able to corrupt them on close.
|
||||
bytesClone map[*byte][]byte
|
||||
|
||||
|
@ -2310,7 +2310,7 @@ func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *dr
|
||||
}
|
||||
|
||||
// In a transaction or connection, we always use the connection that the
|
||||
// the stmt was created on.
|
||||
// stmt was created on.
|
||||
if s.cg != nil {
|
||||
s.mu.Unlock()
|
||||
dc, releaseConn, err = s.cg.grabConn(ctx) // blocks, waiting for the connection.
|
||||
|
@ -198,7 +198,7 @@ type Decoder struct {
|
||||
// charset-conversion readers, converting from the provided
|
||||
// non-UTF-8 charset into UTF-8. If CharsetReader is nil or
|
||||
// returns an error, parsing stops with an error. One of the
|
||||
// the CharsetReader's result values must be non-nil.
|
||||
// CharsetReader's result values must be non-nil.
|
||||
CharsetReader func(charset string, input io.Reader) (io.Reader, error)
|
||||
|
||||
// DefaultSpace sets the default name space used for unadorned tags,
|
||||
|
@ -197,7 +197,7 @@ func (p *printer) exprList(prev0 token.Pos, list []ast.Expr, depth int, mode exp
|
||||
|
||||
// if the previous line and the current line had single-
|
||||
// line-expressions and the key sizes are small or the
|
||||
// the ratio between the key sizes does not exceed a
|
||||
// ratio between the key sizes does not exceed a
|
||||
// threshold, align columns and do not use formfeed
|
||||
if prevSize > 0 && size > 0 {
|
||||
const smallSize = 20
|
||||
|
@ -417,7 +417,7 @@ func nudge(c context) context {
|
||||
|
||||
// join joins the two contexts of a branch template node. The result is an
|
||||
// error context if either of the input contexts are error contexts, or if the
|
||||
// the input contexts differ.
|
||||
// input contexts differ.
|
||||
func join(a, b context, node parse.Node, nodeName string) context {
|
||||
if a.state == stateError {
|
||||
return a
|
||||
|
@ -1546,7 +1546,7 @@ func newMarkBits(nelems uintptr) *gcBits {
|
||||
// to be used for this span's alloc bits.
|
||||
// newAllocBits is used to provide newly initialized spans
|
||||
// allocation bits. For spans not being initialized the
|
||||
// the mark bits are repurposed as allocation bits when
|
||||
// mark bits are repurposed as allocation bits when
|
||||
// the span is swept.
|
||||
func newAllocBits(nelems uintptr) *gcBits {
|
||||
return newMarkBits(nelems)
|
||||
|
Loading…
Reference in New Issue
Block a user