Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 129 for nulla (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

      ) {
        /** The server's time when the cached response was served, if known. */
        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            val unwrapped = expression.unwrapParenthesesLabelsAndAnnotations() as? KtExpression ?: return null
            if (unwrapped.getParentOfTypes(false, *NON_EXPRESSION_CONTAINERS) != null) {
                return null
            }
    
            val bindingContext = analysisContext.analyze(unwrapped, AnalysisMode.PARTIAL)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      internal var errorException: IOException? = null
    
      init {
        if (headers != null) {
          check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" }
          headersQueue += headers
        } else {
          check(isLocallyInitiated) { "remotely-initiated streams should have headers" }
        }
      }
    
      /**
       * Returns true if this stream is open. A stream is open until either:
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (expectedSequenceNumber != ANY_SEQUENCE_NUMBER &&
          (entry == null || entry.sequenceNumber != expectedSequenceNumber)
        ) {
          return null // Snapshot is stale.
        }
    
        if (entry?.currentEditor != null) {
          return null // Another edit is in progress.
        }
    
        if (entry != null && entry.lockingSourceCount != 0) {
          return null // We can't write this file because a reader is still reading it.
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

      private val logFile: File,
      private val tlsVersions: List<TlsVersion>,
      private val launch: Launch? = null,
    ) : EventListener.Factory {
      override fun create(call: Call): EventListener {
        return WireSharkKeyLoggerListener(logFile, launch == null)
      }
    
      fun launchWireShark(): Process? {
        when (launch) {
          null -> {
            if (tlsVersions.contains(TLS_1_2)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val body = response.body
          val streamHandler = response.streamHandler
          val outFinished = (
            body == null &&
              response.pushPromises.isEmpty() &&
              streamHandler == null
          )
          val flushHeaders = body == null || bodyDelayNanos != 0L
          require(!outFinished || trailers.size == 0) {
            "unsupported: no body and non-empty trailers $trailers"
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        var exception: String? = null
        if (wildcardMatch != null) {
          for (labelIndex in 0 until domainLabelsUtf8Bytes.size - 1) {
            val rule =
              publicSuffixExceptionListBytes.binarySearch(
                domainLabelsUtf8Bytes,
                labelIndex,
              )
            if (rule != null) {
              exception = rule
              break
            }
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          }
        }
    
        fun setupPlatform() {
          if (requiredPlatformName != null) {
            assumeTrue(getPlatformSystemProperty() == requiredPlatformName)
          }
    
          if (platform != null) {
            Platform.resetForTests(platform)
          } else {
            Platform.resetForTests()
          }
    
          if (requiredPlatformName != null) {
            System.err.println("Running with ${Platform.get().javaClass.simpleName}")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            val call = ktTypeReference.getParentOfType<KtCallElement>(strict = true) ?: return null
            val bindingContext = analysisContext.analyze(ktTypeReference, AnalysisMode.PARTIAL)
            val resolvedCall = call.getResolvedCall(bindingContext) ?: return null
            val typeProjection = call.typeArguments.find { it.typeReference == ktTypeReference } ?: return null
            val index = call.typeArguments.indexOf(typeProjection)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
Back to top