Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for parameter (0.25 sec)

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

     * modern 4.0.x kotlin source-compatibility.
     */
    @Suppress(
      "ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE",
      "UNUSED_ANONYMOUS_PARAMETER",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
      "RedundantLambdaArrow",
      "RedundantExplicitType",
      "IMPLICIT_NOTHING_AS_TYPE_PARAMETER",
    )
    @Disabled
    class KotlinSourceModernTest {
      private val factory = TestValueFactory()
    
      @BeforeEach
    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. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * given time.
       *
       * @param timeout how long to wait before giving up, in units of [unit]
       * @param unit a [TimeUnit] determining how to interpret the [timeout] parameter
       * @return the head of the request queue
       */
      @Throws(InterruptedException::class)
      fun takeRequest(
        timeout: Long,
        unit: TimeUnit,
      ): RecordedRequest? = requestQueue.poll(timeout, unit)
    
    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)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

            is RSAPrivateKey ->
              AlgorithmIdentifier(
                algorithm = SHA256_WITH_RSA_ENCRYPTION,
                parameters = null,
              )
            else ->
              AlgorithmIdentifier(
                algorithm = SHA256_WITH_ECDSA,
                parameters = ByteString.EMPTY,
              )
          }
        }
    
        private fun generateKeyPair(): KeyPair {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
     *
     * [iana_tls_parameters]: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
     * [sslengine]: https://developer.android.com/reference/javax/net/ssl/SSLEngine.html
     * [oracle_providers]: https://docs.oracle.com/javase/10/security/oracle-providers.htm
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          algorithmParameters,
          decompose = {
            listOf(
              it.algorithm,
              it.parameters,
            )
          },
          construct = {
            AlgorithmIdentifier(
              algorithm = it[0] as String,
              parameters = it[1],
            )
          },
        )
    
      /**
       * ```
       * BasicConstraints ::= SEQUENCE {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                clientEventsList.add(record.message)
    
                if (record.loggerName == "javax.net.ssl") {
                  val parameters = record.parameters
    
                  if (parameters != null) {
                    clientEventsList.add(parameters.first().toString())
                  }
                }
              }
            }
          }
    
          override fun flush() {
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

        /**
         * Appends a quoted-string to a StringBuilder.
         *
         * RFC 2388 is rather vague about how one should escape special characters in form-data
         * parameters, and as it turns out Firefox and Chrome actually do rather different things, and
         * both say in their comments that they're not really sure what the right approach is. We go
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              e: IOException,
            ) {
              failWebSocket(e)
            }
          },
        )
      }
    
      private fun WebSocketExtensions.isValid(): Boolean {
        // If the server returned parameters we don't understand, fail the web socket.
        if (unknownValues) return false
    
        // If the server returned a value for client_max_window_bits, fail the web socket.
        if (clientMaxWindowBits != null) return false
    
    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)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * your application's HTTP calls.
     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      }
    
      @Test
      fun kotlinReifiedTag() {
        val uuidTag = "1234"
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag<String>(uuidTag) // Use the type parameter.
            .build()
        assertThat(request.tag<String>()).isSameAs("1234")
        assertThat(request.tag<Any>()).isNull()
    
        // Alternate access APIs also work.
    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 (0)
Back to top