github.com/kaiya/goutils@v1.0.1-0.20230226104005-4ae4a4dc3688/slices/slices.go (about)

     1  package slices
     2  
     3  import (
     4  	"unsafe"
     5  )
     6  
     7  //go:noescape
     8  //go:linkname memmove runtime.memmove
     9  func memmove(to, from unsafe.Pointer, n uintptr)