Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addUniqueMap (0.21 sec)

  1. 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)
Back to top