Lines Matching defs:hmap

109 type hmap struct {  struct
112 count int // # live cells == size of map. Must be first (used by len() builtin)
113 flags uint8
114 B uint8 // log_2 of # of buckets (can hold up to loadFactor * 2^B items)
115 noverflow uint16 // approximate number of overflow buckets; see incrnoverflow for details
116 hash0 uint32 // hash seed
118 buckets unsafe.Pointer // array of 2^B Buckets. may be nil if count==0.
119 oldbuckets unsafe.Pointer // previous bucket array of half the size, non-nil only when growing
120 …ate uintptr // progress counter for evacuation (buckets less than this have been evacuated)
122 extra *mapextra // optional fields
220 func (h *hmap) incrnoverflow() {
239 func (h *hmap) newoverflow(t *maptype, b *bmap) *bmap {
267 func (h *hmap) createOverflow() {
276 func makemap64(t *maptype, hint int64, h *hmap) *hmap {
318 func makemap(t *maptype, hint int, h *hmap) *hmap {
409 func mapaccess1(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
479 func mapaccess2(t *maptype, h *hmap, key unsafe.Pointer) (unsafe.Pointer, bool) {
541 func mapaccessK(t *maptype, h *hmap, key unsafe.Pointer) (unsafe.Pointer, unsafe.Pointer) {
584 func mapaccess1_fat(t *maptype, h *hmap, key, zero unsafe.Pointer) unsafe.Pointer {
592 func mapaccess2_fat(t *maptype, h *hmap, key, zero unsafe.Pointer) (unsafe.Pointer, bool) {
615 func mapassign(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
741 func mapdelete(t *maptype, h *hmap, key unsafe.Pointer) {
877 func mapiterinit(t *maptype, h *hmap, it *hiter) {
1075 func mapclear(t *maptype, h *hmap) {
1139 func hashGrow(t *maptype, h *hmap) {
1203 func (h *hmap) growing() bool {
1208 func (h *hmap) sameSizeGrow() bool {
1213 func sameSizeGrowForIssue69110Test(h *hmap) bool {
1218 func (h *hmap) noldbuckets() uintptr {
1227 func (h *hmap) oldbucketmask() uintptr {
1231 func growWork(t *maptype, h *hmap, bucket uintptr) {
1242 func bucketEvacuated(t *maptype, h *hmap, bucket uintptr) bool {
1255 func evacuate(t *maptype, h *hmap, oldbucket uintptr) {
1369 func advanceEvacuationMark(h *hmap, t *maptype, newbit uintptr) {
1458 func reflect_mapaccess(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
1468 func reflect_mapaccess_faststr(t *maptype, h *hmap, key string) unsafe.Pointer {
1486 func reflect_mapassign(t *maptype, h *hmap, key unsafe.Pointer, elem unsafe.Pointer) {
1492 func reflect_mapassign_faststr(t *maptype, h *hmap, key string, elem unsafe.Pointer) {
1498 func reflect_mapdelete(t *maptype, h *hmap, key unsafe.Pointer) {
1503 func reflect_mapdelete_faststr(t *maptype, h *hmap, key string) {
1519 func reflect_mapiterinit(t *maptype, h *hmap, it *hiter) {
1578 func reflect_maplen(h *hmap) int {
1590 func reflect_mapclear(t *maptype, h *hmap) {
1595 func reflectlite_maplen(h *hmap) int {
1624 func moveToBmap(t *maptype, h *hmap, dst *bmap, pos int, src *bmap) (*bmap, int) {
1675 func mapclone2(t *maptype, src *hmap) *hmap {
1824 func copyKeys(t *maptype, h *hmap, b *bmap, s *slice, offset uint8) {
1887 func copyValues(t *maptype, h *hmap, b *bmap, s *slice, offset uint8) {