Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildCache (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

    import javax.net.ssl.SSLSession
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.buildCache
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.okio.LoggingFilesystem
    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    import okhttp3.Response
    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache = Cache(fileSystem, file, maxSize)
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top