Documentation ¶ Index ¶ func NoEscape(p unsafe.Pointer) unsafe.Pointer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NoEscape ¶ func NoEscape(p unsafe.Pointer) unsafe.Pointer NoEscape hides a pointer from escape analysis. NoEscape is the identity function but escape analysis doesn't think the output depends on the input. NoEscape is inlined and currently compiles down to zero instructions. USE CAREFULLY! Types ¶ This section is empty. Source Files ¶ View all Source files unsafe.go Click to show internal directories. Click to hide internal directories.