mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix a few function names on comments
Change-Id: I4be0b1e612dcc21ca6bb7d4395f1c0aa52480759
GitHub-Last-Rev: 032480c4c9
GitHub-Pull-Request: golang/go#55993
Reviewed-on: https://go-review.googlesource.com/c/go/+/437518
Reviewed-by: hopehook <hopehook@golangcn.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: hopehook <hopehook@golangcn.org>
This commit is contained in:
parent
5d59fa143a
commit
069d1fc9e2
13 changed files with 21 additions and 21 deletions
|
|
@ -106,7 +106,7 @@ func chunkIndex(p uintptr) chunkIdx {
|
|||
return chunkIdx((p - arenaBaseOffset) / pallocChunkBytes)
|
||||
}
|
||||
|
||||
// chunkIndex returns the base address of the palloc chunk at index ci.
|
||||
// chunkBase returns the base address of the palloc chunk at index ci.
|
||||
func chunkBase(ci chunkIdx) uintptr {
|
||||
return uintptr(ci)*pallocChunkBytes + arenaBaseOffset
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue