mirror of
https://github.com/golang/go
synced 2024-11-05 16:16:11 -07:00
all: remove the the duplicate words
Change-Id: I6343c162e27e2e492547c96f1fc504909b1c03c0 Reviewed-on: https://go-review.googlesource.com/37793 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
694f9e36aa
commit
789c5255a4
@ -255,7 +255,7 @@ func TestZip64EdgeCase(t *testing.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.
|
||||
func TestZip64DirectoryOffset(t *testing.T) {
|
||||
if testing.Short() && race.Enabled {
|
||||
|
@ -25,7 +25,7 @@ func TestNlzNto(t *testing.T) {
|
||||
// construct the bit pattern 000...111, with bit 33 set as well.
|
||||
for i := int64(0); i < 64; i++ {
|
||||
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
|
||||
ntoExp := i
|
||||
if ntoExp == 32 {
|
||||
|
@ -299,7 +299,7 @@ func ssaGenValue387(s *gc.SSAGenState, v *ssa.Value) bool {
|
||||
return true
|
||||
|
||||
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
|
||||
|
@ -655,7 +655,7 @@ const (
|
||||
R_ADDRPOWER_PCREL
|
||||
|
||||
// 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.
|
||||
R_ADDRPOWER_TOCREL
|
||||
|
||||
|
@ -129,7 +129,7 @@ type objWriter struct {
|
||||
// Temporary buffer for zigzag int writing.
|
||||
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.
|
||||
// Used for deduplicating the symbol reference list.
|
||||
refIdx map[string]int
|
||||
|
@ -97,7 +97,7 @@ const (
|
||||
// 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.,
|
||||
// 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
|
||||
// to the value 0.5; the exponent x.exp shifts the binary point as needed.
|
||||
//
|
||||
|
@ -188,7 +188,7 @@ type WordDecoder struct {
|
||||
// charset into UTF-8.
|
||||
// Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets
|
||||
// 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)
|
||||
}
|
||||
|
||||
|
@ -298,7 +298,7 @@ var testHookStartTLS func(*tls.Config) // nil, except for tests
|
||||
// messages is accomplished by including an email address in the to
|
||||
// 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
|
||||
// attachments (see the mime/multipart package), or other mail
|
||||
// functionality. Higher-level packages exist outside of the standard
|
||||
|
@ -180,7 +180,7 @@ type mspan struct {
|
||||
// for the next free object in this span.
|
||||
// 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
|
||||
// just past the the newly discovered free object.
|
||||
// just past the newly discovered free object.
|
||||
//
|
||||
// If freeindex == nelem, this span has no free objects.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user