Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 396 for Case (0.12 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 May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.B.2.txt

       0042; 0062; Case map
       0043; 0063; Case map
       0044; 0064; Case map
       0045; 0065; Case map
       0046; 0066; Case map
       0047; 0067; Case map
       0048; 0068; Case map
       0049; 0069; Case map
       004A; 006A; Case map
       004B; 006B; Case map
       004C; 006C; Case map
       004D; 006D; Case map
       004E; 006E; Case map
       004F; 006F; Case map
       0050; 0070; Case map
       0051; 0071; Case map
       0052; 0072; Case map
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 38.8K bytes
    - Viewed (0)
  3. maven-core/src/site/apt/offline-mode.apt

        a debug message.
    
      * If the wagon is bound to "file://" then:
    
        Retrieve the file or base-url file to be "downloaded".
    
        * If the file (or more usefully, the base-url file) exists, proceed.
    
        * If the file (or base-url file) doesn't exist, assume that this location
          is part of a file-share. Ignore the request and print a debug message
          as above.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        fileSystem.read(file) {
          return readStory(this)
        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
            ?: return arrayOf()
    
        val testCaseDirectory = File(resource.toURI()).toOkioPath()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

          """
          |    180C; ; Map to nothing
          |    0041; 0061; Case map
          |    0390; 03B9 0308 0301; Case map
          |
          """.trimMargin(),
        )
    
        val mappings = buffer.readCodePointMappings()
        assertEquals(
          mapOf(
            // Map to nothing.
            0x180c to "",
            // Case map.
            'A'.code to "a",
            // Case map.
            'ΐ'.code to "\u03B9\u0308\u0301",
          ),
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/index.md

    In the next sections you will see other options, configurations, and additional features.
    
    !!! tip
        The next sections are **not necessarily "advanced"**.
    
        And it's possible that for your use case, the solution is in one of them.
    
    ## Read the Tutorial first
    
    You could still use most of the features in **FastAPI** with the knowledge from the main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank}.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    The contents that you return from your *path operation function* will be put inside of that `Response`.
    
    And if that `Response` has a JSON media type (`application/json`), like is the case with the `JSONResponse` and `UJSONResponse`, the data you return will be automatically converted (and filtered) with any Pydantic `response_model` that you declared in the *path operation decorator*.
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

        assumeFalse(
          story === Story.MISSING,
          "Test stories missing, checkout git submodule",
        )
    
        val newCases = mutableListOf<Case>()
        for (case in story.cases) {
          hpackWriter.writeHeaders(case.headersList)
          newCases += case.copy(wire = bytesOut.readByteString())
        }
    
        testDecoder(story.copy(cases = newCases))
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

                  addAll(readCodePointSet(base / "rfc3454.C.1.2.txt").ranges)
                  addAll(readCodePointSet(base / "rfc3454.C.2.2.txt").ranges)
                  addAll(readCodePointSet(base / "rfc3454.C.3.txt").ranges)
                  addAll(readCodePointSet(base / "rfc3454.C.4.txt").ranges)
                  addAll(readCodePointSet(base / "rfc3454.C.5.txt").ranges)
                  addAll(readCodePointSet(base / "rfc3454.C.6.txt").ranges)
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params.md

        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    !!! check
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top