Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for mockable (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.Response
    import okhttp3.internal.assertLockNotHeld
    import okhttp3.internal.cache.CacheInterceptor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.computeIfAbsent
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.concurrent.assertLockNotHeld
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.http.BridgeInterceptor
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      }
    
      return null
    }
    
    @JvmField
    internal val assertionsEnabled: Boolean = OkHttpClient::class.java.desiredAssertionStatus()
    
    /** Dispatcher is not [Lockable] because we don't want that type in our public API. */
    internal fun Dispatcher.assertLockNotHeld() {
      if (assertionsEnabled && Thread.holdsLock(this)) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

    import java.io.Closeable
    import java.io.EOFException
    import java.io.Flushable
    import java.io.IOException
    import okhttp3.internal.cache.DiskLruCache.Editor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.deleteContents
    import okhttp3.internal.deleteIfExists
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

    import java.io.InterruptedIOException
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.internal.EMPTY_BYTE_ARRAY
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.assertLockNotHeld
    import okhttp3.internal.concurrent.notifyAll
    import okhttp3.internal.concurrent.wait
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
Back to Top