func sync.OnceValue
3 uses
sync (current package)
oncefunc.go#L43: func OnceValue[T any](f func() T) func() T {
internal/poll
copy_file_range_linux.go#L13: var isKernelVersionGE53 = sync.OnceValue(func() bool {
os
pidfd_linux.go#L145: var checkPidfdOnce = sync.OnceValue(checkPidfd)
![]() |
The pages are generated with Golds v0.7.6. (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. |