Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for element (0.15 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
     * The second element on each line is a mapping type, like `valid` or `mapped`.
     *
     * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *     declared to have non-constructed values, like OCTET STRING values.
       */
      @Suppress("UNCHECKED_CAST") // read() produces a single element of the expected type.
      fun withExplicitBox(
        tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC,
        tag: Long,
        forceConstructed: Boolean? = null,
      ): BasicDerAdapter<T> {
        val codec =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

          if (exception == null) {
            exception = ioe
          }
        }
      }
      if (exception != null) {
        throw exception
      }
    }
    
    internal fun <E> MutableList<E>.addIfAbsent(element: E) {
      if (!contains(element)) add(element)
    }
    
    internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable =
      apply {
        for (e in suppressed) addSuppressed(e)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

            var i = 0
            val parts = line.split(Regex(" ")).toTypedArray()
    
            val element = WebPlatformUrlTestData()
            element.input = unescape(parts[i++])
    
            val base = if (i < parts.size) parts[i++] else null
            element.base =
              when {
                base == null || base.isEmpty() -> list[list.size - 1].base
                else -> unescape(base)
              }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          }
        }
    
        override fun put(element: T) {
          taskRunner.lock.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
        override fun peek(): T = error("unsupported")
    
        override fun offer(
          element: T,
          timeout: Long,
          unit: TimeUnit,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        val message =
          buildString {
            append("Certificate pinning failure!")
            append("\n  Peer certificate chain:")
            for (element in peerCertificates) {
              append("\n    ")
              append(pin(element))
              append(": ")
              append(element.subjectDN.name)
            }
            append("\n  Pinned certificates for ")
            append(hostname)
            append(":")
            for (pin in pins) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

            }
            foundTrustedCertificate = true
            continue
          }
    
          // Search for the certificate in the chain that signed this certificate. This is typically
          // the next element in the chain, but it could be any element.
          val i = queue.iterator()
          while (i.hasNext()) {
            val signingCert = i.next() as X509Certificate
            if (verifySignature(toVerify, signingCert, result.size - 1)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->fold(Lkotlin/coroutines/CoroutineContext$Element;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
    HSPLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->get(Lkotlin/coroutines/CoroutineContext$Element;Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext$Element;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

    import okhttp3.internal.platform.Platform
    
    /**
     * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
     * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each
     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
     * certificate.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
              return super.indexOf(element)
            }
          } as List<Protocol>
        val client =
    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)
Back to top