Commit 789c5255 authored by Eitan Adler's avatar Eitan Adler Committed by Ian Lance Taylor

all: remove the the duplicate words

Change-Id: I6343c162e27e2e492547c96f1fc504909b1c03c0
Reviewed-on: https://go-review.googlesource.com/37793Reviewed-by: default avatarDaniel Martí <mvdan@mvdan.cc>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 694f9e36
...@@ -255,7 +255,7 @@ func TestZip64EdgeCase(t *testing.T) { ...@@ -255,7 +255,7 @@ func TestZip64EdgeCase(t *testing.T) {
testZip64DirectoryRecordLength(buf, t) testZip64DirectoryRecordLength(buf, t)
} }
// Tests that we generate a zip64 file if the the directory at offset // Tests that we generate a zip64 file if the directory at offset
// 0xFFFFFFFF, but not before. // 0xFFFFFFFF, but not before.
func TestZip64DirectoryOffset(t *testing.T) { func TestZip64DirectoryOffset(t *testing.T) {
if testing.Short() && race.Enabled { if testing.Short() && race.Enabled {
......
...@@ -25,7 +25,7 @@ func TestNlzNto(t *testing.T) { ...@@ -25,7 +25,7 @@ func TestNlzNto(t *testing.T) {
// construct the bit pattern 000...111, with bit 33 set as well. // construct the bit pattern 000...111, with bit 33 set as well.
for i := int64(0); i < 64; i++ { for i := int64(0); i < 64; i++ {
tx := x | (1 << 32) tx := x | (1 << 32)
// nto should be the the number of bits we've shifted on, with an extra bit // nto should be the number of bits we've shifted on, with an extra bit
// at iter 32 // at iter 32
ntoExp := i ntoExp := i
if ntoExp == 32 { if ntoExp == 32 {
......
...@@ -299,7 +299,7 @@ func ssaGenValue387(s *gc.SSAGenState, v *ssa.Value) bool { ...@@ -299,7 +299,7 @@ func ssaGenValue387(s *gc.SSAGenState, v *ssa.Value) bool {
return true return true
case ssa.Op386CALLstatic, ssa.Op386CALLclosure, ssa.Op386CALLdefer, ssa.Op386CALLgo, ssa.Op386CALLinter: case ssa.Op386CALLstatic, ssa.Op386CALLclosure, ssa.Op386CALLdefer, ssa.Op386CALLgo, ssa.Op386CALLinter:
flush387(s) // Calls must empty the the FP stack. flush387(s) // Calls must empty the FP stack.
return false // then issue the call as normal return false // then issue the call as normal
} }
return false return false
......
...@@ -655,7 +655,7 @@ const ( ...@@ -655,7 +655,7 @@ const (
R_ADDRPOWER_PCREL R_ADDRPOWER_PCREL
// R_ADDRPOWER_TOCREL relocates two D-form instructions like R_ADDRPOWER, but // R_ADDRPOWER_TOCREL relocates two D-form instructions like R_ADDRPOWER, but
// inserts the offset from the TOC to the address of the the relocated symbol // inserts the offset from the TOC to the address of the relocated symbol
// rather than the symbol's address. // rather than the symbol's address.
R_ADDRPOWER_TOCREL R_ADDRPOWER_TOCREL
......
...@@ -129,7 +129,7 @@ type objWriter struct { ...@@ -129,7 +129,7 @@ type objWriter struct {
// Temporary buffer for zigzag int writing. // Temporary buffer for zigzag int writing.
varintbuf [10]uint8 varintbuf [10]uint8
// Provide the the index of a symbol reference by symbol name. // Provide the index of a symbol reference by symbol name.
// One map for versioned symbols and one for unversioned symbols. // One map for versioned symbols and one for unversioned symbols.
// Used for deduplicating the symbol reference list. // Used for deduplicating the symbol reference list.
refIdx map[string]int refIdx map[string]int
......
...@@ -97,7 +97,7 @@ const ( ...@@ -97,7 +97,7 @@ const (
// the slice may (but doesn't have to) be shorter if the mantissa contains // the slice may (but doesn't have to) be shorter if the mantissa contains
// trailing 0 bits. x.mant is normalized if the msb of x.mant == 1 (i.e., // trailing 0 bits. x.mant is normalized if the msb of x.mant == 1 (i.e.,
// the msb is shifted all the way "to the left"). Thus, if the mantissa has // the msb is shifted all the way "to the left"). Thus, if the mantissa has
// trailing 0 bits or x.prec is not a multiple of the the Word size _W, // trailing 0 bits or x.prec is not a multiple of the Word size _W,
// x.mant[0] has trailing zero bits. The msb of the mantissa corresponds // x.mant[0] has trailing zero bits. The msb of the mantissa corresponds
// to the value 0.5; the exponent x.exp shifts the binary point as needed. // to the value 0.5; the exponent x.exp shifts the binary point as needed.
// //
......
...@@ -188,7 +188,7 @@ type WordDecoder struct { ...@@ -188,7 +188,7 @@ type WordDecoder struct {
// charset into UTF-8. // charset into UTF-8.
// Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets // Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets
// are handled by default. // are handled by default.
// One of the the CharsetReader's result values must be non-nil. // One of the CharsetReader's result values must be non-nil.
CharsetReader func(charset string, input io.Reader) (io.Reader, error) CharsetReader func(charset string, input io.Reader) (io.Reader, error)
} }
......
...@@ -298,7 +298,7 @@ var testHookStartTLS func(*tls.Config) // nil, except for tests ...@@ -298,7 +298,7 @@ var testHookStartTLS func(*tls.Config) // nil, except for tests
// messages is accomplished by including an email address in the to // messages is accomplished by including an email address in the to
// parameter but not including it in the msg headers. // parameter but not including it in the msg headers.
// //
// The SendMail function and the the net/smtp package are low-level // The SendMail function and the net/smtp package are low-level
// mechanisms and provide no support for DKIM signing, MIME // mechanisms and provide no support for DKIM signing, MIME
// attachments (see the mime/multipart package), or other mail // attachments (see the mime/multipart package), or other mail
// functionality. Higher-level packages exist outside of the standard // functionality. Higher-level packages exist outside of the standard
......
...@@ -180,7 +180,7 @@ type mspan struct { ...@@ -180,7 +180,7 @@ type mspan struct {
// for the next free object in this span. // for the next free object in this span.
// Each allocation scans allocBits starting at freeindex until it encounters a 0 // Each allocation scans allocBits starting at freeindex until it encounters a 0
// indicating a free object. freeindex is then adjusted so that subsequent scans begin // indicating a free object. freeindex is then adjusted so that subsequent scans begin
// just past the the newly discovered free object. // just past the newly discovered free object.
// //
// If freeindex == nelem, this span has no free objects. // If freeindex == nelem, this span has no free objects.
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment