Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2151 - 2160 of 2,407 for pong (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ja/docs/advanced/stream-data.md

    上記の例ではバイト列をストリームしましたが、レスポンスに `Content-Type` ヘッダがないため、クライアントは受け取るデータの種類を認識できませんでした。
    
    `StreamingResponse` を継承したカスタムクラスを作成し、ストリームするデータに応じて `Content-Type` ヘッダを設定できます。
    
    例えば、`media_type` 属性で `Content-Type` を `image/png` に設定する `PNGStreamingResponse` を作成できます:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    その後、path operation 関数で `response_class=PNGStreamingResponse` としてこの新しいクラスを使用できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/custom-response.md

    Mais comme vous avez aussi passé `HTMLResponse` dans `response_class`, **FastAPI** saura comment la documenter dans OpenAPI et les documents interactifs comme HTML avec `text/html` :
    
    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Réponses disponibles { #available-responses }
    
    Voici certaines des réponses disponibles.
    
    Gardez à l'esprit que vous pouvez utiliser `Response` pour renvoyer autre chose, ou même créer une sous-classe personnalisée.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @param id The ID of the kuromoji item.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse details(final String dictId, final int crudMode, final long id) {
            verifyCrudMode(crudMode, CrudMode.DETAILS, dictId);
            saveToken();
            return asDetailsHtml().useForm(EditForm.class, op -> {
                op.setup(form -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                return null;
            }
        }
    
        // Test configuration class extending FessConfig.SimpleImpl
        private static class TestFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getSoTimeout()).thenReturn(35000);
            when(mockDelegate.getConnTimeout()).thenReturn(35000);
            when(mockDelegate.getMaxMpxCount()).thenReturn(10);
    
            // When
            long dfsTtl = delegatingConfig.getDfsTtl();
            int responseTimeout = delegatingConfig.getResponseTimeout();
            int socketTimeout = delegatingConfig.getSoTimeout();
            int connTimeout = delegatingConfig.getConnTimeout();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/StringsTest.java

            @NullAndEmptySource
            @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский",
                    "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })
            void testGetBytesWithVariousInputs(String input) {
                // When
                byte[] result = Strings.getBytes(input, StandardCharsets.UTF_8);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. fastapi/_compat/v2.py

    class GenerateJsonSchema(_GenerateJsonSchema):
        # TODO: remove when this is merged (or equivalent): https://github.com/pydantic/pydantic/pull/12841
        # and dropping support for any version of Pydantic before that one (so, in a very long time)
        def bytes_schema(self, schema: CoreSchema) -> JsonSchemaValue:
            json_schema = {"type": "string", "contentMediaType": "application/octet-stream"}
            bytes_mode = (
                self._config.ser_json_bytes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                        "CrawlerClient is null for URL: " + url + ". Unable to access the document without a crawler client.");
            }
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
            try (final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build())) {
                if (responseData.getRedirectLocation() != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
            when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
    
            // Use spy to avoid actual SMB operations
            NetworkExplorer spyExplorer = spy(networkExplorer);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/LmhostsTest.java

            // than expected, so we're not asserting null for HOST1
        }
    
        @Test
        void testPopulateWithLongHostname() throws Exception {
            // Create a temporary lmhosts file with long hostname
            String longHostname = "VERYLONGHOSTNAMETHATSHOULDSTILLWORK";
            File lmhostsFile = tempDir.resolve("lmhosts_long").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
Back to Top