Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for newtgts (0.3 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

        if (existing != null) return existing
    
        if (computed == null) {
          computed = compute()
        }
    
        // If we successfully add the computed element, we're done.
        val newTags = tags.plus(type, computed)
        if (compareAndSet(tags, newTags)) return computed
    
        // We lost the race. Possibly to other code that was putting a *different* key. Try again!
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top