]> Cypherpunks repositories - gostls13.git/commitdiff
all: fix a bunch of misspellings
authorIgor Zhilianin <igor.zhilianin@gmail.com>
Mon, 8 Oct 2018 01:19:51 +0000 (01:19 +0000)
committerIan Lance Taylor <iant@golang.org>
Mon, 8 Oct 2018 03:12:03 +0000 (03:12 +0000)
Change-Id: I94cebca86706e072fbe3be782d3edbe0e22b9432
GitHub-Last-Rev: 8e15a40545704fb21b41a8768079f2da19341ef3
GitHub-Pull-Request: golang/go#28067
Reviewed-on: https://go-review.googlesource.com/c/140437
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
13 files changed:
src/archive/zip/writer.go
src/cmd/asm/internal/asm/testdata/386enc.s
src/cmd/asm/internal/asm/testdata/amd64enc_extra.s
src/cmd/compile/internal/gc/esc.go
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/internal/obj/x86/evex.go
src/cmd/link/internal/ld/lib.go
src/cmd/vet/vet_test.go
src/database/sql/sql_test.go
src/net/http/transfer.go
src/runtime/mheap.go
src/runtime/sys_linux_ppc64x.s
test/run.go

index 5f0c0a1a555ac685210d5eb2c52d4fe2fffc5258..cdc534eaf01922df345eb4a44b372ef4c8fbc1bc 100644 (file)
@@ -178,7 +178,7 @@ func (w *Writer) Close() error {
                        return err
                }
 
-               // store max values in the regular end record to signal that
+               // store max values in the regular end record to signal
                // that the zip64 values should be used instead
                records = uint16max
                size = uint32max
index 15d1705c9759f0d9f8bc6e01ca094f1eff6de836..4af6de36d17b5339f0fff507185c1d626b109a8f 100644 (file)
@@ -18,7 +18,7 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0
        MOVL -2147483648(AX), AX // 8b8000000080
        ADDL 2147483648(AX), AX  // 038000000080
        ADDL -2147483648(AX), AX // 038000000080
-       // Make sure MOV CR/DR continues to work after changing it's movtabs.
+       // Make sure MOV CR/DR continues to work after changing its movtabs.
        MOVL CR0, AX // 0f20c0
        MOVL CR0, DX // 0f20c2
        MOVL CR4, DI // 0f20e7
index 2f0d9ecf8695fb74dfd9ce2223628ba104066506..d7afecc23044d164691cac94b6f7e21a6b932b0f 100644 (file)
@@ -302,7 +302,7 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0
        // Check that LEAL is permitted to use overflowing offset.
        LEAL 2400959708(BP)(R10*1), BP // 428dac15dcbc1b8f
        LEAL 3395469782(AX)(R10*1), AX // 428d8410d6c162ca
-       // Make sure MOV CR/DR continues to work after changing it's movtabs.
+       // Make sure MOV CR/DR continues to work after changing its movtabs.
        MOVQ CR0, AX // 0f20c0
        MOVQ CR0, DX // 0f20c2
        MOVQ CR4, DI // 0f20e7
index 94190f0020bd3db40becc65c8750426ef1812e1d..eba66d9c67b7fd78e1ee4583b3809bce8cce6dda 100644 (file)
@@ -946,7 +946,8 @@ opSwitch:
        case OCALLMETH, OCALLFUNC, OCALLINTER:
                e.esccall(n, parent)
 
-               // esccall already done on n.Rlist.First(). tie it's Retval to n.List
+               // esccall already done on n.Rlist.First()
+               // tie its Retval to n.List
        case OAS2FUNC: // x,y = f()
                rs := e.nodeEscState(n.Rlist.First()).Retval.Slice()
                where := n
index 0a7238850c7e8c8883d7d6729a7ba5e5cb5c7084..bd6ffbce53a855ec8cb671761b5b423f2c1f86c4 100644 (file)
@@ -967,7 +967,7 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {
        case ssa.OpPPC64LoweredMove:
 
                // This will be used when moving more
-               // than 8 bytes.  Moves start with as
+               // than 8 bytes.  Moves start with
                // as many 8 byte moves as possible, then
                // 4, 2, or 1 byte(s) as remaining.  This will
                // work and be efficient for power8 or later.
index 30c0e62e0f5931049c5db1652ca14f0449e80920..d8867283fa59158355c86f39b71cdd5b4b433e68 100644 (file)
@@ -194,7 +194,7 @@ func newEVEXSuffix() evexSuffix {
        return evexSuffix{rounding: rcUnset}
 }
 
-// evexSuffixMap maps obj.X86suffix to it's decoded version.
+// evexSuffixMap maps obj.X86suffix to its decoded version.
 // Filled during init().
 var evexSuffixMap [255]evexSuffix
 
index 8f3326d8cda8607939366ce257b3cefd2aaa99c1..2284c347dc59f9a71530aeb60477f59ed3f204e6 100644 (file)
@@ -646,7 +646,7 @@ func (ctxt *Link) loadlib() {
 //
 // These are the symbols that begin with the prefix 'type.' and
 // contain run-time type information used by the runtime and reflect
-// packages. All Go binaries contain these symbols, but only only
+// packages. All Go binaries contain these symbols, but only
 // those programs loaded dynamically in multiple parts need these
 // symbols to have entries in the symbol table.
 func (ctxt *Link) mangleTypeSym() {
index df84d6cc98378ffd479954d1c7aa9fbfdf261fe3..6b2125924d7a8ae34074f0379fa9d88bf4e03adf 100644 (file)
@@ -232,10 +232,10 @@ func TestVetVerbose(t *testing.T) {
 // this function will report an error.
 // Likewise if outStr does not have an error for a line which has a comment,
 // or if the error message does not match the <regexp>.
-// The <regexp> syntax is Perl but its best to stick to egrep.
+// The <regexp> syntax is Perl but it's best to stick to egrep.
 //
 // Sources files are supplied as fullshort slice.
-// It consists of pairs: full path to source file and it's base name.
+// It consists of pairs: full path to source file and its base name.
 func errorCheck(outStr string, wantAuto bool, fullshort ...string) (err error) {
        var errs []error
        out := splitOutput(outStr, wantAuto)
index 1be9f770f173d3454085a7b3f6b6efad0ed0a1fa..82f3f316c6a5841e69ef4aa0a66e16d178a65b72 100644 (file)
@@ -597,7 +597,7 @@ func TestPoolExhaustOnCancel(t *testing.T) {
        state := 0
 
        // waiter will be called for all queries, including
-       // initial setup queries. The state is only assigned when no
+       // initial setup queries. The state is only assigned when
        // no queries are made.
        //
        // Only allow the first batch of queries to finish once the
index 2c6ba3231b0b4ec2258df9b38033966f720a308c..a41d03420433b365bd9a46f0bcbfb915a26dc5de 100644 (file)
@@ -942,7 +942,7 @@ func (b *body) Close() error {
                // no trailer and closing the connection next.
                // no point in reading to EOF.
        case b.doEarlyClose:
-               // Read up to maxPostHandlerReadBytes bytes of the body, looking for
+               // Read up to maxPostHandlerReadBytes bytes of the body, looking
                // for EOF (and trailers), so we can re-use this connection.
                if lr, ok := b.src.(*io.LimitedReader); ok && lr.N > maxPostHandlerReadBytes {
                        // There was a declared Content-Length, and we have more bytes remaining
index b92e27e4e05e6e6295f89d9d5507e631ad423367..1d672cdf219252fdc72631ac3c56a4b4ee07da52 100644 (file)
@@ -673,7 +673,7 @@ func (h *mheap) alloc_m(npage uintptr, spanclass spanClass, large bool) *mspan {
                // TODO(austin): This tends to sweep a large number of
                // spans in order to find a few completely free spans
                // (for example, in the garbage benchmark, this sweeps
-               // ~30x the number of pages its trying to allocate).
+               // ~30x the number of pages it's trying to allocate).
                // If GC kept a bit for whether there were any marks
                // in a span, we could release these free spans
                // at the end of GC and eliminate this entirely.
index ed79b69257848d4a47c667051eaabde06a62f22f..5b5df50d41ba7790ea047debc0cb343c3ed036f9 100644 (file)
@@ -320,7 +320,7 @@ TEXT runtimeĀ·_sigtramp(SB),NOSPLIT,$64
 TEXT runtimeĀ·cgoSigtramp(SB),NOSPLIT|NOFRAME,$0
        // The stack unwinder, presumably written in C, may not be able to
        // handle Go frame correctly. So, this function is NOFRAME, and we
-       // we save/restore LR manually.
+       // save/restore LR manually.
        MOVD    LR, R10
 
        // We're coming from C code, initialize essential registers.
index 3af6d1466be8b2ec4cb05b9dc1b1abc755af1bed..0974e9fdb809bbcbcfb4d7807383df1d0226e32d 100644 (file)
@@ -1071,10 +1071,10 @@ func splitOutput(out string, wantAuto bool) []string {
 // this function will report an error.
 // Likewise if outStr does not have an error for a line which has a comment,
 // or if the error message does not match the <regexp>.
-// The <regexp> syntax is Perl but its best to stick to egrep.
+// The <regexp> syntax is Perl but it's best to stick to egrep.
 //
 // Sources files are supplied as fullshort slice.
-// It consists of pairs: full path to source file and it's base name.
+// It consists of pairs: full path to source file and its base name.
 func (t *test) errorCheck(outStr string, wantAuto bool, fullshort ...string) (err error) {
        defer func() {
                if *verbose && err != nil {