Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsInitialized (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

        } else {
          try {
            readCompleteLatch.await()
          } catch (_: InterruptedException) {
            Thread.currentThread().interrupt() // Retain interrupted status.
          }
        }
    
        if (!::bytes.isInitialized) {
          // May have failed with an IOException
          throw IllegalStateException("Unable to load $path resource.").apply {
            initCause(readFailure)
          }
        }
      }
    
      abstract val path: Any
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        if (this::cache.isInitialized) {
          cache.delete()
        }
      }
    
      @Test
      fun corruptedCipher() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // mess with cipher suite
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top