- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for addUniqueMap (0.11 sec)
-
src/unique/handle.go
if !ok { // This is a good time to initialize cleanup, since we must go through // this path on the first use of Make, and it's not on the hot path. setupMake.Do(registerCleanup) ma = addUniqueMap[T](typ) } m := ma.(*uniqueMap[T]) // Keep around any values we allocate for insertion. There // are a few different ways we can race with other threads // and create values that we might discard. By keeping
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 5.3K bytes - Viewed (0)