func sync.OnceValue
8 uses
sync (current package)
oncefunc.go#L46: func OnceValue[T any](f func() T) func() T {
crypto/internal/fips140/ecdsa
ecdsa.go#L85: var _P224 = sync.OnceValue(func() *Curve[*nistec.P224Point] {
ecdsa.go#L103: var _P256 = sync.OnceValue(func() *Curve[*nistec.P256Point] {
ecdsa.go#L121: var _P384 = sync.OnceValue(func() *Curve[*nistec.P384Point] {
ecdsa.go#L140: var _P521 = sync.OnceValue(func() *Curve[*nistec.P521Point] {
encoding/json
encode.go#L399: indirect := sync.OnceValue(func() encoderFunc {
internal/poll
copy_file_range_linux.go#L13: var supportCopyFileRange = sync.OnceValue(func() bool {
os
pidfd_linux.go#L145: var checkPidfdOnce = sync.OnceValue(checkPidfd)
![]() |
The pages are generated with Golds v0.8.4. (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. |