mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: remove repeated definite articles
Change-Id: Idea3e6ca6e62bd5a5ff6e6d5c3f39efb7628f0ec Reviewed-on: https://go-review.googlesource.com/c/go/+/489635 Run-TryBot: Michael Pratt <mpratt@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
e8c8b79f00
commit
42f558bd56
5 changed files with 5 additions and 5 deletions
|
|
@ -2601,7 +2601,7 @@
|
||||||
(SelectN [0] call:(StaticLECall {sym} a x)) && needRaceCleanup(sym, call) && clobber(call) => x
|
(SelectN [0] call:(StaticLECall {sym} a x)) && needRaceCleanup(sym, call) && clobber(call) => x
|
||||||
(SelectN [0] call:(StaticLECall {sym} x)) && needRaceCleanup(sym, call) && clobber(call) => x
|
(SelectN [0] call:(StaticLECall {sym} x)) && needRaceCleanup(sym, call) && clobber(call) => x
|
||||||
|
|
||||||
// When rewriting append to growslice, we use as the the new length the result of
|
// When rewriting append to growslice, we use as the new length the result of
|
||||||
// growslice so that we don't have to spill/restore the new length around the growslice call.
|
// growslice so that we don't have to spill/restore the new length around the growslice call.
|
||||||
// The exception here is that if the new length is a constant, avoiding spilling it
|
// The exception here is that if the new length is a constant, avoiding spilling it
|
||||||
// is pointless and its constantness is sometimes useful for subsequent optimizations.
|
// is pointless and its constantness is sometimes useful for subsequent optimizations.
|
||||||
|
|
|
||||||
|
|
@ -236,7 +236,7 @@ func (cdr *CounterDataReader) NumSegments() uint32 {
|
||||||
return cdr.ftr.NumSegments
|
return cdr.ftr.NumSegments
|
||||||
}
|
}
|
||||||
|
|
||||||
// BeginNextSegment sets up the the reader to read the next segment,
|
// BeginNextSegment sets up the reader to read the next segment,
|
||||||
// returning TRUE if we do have another segment to read, or FALSE
|
// returning TRUE if we do have another segment to read, or FALSE
|
||||||
// if we're done with all the segments (also an error if
|
// if we're done with all the segments (also an error if
|
||||||
// something went wrong).
|
// something went wrong).
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ func TestWSASocketConflict(t *testing.T) {
|
||||||
t.Fatalf("could not create the event!")
|
t.Fatalf("could not create the event!")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the low bit of the Event Handle so that the the completion
|
// Set the low bit of the Event Handle so that the completion
|
||||||
// of the overlapped I/O event will not trigger a completion event
|
// of the overlapped I/O event will not trigger a completion event
|
||||||
// on any I/O completion port associated with the handle.
|
// on any I/O completion port associated with the handle.
|
||||||
ovs[0].HEvent |= 0x1
|
ovs[0].HEvent |= 0x1
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ func WriteMetaDir(dir string) error {
|
||||||
|
|
||||||
// WriteMeta writes the meta-data content (the payload that would
|
// WriteMeta writes the meta-data content (the payload that would
|
||||||
// normally be emitted to a meta-data file) for the currently running
|
// normally be emitted to a meta-data file) for the currently running
|
||||||
// program to the the writer 'w'. An error will be returned if the
|
// program to the writer 'w'. An error will be returned if the
|
||||||
// operation can't be completed successfully (for example, if the
|
// operation can't be completed successfully (for example, if the
|
||||||
// currently running program was not built with "-cover", or if a
|
// currently running program was not built with "-cover", or if a
|
||||||
// write fails).
|
// write fails).
|
||||||
|
|
|
||||||
|
|
@ -380,7 +380,7 @@ var allDesc = []Description{
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// Insert all the the non-default-reporting GODEBUGs into the table,
|
// Insert all the non-default-reporting GODEBUGs into the table,
|
||||||
// preserving the overall sort order.
|
// preserving the overall sort order.
|
||||||
i := 0
|
i := 0
|
||||||
for i < len(allDesc) && allDesc[i].Name < "/godebug/" {
|
for i < len(allDesc) && allDesc[i].Name < "/godebug/" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue