Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 691 for text1 (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            mimeTypeHelper.useFilename = true;
            assertContentType("text/plain", "test/text1.txt", "hoge.txt");
            assertContentType("text/plain", null, "hoge.txt");
            assertContentType("text/html", "html/test1.html", "hoge.html");
            assertContentType("text/html", "html/test1.html", "hoge.htm");
            assertContentType("text/html", "html/test1.shtml", "hoge.shtml");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                                || url.contains("test/text2.txt") || url.contains("test/text%203.txt"));
                    }
                }
            }
    
        }
    
        public void test_doGet_file() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text1.txt");
            String path = file.getAbsolutePath();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext.addHighlightedQuery("text");
            // Should not throw exception
        }
    
        // Test addHighlightedQuery with valid set
        public void test_addHighlightedQuery_validSet() {
            queryContext = new QueryContext("test", true);
            queryContext.addHighlightedQuery("text1");
            queryContext.addHighlightedQuery("text2");
            queryContext.addHighlightedQuery("text1"); // Duplicate
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test all getter and setter methods
            String[] text = { "initial" };
            String[][] readings = { { "read" } };
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.USER);
    
            // Test text
            item.setText("sample text");
            assertEquals("sample text", item.getText());
    
            // Test timestamp
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals("ftp://localhost:10021/dir2", urlList.get(1));
                assertEquals("ftp://localhost:10021/text 3.txt", urlList.get(2));
                assertEquals("ftp://localhost:10021/text1.txt", urlList.get(3));
                assertEquals("ftp://localhost:10021/text2.txt", urlList.get(4));
            } finally {
                if (server != null) {
                    server.stop();
                }
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

         * @param field the field name
         * @param texts the query texts
         * @return the query builder
         */
        protected QueryBuilder convertPhraseQuery(final FessConfig fessConfig, final QueryContext context, final PhraseQuery phraseQuery,
                final float boost, final String field, final String[] texts) {
            final String text = String.join(" ", texts);
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            assertEquals("test.sh", list.get(0));
    
            cmd = "test.sh \"test1 ' test2\"";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(2, list.size());
            assertEquals("test.sh", list.get(0));
            assertEquals("test1 ' test2", list.get(1));
    
            cmd = "test.sh 'test1 \" test2'";
            params.clear();
            list = extractor.parseCommand(cmd, params);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/custom-response.md

    * `media_type` - Un `str` que da el media type. Por ejemplo, `"text/html"`.
    
    FastAPI (de hecho Starlette) incluirá automáticamente un header Content-Length. También incluirá un header Content-Type, basado en el `media_type` y añadiendo un conjunto de caracteres para tipos de texto.
    
    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse`
    
    Toma algún texto o bytes y devuelve un response HTML, como leíste arriba.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                return buf.toString();
            }
    
            /**
             * URL-encodes text for use in text fragment parameters.
             *
             * @param text the text to encode
             * @return the URL-encoded text
             */
            private String encodeToString(final String text) {
                return URLEncoder.encode(text, Constants.CHARSET_UTF_8);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/custom-response.md

    ### `PlainTextResponse`
    
    Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse`
    
    Pega alguns dados e retorna uma resposta com codificação `application/json`.
    
    É a resposta padrão utilizada no **FastAPI**, como você leu acima.
    
    ### `ORJSONResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top