]> Cypherpunks repositories - gostls13.git/commit
runtime: code cleanup about map
authormengxiaodong <920432478@qq.com>
Mon, 28 Sep 2020 09:38:13 +0000 (17:38 +0800)
committerKeith Randall <khr@golang.org>
Wed, 30 Sep 2020 19:59:48 +0000 (19:59 +0000)
commit846dce9d05f19a1f53465e62a304dea21b99f910
tree61599cb3175c216d357ca7eeaf28092b5cd5e85d
parent2f6e7f0ed16004e1ac40e7108878fd4ec99bb15d
runtime: code cleanup about map

1.Revise ambiguous comments: "all current buckets" means buckets in hmap.buckets, actually current bucket and all the overflow buckets connected to it are full
2.All the pointer address add use src/runtime/stubs.go:add, keep the code style uniform

Change-Id: Idc7224dbe6c391e1b03bf5d009c3734bc75187ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/257979
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/map.go
src/runtime/map_fast32.go
src/runtime/map_fast64.go
src/runtime/map_faststr.go