]> Cypherpunks repositories - gostls13.git/commitdiff
all: fix typos
authorAN Long <aisk1988@gmail.com>
Thu, 25 Sep 2025 14:38:19 +0000 (23:38 +0900)
committerGopher Robot <gobot@golang.org>
Sat, 27 Sep 2025 16:46:36 +0000 (09:46 -0700)
Change-Id: I290812905b6b5c52f289f7f8524f93aef19e6efe
Reviewed-on: https://go-review.googlesource.com/c/go/+/706775
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Sean Liao <sean@liao.dev>
src/crypto/tls/handshake_server_tls13.go
src/internal/runtime/gc/scan.go
src/internal/runtime/gc/scan/expand_reference.go
src/runtime/runtime-gdb_test.go

index dbbdb5d6a2b2689343abae6f9b11e475be7b6c09..c5b0552cae6134d6ec12e69b26f74d5bd2ad0183 100644 (file)
@@ -35,7 +35,7 @@ type echServerContext struct {
        configID    uint8
        ciphersuite echCipher
        transcript  hash.Hash
-       // inner indicates that the initial client_hello we recieved contained an
+       // inner indicates that the initial client_hello we received contained an
        // encrypted_client_hello extension that indicated it was an "inner" hello.
        // We don't do any additional processing of the hello in this case, so all
        // fields above are unset.
index 066a32151a0201a15b96b1ecaa9ac19df502cad3..863a4bf0f30c3bdfdb7e5bddcc42200f3b62aff0 100644 (file)
@@ -8,7 +8,7 @@ import "internal/goarch"
 
 // ObjMask is a bitmap where each bit corresponds to an object in a span.
 //
-// It is sized to accomodate all size classes.
+// It is sized to accommodate all size classes.
 type ObjMask [MaxObjsPerSpan / (goarch.PtrSize * 8)]uintptr
 
 // PtrMask is a bitmap where each bit represents a pointer-word in a single runtime page.
index 45446528d7846c2bc8c589e73978635013feceda..dd23f4fc10304854d2542795b1ac9dc2148bdd09 100644 (file)
@@ -16,7 +16,7 @@ func ExpandReference(sizeClass int, packed *gc.ObjMask, unpacked *gc.PtrMask) {
        // Look up the size and derive the number of objects in a span.
        // We're only concerned with small objects in single-page spans,
        // and gc.PtrMask enforces this by being statically sized to
-       // accomodate only such spans.
+       // accommodate only such spans.
        size := uintptr(gc.SizeClassToSize[sizeClass])
        nObj := uintptr(gc.SizeClassToNPages[sizeClass]) * gc.PageSize / size
 
index e81efadeb311b0334f6d483517424703d428bf35..47d125bd67ae5bbcf4e82e87ab8c465fc7dc5cab 100644 (file)
@@ -77,7 +77,7 @@ func checkGdbVersion(t *testing.T) {
                t.Skipf("skipping: gdb version %d.%d too old", major, minor)
        }
        if major < 12 || (major == 12 && minor < 1) {
-               t.Logf("gdb version <12.1 is known to crash due to a SIGWINCH recieved in non-interactive mode; if you see a crash, some test may be sending SIGWINCH to the whole process group. See go.dev/issue/58932.")
+               t.Logf("gdb version <12.1 is known to crash due to a SIGWINCH received in non-interactive mode; if you see a crash, some test may be sending SIGWINCH to the whole process group. See go.dev/issue/58932.")
        }
        t.Logf("gdb version %d.%d", major, minor)
 }