Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 174 for boolean (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

      private val renameFaults: MutableSet<Path> = LinkedHashSet()
    
      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          writeFaults.add(file)
        } else {
          writeFaults.remove(file)
        }
      }
    
      fun setFaultyDelete(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          deleteFaults.add(file)
        } else {
          deleteFaults.remove(file)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
      /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
      private val typeHint: Boolean = false,
    ) : DerAdapter<T> {
      init {
        require(tagClass >= 0)
        require(tag >= 0)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

      fun size(): Int = Integer.bitCount(set)
    
      // TODO: honor this setting.
      fun getEnablePush(defaultValue: Boolean): Boolean {
        val bit = 1 shl ENABLE_PUSH
        return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue
      }
    
      fun getMaxConcurrentStreams(): Int {
        val bit = 1 shl MAX_CONCURRENT_STREAMS
        return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache()
        val noStore: Boolean = cacheControl.noStore()
        val maxAgeSeconds: Int = cacheControl.maxAgeSeconds()
        val sMaxAgeSeconds: Int = cacheControl.sMaxAgeSeconds()
        val mustRevalidate: Boolean = cacheControl.mustRevalidate()
        val maxStaleSeconds: Int = cacheControl.maxStaleSeconds()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. gradle/wrapper/gradle-wrapper.jar

    verifyDownloadChecks(String, java.io.File, String); public static boolean deleteDir(java.io.File); public static void unzip(java.io.File, java.io.File); public final void unzipLocal(java.io.File, java.io.File); public final void forceFetch(java.io.File, java.net.URI); } org/gradle/wrapper/Logger.class package org.gradle.wrapper; public final synchronized class Logger implements Appendable { public final boolean quiet; public void Logger(boolean); public final void log(String); public final Appendable a...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

      }
    
      data class HowsMySslResults(
        val unknown_cipher_suite_supported: Boolean,
        val beast_vuln: Boolean,
        val session_ticket_supported: Boolean,
        val tls_compression_supported: Boolean,
        val ephemeral_keys_supported: Boolean,
        val rating: String,
        val tls_version: String,
        val able_to_detect_n_minus_one_splitting: Boolean,
        val insecure_cipher_suites: Map<String, List<String>>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

     */
    internal object Adapters {
      val BOOLEAN =
        BasicDerAdapter(
          name = "BOOLEAN",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 1L,
          codec =
            object : BasicDerAdapter.Codec<Boolean> {
              override fun decode(reader: DerReader): Boolean = reader.readBoolean()
    
              override fun encode(
                writer: DerWriter,
                value: Boolean,
              ) = writer.writeBoolean(value)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

        throw UnsupportedOperationException()
      }
    
      override fun isShutdown(): Boolean {
        return shutdown
      }
    
      override fun isTerminated(): Boolean {
        throw UnsupportedOperationException()
      }
    
      override fun awaitTermination(
        timeout: Long,
        unit: TimeUnit,
      ): Boolean {
        throw UnsupportedOperationException()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        fun matchesCertificate(certificate: X509Certificate): Boolean {
          return when (hashAlgorithm) {
            "sha256" -> hash == certificate.sha256Hash()
            "sha1" -> hash == certificate.sha1Hash()
            else -> false
          }
        }
    
        override fun toString(): String = "$hashAlgorithm/${hash.base64()}"
    
        override fun equals(other: Any?): Boolean {
          if (this === other) return true
    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)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

      private val setHostname = sslSocketClass.getMethod("setHostname", String::class.java)
      private val getAlpnSelectedProtocol = sslSocketClass.getMethod("getAlpnSelectedProtocol")
      private val setAlpnProtocols =
        sslSocketClass.getMethod("setAlpnProtocols", ByteArray::class.java)
    
      override fun isSupported(): Boolean = AndroidPlatform.isSupported
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top