12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- package reflect2
- import "unsafe"
- func unsafe_New(rtype unsafe.Pointer) unsafe.Pointer
- func typedmemmove(rtype unsafe.Pointer, dst, src unsafe.Pointer)
- func unsafe_NewArray(rtype unsafe.Pointer, length int) unsafe.Pointer
- func typedslicecopy(elemType unsafe.Pointer, dst, src sliceHeader) int
- func mapassign(rtype unsafe.Pointer, m unsafe.Pointer, key unsafe.Pointer, val unsafe.Pointer)
- func mapaccess(rtype unsafe.Pointer, m unsafe.Pointer, key unsafe.Pointer) (val unsafe.Pointer)
- func mapiternext(it *hiter)
- func ifaceE2I(rtype unsafe.Pointer, src interface{}, dst unsafe.Pointer)
- type hiter struct {
- key unsafe.Pointer
- value unsafe.Pointer
- t unsafe.Pointer
- h unsafe.Pointer
- buckets unsafe.Pointer
- bptr unsafe.Pointer
- overflow *[]unsafe.Pointer
- oldoverflow *[]unsafe.Pointer
- startBucket uintptr
- offset uint8
- wrapped bool
- B uint8
- i uint8
- bucket uintptr
- checkBucket uintptr
- }
- func add(p unsafe.Pointer, x uintptr, whySafe string) unsafe.Pointer {
- return unsafe.Pointer(uintptr(p) + x)
- }
- func arrayAt(p unsafe.Pointer, i int, eltSize uintptr, whySafe string) unsafe.Pointer {
- return add(p, uintptr(i)*eltSize, "i < len")
- }
|