internal/abi.MapType.ElemOff (field)
11 uses
internal/abi (current package)
map.go#L41: ElemOff uintptr // offset of elem in key/elem slot
internal/runtime/maps
group.go#L297: offset := groupSlotsOffset + i*typ.SlotSize + typ.ElemOff
runtime.go#L112: slotElem := unsafe.Pointer(uintptr(slotKeyOrig) + typ.ElemOff)
runtime.go#L187: slotElem := unsafe.Pointer(uintptr(slotKeyOrig) + typ.ElemOff)
runtime.go#L286: slotElem = unsafe.Pointer(uintptr(slotKeyOrig) + typ.ElemOff)
runtime.go#L328: slotElem = unsafe.Pointer(uintptr(slotKeyOrig) + typ.ElemOff)
runtime_fast32.go#L40: slotElem := unsafe.Pointer(uintptr(slotKey) + typ.ElemOff)
runtime_fast32.go#L69: slotElem := unsafe.Pointer(uintptr(slotKey) + typ.ElemOff)
runtime_fast32.go#L110: slotElem := unsafe.Pointer(uintptr(slotKey) + typ.ElemOff)
runtime_fast32.go#L139: slotElem := unsafe.Pointer(uintptr(slotKey) + typ.ElemOff)
reflect
map.go#L71: mt.ElemOff = slot.Field(1).Offset
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)