Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 431 for text2 (0.01 sec)

  1. 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)
  2. 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)
  3. 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)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

        }
    
        public void test_getContentType_content() throws IOException {
            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");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. 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)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            String content = "<a href=\"test2.html\">test</a>";
            final byte[] data = new String(content).getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/test.html");
            responseData.setResponseBody(data);
            responseData.setCharSet("ISO-8859-1");
            responseData.setMimeType("text/html");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/base/Ascii.java

       * }
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
       * with arbitrary Unicode text. It is mostly intended for use with text that is known to be safe
       * for use with it (such as all-ASCII text) and for simple debugging text. When using this method,
       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/_aws/fess/doc.json

                "analyzer": "sorani_analyzer"
              }
            }
          },
          {
            "lang_cs": {
              "match": "*_cs",
              "mapping": {
                "type": "text",
                "analyzer": "czech_analyzer"
              }
            }
          },
          {
            "lang_da": {
              "match": "*_da",
              "mapping": {
                "type": "text",
                "analyzer": "danish_analyzer"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            // Test analyze with empty text
            String text = "";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithNullText() {
            // Test analyze with null text
            String text = null;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top