- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setPinned (0.15 sec)
-
src/runtime/pinner.go
return pinState.isPinned() } // setPinned marks or unmarks a Go pointer as pinned, when the ptr is a Go pointer. // It will be ignored while try to pin a non-Go pointer, // and it will be panic while try to unpin a non-Go pointer, // which should not happen in normal usage. func setPinned(ptr unsafe.Pointer, pin bool) bool { span := spanOfHeap(uintptr(ptr)) if span == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0)