Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 344 for Case (0.14 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    package okhttp3.internal.http2.hpackjson
    
    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. internal/grid/README.md

            fmt.Println("Subroute:", GetSubroute(ctx))
            for {
                select {
                case <-ctx.Done():
                    return nil
                case req, ok := <-in:
                    if !ok {
                        break
                    }           
                    // Do something with payload
                    out <- []byte("response")
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/AutobahnTester.kt

      ) {
        val latch = CountDownLatch(1)
        val startNanos = AtomicLong()
        newWebSocket(
          "/runCase?case=$number&agent=okhttp",
          object : WebSocketListener() {
            override fun onOpen(
              webSocket: WebSocket,
              response: Response,
            ) {
              println("Executing test case $number/$count")
              startNanos.set(System.nanoTime())
            }
    
            override fun onMessage(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/https.md

    In this case, it would use the certificate for `someapp.example.com`.
    
    <img src="/img/deployment/https/https03.svg">
    
    The client already **trusts** the entity that generated that TLS certificate (in this case Let's Encrypt, but we'll see about that later), so it can **verify** that the certificate is valid.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    !!! info
        A "bearer" token is not the only option.
    
        But it's the best one for our use case.
    
        And it might be the best for most use cases, unless you are an OAuth2 expert and know exactly why there's another option that suits better your needs.
    
        In that case, **FastAPI** also provides you with the tools to build it.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/concepts.md

    Of course, there are some cases where there's no problem in running the previous steps multiple times, in that case, it's a lot easier to handle.
    
    !!! tip
        Also, keep in mind that depending on your setup, in some cases you **might not even need any previous steps** before starting your application.
    
        In that case, you wouldn't have to worry about any of this. 🤷
    
    ### Examples of Previous Steps Strategies
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

        if (flags == 0) return ""
        when (type) {
          // Special case types that have 0 or 1 flag.
          TYPE_SETTINGS, TYPE_PING -> return if (flags == FLAG_ACK) "ACK" else BINARY[flags]
          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
        // Special case types that have overlap flag values.
        return when {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
        // If there was an interruption or timeout (SocketTimeoutException), don't recover.
        // For the socket connect timeout case we do not try the same host with a different
        // ConnectionSpec: we assume it is unreachable.
        e is InterruptedIOException -> false
    
        // If the problem was a CertificateException from the X509TrustManager, do not retry.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

        launcherJar.from(tasks.jar)
        agentJars.from(agentsClasspath)
        // The trick below is to use the templates from the current code instead of the wrapper. It does not cover the case where the generation logic is updated though.
        unixScriptTemplate.from(layout.projectDirectory.file("../../../platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt"))
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Feb 28 23:38:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                //
                // TODO: This seems a little indirect. Is there a better way to do this? For FE1.0 there is
                // a special `TypeAliasConstructorDescriptor` for this case. For FIR there is
                // FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it
                // is null for the constructors we get.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
Back to top