Skip to content

Commit

Permalink
runtime/maps: fix typo in group.go comment (H1 -> H2)
Browse files Browse the repository at this point in the history
Fixes a typo to correctly describe the hash bits of the control word.

Change-Id: Id3c2ae0bd529e579a95258845f9d8028e23d10d2
GitHub-Last-Rev: 1baa81b
GitHub-Pull-Request: golang#71730
Reviewed-on: https://go-review.googlesource.com/c/go/+/649416
Reviewed-by: Keith Randall <[email protected]>
Auto-Submit: Keith Randall <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
acdefgg authored and gopherbot committed Feb 16, 2025
1 parent b38415d commit d5b75e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/runtime/maps/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func bitsetShiftOutLowest(b bitset) bitset {
//
// empty: 1 0 0 0 0 0 0 0
// deleted: 1 1 1 1 1 1 1 0
// full: 0 h h h h h h h // h represents the H1 hash bits
// full: 0 h h h h h h h // h represents the H2 hash bits
//
// TODO(prattmic): Consider inverting the top bit so that the zero value is empty.
type ctrl uint8
Expand Down

0 comments on commit d5b75e4

Please sign in to comment.