We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6812a4d commit 9a8328fCopy full SHA for 9a8328f
src/runtime/hashmap.go
@@ -41,11 +41,11 @@ type hashmapBucket struct {
41
}
42
43
type hashmapIterator struct {
44
- buckets unsafe.Pointer
45
- numBuckets uintptr
46
- bucketNumber uintptr
47
- bucket *hashmapBucket
48
- bucketIndex uint8
+ buckets unsafe.Pointer // pointer to array of hashapBuckets
+ numBuckets uintptr // length of buckets array
+ bucketNumber uintptr // current index into buckets array
+ bucket *hashmapBucket // current bucket in chain
+ bucketIndex uint8 // current index into bucket
49
50
51
// Get the topmost 8 bits of the hash, without using a special value (like 0).
0 commit comments