Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for elements (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun <T> List<T>.toImmutableList(): List<T> {
      return Collections.unmodifiableList(toMutableList())
    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
      return Collections.unmodifiableList(listOf(*elements.clone()))
    }
    
    /** Closes this, ignoring any checked exceptions. */
    internal fun Socket.closeQuietly() {
      try {
        close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

          sink: BufferedSink,
          certificates: List<Certificate>,
        ) {
          try {
            sink.writeDecimalLong(certificates.size.toLong()).writeByte('\n'.code)
            for (element in certificates) {
              val bytes = element.encoded
              val line = bytes.toByteString().base64()
              sink.writeUtf8(line).writeByte('\n'.code)
            }
          } catch (e: CertificateEncodingException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *
       * If there are I/O problems during iteration, this iterator fails silently. For example, if the
       * hosting filesystem becomes unreachable, the iterator will omit elements rather than throwing
       * exceptions.
       *
       * **The caller must [close][Snapshot.close]** each snapshot returned by [Iterator.next]. Failing
       * to do so leaks open files!
       */
      @Synchronized
    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)
  6. 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)
  7. 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)
  8. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    eero-stage.online eero.online eg egersund.no egoism.jp egyptian.museum ehime.jp eid.no eidfjord.no eidsberg.no eidskog.no eidsvoll.no eigersund.no eiheiji.fukui.jp eisenbahn.museum ekloges.cy elasticbeanstalk.com elblag.pl elburg.museum elementor.cloud elementor.cool elk.pl elvendrell.museum elverum.no email emb.kw embaixada.st embetsu.hokkaido.jp embroidery.museum emerck emergency.aero emilia-romagna.it emiliaromagna.it emp.br empresa.bo emr.it en-root.fr en.it ena.gifu.jp encoreapi.com encr.app...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top