mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
all: fix typos
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>
This commit is contained in:
parent
af6999e60d
commit
34e67623a8
4 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue