type weak.Pointer
13 uses
weak (current package)
pointer.go#L60: type Pointer[T any] struct {
pointer.go#L68: func Make[T any](ptr *T) Pointer[T] {
pointer.go#L77: return Pointer[T]{u: u}
pointer.go#L85: func (p Pointer[T]) Value() *T {
crypto/internal/fips140cache
cache.go#L50: func (c *Cache[K, V]) evict(p weak.Pointer[K]) {
crypto/tls
cache.go#L21: if v := entry.(weak.Pointer[x509.Certificate]).Value(); v != nil {
cache.go#L34: } else if v := entry.(weak.Pointer[x509.Certificate]).Value(); v != nil {
unique
canonmap.go#L180: func (m *canonMap[T]) cleanup(hash uintptr, wp weak.Pointer[T]) {
canonmap.go#L311: key weak.Pointer[T]
canonmap.go#L315: func newEntryNode[T comparable](key T, hash uintptr) (*entry[T], *T, weak.Pointer[T]) {
canonmap.go#L329: func (e *entry[T]) lookup(key T) (*T, weak.Pointer[T]) {
canonmap.go#L337: return nil, weak.Pointer[T]{}
canonmap.go#L341: func (e *entry[T]) hasWeakPointer(wp weak.Pointer[T]) bool {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)