Imports #
"unsafe"
"unsafe"
var arm64HasATOMICS bool
var armHasVFPv4 bool
var loong64HasLAMCAS bool
var loong64HasLAM_BH bool
var loong64HasLSX bool
var writeBarrier struct{...}
var x86HasFMA bool
architecture variants
var x86HasPOPCNT bool
var x86HasSSE41 bool
func addCovMeta(p unsafe.Pointer, len uint32, hash [16]byte, pkpath string, pkgId int, cmode uint8, cgran uint8) uint32
address sanitizer
func asanread(addr uintptr, size uintptr)
func asanregisterglobals(unsafe.Pointer, uintptr)
func asanwrite(addr uintptr, size uintptr)
interface type assertions x.(T)
func assertE2I(inter *byte, typ *byte) *byte
func assertE2I2(inter *byte, typ *byte) *byte
func block()
func c128equal(p unsafe.Pointer, q unsafe.Pointer) bool
func c128hash(p *any, h uintptr) uintptr
func c64equal(p unsafe.Pointer, q unsafe.Pointer) bool
func c64hash(p *any, h uintptr) uintptr
func chancap(hchan any) int
func chanlen(hchan any) int
func chanrecv1(hchan <-chan any, elem *any)
func chanrecv2(hchan <-chan any, elem *any) bool
func chansend1(hchan chan<- any, elem *any)
func checkptrAlignment(unsafe.Pointer, *byte, uintptr)
func checkptrArithmetic(unsafe.Pointer, []unsafe.Pointer)
func closechan(hchan chan<- any)
func cmpstring(string, string) int
func complex128div(num complex128, den complex128) (quo complex128)
func concatbyte2(string, string) []byte
func concatbyte3(string, string, string) []byte
func concatbyte4(string, string, string, string) []byte
func concatbyte5(string, string, string, string, string) []byte
func concatbytes([]string) []byte
func concatstring2(*[32]byte, string, string) string
func concatstring3(*[32]byte, string, string, string) string
func concatstring4(*[32]byte, string, string, string, string) string
func concatstring5(*[32]byte, string, string, string, string, string) string
func concatstrings(*[32]byte, []string) string
Convert non-interface type to the data word of a (empty or nonempty) interface.
func convT(typ *byte, elem *any) unsafe.Pointer
Specialized versions of convT for specific types. These functions take concrete types in the runtime. But they may be used for a wider range of types, which have the same memory layout as the parameter type. The compiler converts the to-be-converted type to the parameter type before calling the runtime function. This way, the call is ABI-insensitive.
func convT16(val uint16) unsafe.Pointer
func convT32(val uint32) unsafe.Pointer
func convT64(val uint64) unsafe.Pointer
Same as convT, for types with no pointers in them.
func convTnoptr(typ *byte, elem *any) unsafe.Pointer
func convTslice(val []uint8) unsafe.Pointer
func convTstring(val string) unsafe.Pointer
func countrunes(string) int
func decoderune(string, int) (retv rune, retk int)
defer in range over func
func deferrangefunc() interface{}
func efaceeq(typ *uintptr, x unsafe.Pointer, y unsafe.Pointer) (ret bool)
func f32equal(p unsafe.Pointer, q unsafe.Pointer) bool
func f32hash(p *any, h uintptr) uintptr
func f64equal(p unsafe.Pointer, q unsafe.Pointer) bool
func f64hash(p *any, h uintptr) uintptr
func float64toint64(float64) int64
func float64touint32(float64) uint32
func float64touint64(float64) uint64
Note: these declarations are just for wasm port. Other ports call assembly stubs instead.
func goPanicIndex(x int, y int)
func goPanicIndexU(x uint, y int)
func goPanicSlice3Acap(x int, y int)
func goPanicSlice3AcapU(x uint, y int)
func goPanicSlice3Alen(x int, y int)
func goPanicSlice3AlenU(x uint, y int)
func goPanicSlice3B(x int, y int)
func goPanicSlice3BU(x uint, y int)
func goPanicSlice3C(x int, y int)
func goPanicSlice3CU(x uint, y int)
func goPanicSliceAcap(x int, y int)
func goPanicSliceAcapU(x uint, y int)
func goPanicSliceAlen(x int, y int)
func goPanicSliceAlenU(x uint, y int)
func goPanicSliceB(x int, y int)
func goPanicSliceBU(x uint, y int)
func goPanicSliceConvert(x int, y int)
func gopanic(interface{})
func gorecover(*int32) interface{}
func goschedguarded()
func growslice(oldPtr *any, newLen int, oldCap int, num int, et *byte) (ary []any)
interface equality. Type/itab pointers are already known to be equal, so we only need to pass one.
func ifaceeq(tab *uintptr, x unsafe.Pointer, y unsafe.Pointer) (ret bool)
only used on 32-bit
func int64div(int64, int64) int64
func int64mod(int64, int64) int64
func int64tofloat32(int64) float32
func int64tofloat64(int64) float64
func interequal(p unsafe.Pointer, q unsafe.Pointer) bool
interface switches
func interfaceSwitch(s *byte, t *byte) (int, *byte)
func interhash(p *any, h uintptr) uintptr
func intstring(*[4]byte, int64) string
func libfuzzerHookEqualFold(string, string, uint)
func libfuzzerHookStrCmp(string, string, uint)
func libfuzzerTraceCmp1(uint8, uint8, uint)
func libfuzzerTraceCmp2(uint16, uint16, uint)
func libfuzzerTraceCmp4(uint32, uint32, uint)
func libfuzzerTraceCmp8(uint64, uint64, uint)
func libfuzzerTraceConstCmp1(uint8, uint8, uint)
func libfuzzerTraceConstCmp2(uint16, uint16, uint)
func libfuzzerTraceConstCmp4(uint32, uint32, uint)
func libfuzzerTraceConstCmp8(uint64, uint64, uint)
func makechan(chanType *byte, size int) (hchan chan any)
*byte is really *runtime.Type
func makechan64(chanType *byte, size int64) (hchan chan any)
func makemap(mapType *byte, hint int, mapbuf *any) (hmap map[any]any)
*byte is really *runtime.Type
func makemap64(mapType *byte, hint int64, mapbuf *any) (hmap map[any]any)
func makemap_small() (hmap map[any]any)
func makeslice(typ *byte, len int, cap int) unsafe.Pointer
func makeslice64(typ *byte, len int64, cap int64) unsafe.Pointer
func makeslicecopy(typ *byte, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer
func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer
func mapIterNext(hiter *any)
func mapIterStart(mapType *byte, hmap map[any]any, hiter *any)
func mapaccess1(mapType *byte, hmap map[any]any, key *any) (val *any)
func mapaccess1_fast32(mapType *byte, hmap map[any]any, key uint32) (val *any)
func mapaccess1_fast64(mapType *byte, hmap map[any]any, key uint64) (val *any)
func mapaccess1_faststr(mapType *byte, hmap map[any]any, key string) (val *any)
func mapaccess1_fat(mapType *byte, hmap map[any]any, key *any, zero *byte) (val *any)
func mapaccess2(mapType *byte, hmap map[any]any, key *any) (val *any, pres bool)
func mapaccess2_fast32(mapType *byte, hmap map[any]any, key uint32) (val *any, pres bool)
func mapaccess2_fast64(mapType *byte, hmap map[any]any, key uint64) (val *any, pres bool)
func mapaccess2_faststr(mapType *byte, hmap map[any]any, key string) (val *any, pres bool)
func mapaccess2_fat(mapType *byte, hmap map[any]any, key *any, zero *byte) (val *any, pres bool)
func mapassign(mapType *byte, hmap map[any]any, key *any) (val *any)
func mapassign_fast32(mapType *byte, hmap map[any]any, key uint32) (val *any)
func mapassign_fast32ptr(mapType *byte, hmap map[any]any, key unsafe.Pointer) (val *any)
func mapassign_fast64(mapType *byte, hmap map[any]any, key uint64) (val *any)
func mapassign_fast64ptr(mapType *byte, hmap map[any]any, key unsafe.Pointer) (val *any)
func mapassign_faststr(mapType *byte, hmap map[any]any, key string) (val *any)
func mapclear(mapType *byte, hmap map[any]any)
func mapdelete(mapType *byte, hmap map[any]any, key *any)
func mapdelete_fast32(mapType *byte, hmap map[any]any, key uint32)
func mapdelete_fast64(mapType *byte, hmap map[any]any, key uint64)
func mapdelete_faststr(mapType *byte, hmap map[any]any, key string)
func mapiterinit(mapType *byte, hmap map[any]any, hiter *any)
func mapiternext(hiter *any)
func memclrHasPointers(ptr unsafe.Pointer, n uintptr)
func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
func memequal(x *any, y *any, size uintptr) bool
func memequal0(x *any, y *any) bool
func memequal128(x *any, y *any) bool
func memequal16(x *any, y *any) bool
func memequal32(x *any, y *any) bool
func memequal64(x *any, y *any) bool
func memequal8(x *any, y *any) bool
func memhash(x *any, h uintptr, size uintptr) uintptr
func memhash0(p unsafe.Pointer, h uintptr) uintptr
func memhash128(p unsafe.Pointer, h uintptr) uintptr
func memhash16(p unsafe.Pointer, h uintptr) uintptr
func memhash32(p unsafe.Pointer, h uintptr) uintptr
func memhash64(p unsafe.Pointer, h uintptr) uintptr
func memhash8(p unsafe.Pointer, h uintptr) uintptr
func memmove(to *any, frm *any, length uintptr)
func msanmove(dst uintptr, src uintptr, size uintptr)
memory sanitizer
func msanread(addr uintptr, size uintptr)
func msanwrite(addr uintptr, size uintptr)
func newobject(typ *byte) *any
func nilinterequal(p unsafe.Pointer, q unsafe.Pointer) bool
func nilinterhash(p *any, h uintptr) uintptr
func panicdivide()
func panicdottypeE(have *byte, want *byte, iface *byte)
func panicdottypeI(have *byte, want *byte, iface *byte)
func panicmakeslicecap()
func panicmakeslicelen()
func panicnildottype(want *byte)
panic for various rangefunc iterator errors
func panicrangestate(state int)
func panicshift()
func panicunsafeslicelen()
func panicunsafeslicenilptr()
func panicunsafestringlen()
func panicunsafestringnilptr()
func panicwrap()
func printbool(bool)
func printcomplex(complex128)
func printeface(any)
func printfloat(float64)
func printhex(uint64)
func printiface(any)
func printint(int64)
func printlock()
func printnl()
func printpointer(any)
func printslice(any)
func printsp()
func printstring(string)
func printuint(uint64)
func printuintptr(uintptr)
func printunlock()
race detection
func racefuncenter(uintptr)
func racefuncexit()
func raceread(uintptr)
func racereadrange(addr uintptr, size uintptr)
func racewrite(uintptr)
func racewriterange(addr uintptr, size uintptr)
func rand() uint64
func rand32() uint32
func selectgo(cas0 *byte, order0 *byte, pc0 *uintptr, nsends int, nrecvs int, block bool) (int, bool)
func selectnbrecv(elem *any, hchan <-chan any) (bool, bool)
func selectnbsend(hchan chan<- any, elem *any) bool
func selectsetpc(pc *uintptr)
func slicebytetostring(buf *[32]byte, ptr *byte, n int) string
func slicebytetostringtmp(ptr *byte, n int) string
func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int
func slicerunetostring(*[32]byte, []rune) string
func strequal(p unsafe.Pointer, q unsafe.Pointer) bool
func strhash(a *any, h uintptr) uintptr
func stringtoslicebyte(*[32]byte, string) []byte
func stringtoslicerune(*[32]rune, string) []rune
func throwinit()
func typeAssert(s *byte, typ *byte) *byte
func typedmemclr(typ *byte, dst *any)
*byte is really *runtime.Type
func typedmemmove(typ *byte, dst *any, src *any)
func typedslicecopy(typ *byte, dstPtr *any, dstLen int, srcPtr *any, srcLen int) int
func uint32tofloat64(uint32) float64
func uint64div(uint64, uint64) uint64
func uint64mod(uint64, uint64) uint64
func uint64tofloat32(uint64) float32
func uint64tofloat64(uint64) float64
func unsafeslicecheckptr(typ *byte, ptr unsafe.Pointer, len int64)
func unsafestringcheckptr(ptr unsafe.Pointer, len int64)
Generated with Arrow