Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 182 for 4094 (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putInt(16);
                buffer.putInt(4096);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
                String result = fileFsSizeInfo.toString();
    
                // Then
                String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]";
                assertEquals(expected, result);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
          for (Certificate c: response.handshake().peerCertificates()) {
            X509Certificate x = (X509Certificate) c;
            System.out.println(x.getSubjectDN());
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/additional-responses.md

    ๐Ÿ”  ๐Ÿ‘ˆ ๐Ÿ“จ `dict`โ“‚ ๐Ÿ’ช โœ”๏ธ ๐Ÿ”‘ `model`, โš— Pydantic ๐Ÿท, ๐Ÿ’– `response_model`.
    
    **FastAPI** ๐Ÿ”œ โœŠ ๐Ÿ‘ˆ ๐Ÿท, ๐Ÿ— ๐Ÿšฎ ๐ŸŽป ๐Ÿ”— & ๐Ÿ”Œ โšซ๏ธ โ˜‘ ๐Ÿฅ‰ ๐Ÿ—„.
    
    ๐Ÿ–ผ, ๐Ÿ“ฃ โž•1๏ธโƒฃ ๐Ÿ“จ โฎ๏ธ ๐Ÿ‘” ๐Ÿ“Ÿ `404` & Pydantic ๐Ÿท `Message`, ๐Ÿ‘† ๐Ÿ’ช โœ:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ ๐Ÿ‘† โœ”๏ธ ๐Ÿ“จ `JSONResponse` ๐Ÿ”—.
    
    ///
    
    /// info
    
    `model` ๐Ÿ”‘ ๐Ÿšซ ๐Ÿ• ๐Ÿ—„.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/additional-responses.md

    **FastAPI** nimmt dieses Modell, generiert dessen JSON-Schema und fรผgt es an der richtigen Stelle in OpenAPI ein.
    
    Um beispielsweise eine weitere Response mit dem Statuscode `404` und einem Pydantic-Modell `Message` zu deklarieren, kรถnnen Sie schreiben:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note | Hinweis
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:53:31 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/additional-responses.md

    **FastAPI** tomarรก ese modelo, generarรก su JSON Schema y lo incluirรก en el lugar correcto en OpenAPI.
    
    Por ejemplo, para declarar otro response con un cรณdigo de estado `404` y un modelo Pydantic `Message`, puedes escribir:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note | Nota
    
    Ten en cuenta que debes devolver el `JSONResponse` directamente.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java

    package org.codelibs.fess.app.web.error;
    
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 404 Not Found error pages.
     * This action displays error pages when the requested resource
     * cannot be found on the server.
     */
    public class ErrorNotfoundAction extends FessSearchAction {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
          String.format("%s\t%s%n", time.format(d), message)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        @Test
        public void testReturnFromReadParameterWordsWireFormatIs8() {
            // ensure the method returns 8 as claimed
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x10; // count = 4096 in little-endian (0x1000)
            int returned = resp.readParameterWordsWireFormat(buf, 0);
            assertEquals(8, returned, "Method should return 8 bytes processed");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

    **FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI.
    
    For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    Keep in mind that you have to return the `JSONResponse` directly.
    
    ///
    
    /// info
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Arrange common constructor collaborators to avoid touching network/state
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getSendBufferSize()).thenReturn(4096);
            // Act
            return new SmbPipeOutputStream(handle, tree);
        }
    
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("isOpen delegates to handle.isOpen")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top