- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsPinned (0.1 sec)
-
src/runtime/cgocall.go
if !cgoIsGoPointer(p) { return } if !top && !isPinned(p) { panic(errorString(msg)) } cgoCheckArg(it, p, it.Kind_&abi.KindDirectIface == 0, false, msg) case abi.Slice: st := (*slicetype)(unsafe.Pointer(t)) s := (*slice)(p) p = s.array if p == nil || !cgoIsGoPointer(p) { return } if !top && !isPinned(p) { panic(errorString(msg)) } if !st.Elem.Pointers() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/runtime/export_test.go
func FPCallers(pcBuf []uintptr) int { return fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf) } const FramePointerEnabled = framepointer_enabled var ( IsPinned = isPinned GetPinCounter = pinnerGetPinCounter ) func SetPinnerLeakPanic(f func()) { pinnerLeakPanic = f } func GetPinnerLeakPanic() func() { return pinnerLeakPanic }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0)