runtimefunc.go 310 B

123456789101112131415
  1. package memsize
  2. import "unsafe"
  3. var _ = unsafe.Pointer(nil)
  4. //go:linkname stopTheWorld runtime.stopTheWorld
  5. func stopTheWorld(reason string)
  6. //go:linkname startTheWorld runtime.startTheWorld
  7. func startTheWorld()
  8. //go:linkname chanbuf runtime.chanbuf
  9. func chanbuf(ch unsafe.Pointer, i uint) unsafe.Pointer