Skip to content

Commit 34e6762

Browse files
aiskgopherbot
authored andcommitted
all: fix typos
Change-Id: I290812905b6b5c52f289f7f8524f93aef19e6efe Reviewed-on: https://go-review.googlesource.com/c/go/+/706775 Auto-Submit: Sean Liao <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Reviewed-by: Sean Liao <[email protected]>
1 parent af6999e commit 34e6762

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/crypto/tls/handshake_server_tls13.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type echServerContext struct {
3535
configID uint8
3636
ciphersuite echCipher
3737
transcript hash.Hash
38-
// inner indicates that the initial client_hello we recieved contained an
38+
// inner indicates that the initial client_hello we received contained an
3939
// encrypted_client_hello extension that indicated it was an "inner" hello.
4040
// We don't do any additional processing of the hello in this case, so all
4141
// fields above are unset.

src/internal/runtime/gc/scan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "internal/goarch"
88

99
// ObjMask is a bitmap where each bit corresponds to an object in a span.
1010
//
11-
// It is sized to accomodate all size classes.
11+
// It is sized to accommodate all size classes.
1212
type ObjMask [MaxObjsPerSpan / (goarch.PtrSize * 8)]uintptr
1313

1414
// PtrMask is a bitmap where each bit represents a pointer-word in a single runtime page.

src/internal/runtime/gc/scan/expand_reference.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func ExpandReference(sizeClass int, packed *gc.ObjMask, unpacked *gc.PtrMask) {
1616
// Look up the size and derive the number of objects in a span.
1717
// We're only concerned with small objects in single-page spans,
1818
// and gc.PtrMask enforces this by being statically sized to
19-
// accomodate only such spans.
19+
// accommodate only such spans.
2020
size := uintptr(gc.SizeClassToSize[sizeClass])
2121
nObj := uintptr(gc.SizeClassToNPages[sizeClass]) * gc.PageSize / size
2222

src/runtime/runtime-gdb_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func checkGdbVersion(t *testing.T) {
7777
t.Skipf("skipping: gdb version %d.%d too old", major, minor)
7878
}
7979
if major < 12 || (major == 12 && minor < 1) {
80-
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.")
80+
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.")
8181
}
8282
t.Logf("gdb version %d.%d", major, minor)
8383
}

0 commit comments

Comments
 (0)