- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewPointer (0.32 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
return nil } // We're looking for cases in which a pointer to this type // is a sync.Locker, but a value is not. This differentiates // embedded interfaces from embedded values. if types.Implements(types.NewPointer(typ), lockerType) && !types.Implements(typ, lockerType) { return []string{typ.String()} } // In go1.10, sync.noCopy did not implement Locker. // (The Unlock method was added only in CL 121876.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0)