- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for callsInPlace (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this") } } @OptIn(ExperimentalContracts::class) inline fun <T> Lockable.withLock(action: () -> T): T { contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } return synchronized(this, action)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 2.1K bytes - Viewed (0)