Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,447 for daga (0.05 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    
      @Test
      fun processResponse() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request = Request.Builder().url(server.url("/")).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/using-request-directly.md

    # Using the Request Directly { #using-the-request-directly }
    
    Up to now, you have been declaring the parts of the request that you need with their types.
    
    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

        fun asConfigurationId(model: CIBuildModel): String
    
        fun asName(): String
    
        fun channel(): String
    }
    
    data class PerformanceTestPartialTrigger(
        val triggerName: String,
        val triggerId: String,
        val dependencies: List<PerformanceTestCoverage>,
    )
    
    data class PerformanceTestCoverage(
        private val uuid: Int,
        override val type: PerformanceTestType,
        override val os: Os,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

        /**
         * Create a test byte array with specified size and pattern
         */
        private byte[] createTestData(int size) {
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
            return data;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      override fun help(context: Context): String = "A curl for the next-generation web."
    
      val method: String? by option("-X", "--request").help("Specify request command to use")
    
      val data: String? by option("-d", "--data").help("HTTP POST data")
    
      val headers: List<String>? by option("-H", "--header").help("Custom header to pass to server").multiple()
    
      val userAgent: String by option(
        "-A",
        "--user-agent",
      ).help(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            buf.enc_ndr_long(0x00000010); // data representation
            buf.enc_ndr_short(20); // length
            buf.enc_ndr_short(0); // auth length
            buf.enc_ndr_long(0); // call_id
    
            // Response body
            buf.enc_ndr_long(4); // alloc_hint
            buf.enc_ndr_short(0); // context_id
            buf.enc_ndr_short(0); // cancel_count
            buf.enc_ndr_small(0xAB); // test data for decode_out
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/config/openapi/openapi-user.yaml

                        example: ["aaa"]
                      related_contents:
                        type: array
                        items:
                          type: string
                        example: []
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            filetype:
                              type: string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/request-files.md

    `UploadFile` имеет следующие методы `async`. Все они вызывают соответствующие файловые методы (используя внутренний SpooledTemporaryFile).
    
    * `write(data)`: Записать данные `data` (`str` или `bytes`) в файл.
    * `read(size)`: Прочитать количество `size` (`int`) байт/символов из файла.
    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top