Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 390 for Boolean (0.14 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val value: String = cookie.value
        val persistent: Boolean = cookie.persistent
        val expiresAt: Long = cookie.expiresAt
        val hostOnly: Boolean = cookie.hostOnly
        val domain: String = cookie.domain
        val path: String = cookie.path
        val httpOnly: Boolean = cookie.httpOnly
        val secure: Boolean = cookie.secure
        val matches: Boolean = cookie.matches("".toHttpUrl())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          .url("https://doh.crypto.sx/dns-query".toHttpUrl())
          .includeIPv6(false)
          .build()
      }
    
      @JvmStatic
      fun providers(
        client: OkHttpClient,
        http2Only: Boolean,
        workingOnly: Boolean,
        getOnly: Boolean,
      ): List<DnsOverHttps> {
        return buildList {
          add(buildGoogle(client))
          if (!getOnly) {
            add(buildGooglePost(client))
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 3.8K bytes
    - Viewed (3)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        return newStream(0, requestHeaders, out)
      }
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        val outFinished = !out
        val inFinished = false
        val flushHeaders: Boolean
        val stream: Http2Stream
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

     */
    class RouteSelector(
      private val address: Address,
      private val routeDatabase: RouteDatabase,
      private val connectionUser: ConnectionUser,
      private val fastFallback: Boolean,
    ) {
      // State for negotiating the next proxy to use.
      private var proxies = emptyList<Proxy>()
      private var nextProxyIndex: Int = 0
    
      // State for negotiating the next socket address to use.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionsCollector.kt

    import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedSimpleFunctionDescriptor
    
    internal class InlineFunctionsCollector(
        private val project: Project,
        private val reifiedInlineFunctionsOnly: Boolean,
        private val acceptDeclaration: (KtDeclarationWithBody) -> Unit
    ) {
        fun checkResolveCall(resolvedCall: ResolvedCall<*>?) {
            if (resolvedCall == null) return
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/renderAnnotations.kt

    internal fun PrettyPrinter.renderFe10Annotations(
        annotations: Annotations,
        isSingleLineAnnotations: Boolean,
        renderAnnotationWithShortNames: Boolean,
        analysisContext: Fe10AnalysisContext,
        predicate: (ClassId) -> Boolean = { true }
    ) {
        val separator = if (isSingleLineAnnotations) " " else "\n"
        for (annotation in annotations) {
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Fri Feb 03 19:49:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      /** Returns true if this cookie should be limited to only HTTPS requests. */
      @get:JvmName("secure") val secure: Boolean,
      /**
       * Returns true if this cookie should be limited to only HTTP APIs. In web browsers this prevents
       * the cookie from being accessible to scripts.
       */
      @get:JvmName("httpOnly") val httpOnly: Boolean,
      /**
       * Returns true if this cookie does not expire at the end of the current session.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

     * directly.
     */
    class ConscryptSocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = Conscrypt.isConscrypt(sslSocket)
    
      override fun isSupported(): Boolean = ConscryptPlatform.isSupported
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      override fun send(text: String): Boolean {
        return send(text.encodeUtf8(), OPCODE_TEXT)
      }
    
      override fun send(bytes: ByteString): Boolean {
        return send(bytes, OPCODE_BINARY)
      }
    
      @Synchronized private fun send(
        data: ByteString,
        formatOpcode: Int,
      ): Boolean {
        // Don't send new frames after we've failed or enqueued a close frame.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top