Source File
noescape.go
Belonging Package
github.com/hamba/avro/v2
package avroimport ()// 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!//// This function is taken from Go std lib:// https://github.com/golang/go/blob/master/src/runtime/stubs.go#L178////nolint:govet,staticcheck//go:nosplitfunc noescape( unsafe.Pointer) unsafe.Pointer {:= uintptr()return unsafe.Pointer( ^ 0)}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |