Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 3,002 for content (0.08 seconds)

  1. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            String field = "content";
    
            List<String> results = converter.convert(text, field, "en", "ja");
    
            assertNotNull(results);
            // With multiple languages, should use ReadingConverterChain
        }
    
        @Test
        public void testConvertWithEmptyText() throws IOException {
            // Test convert with empty text
            String text = "";
            String field = "content";
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing related content entities.
     * This service provides CRUD operations for related content, including
     * retrieval, storage, deletion, and search functionality.
     */
    public class RelatedContentService extends FessAppService {
    
        /**
         * Default constructor.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

         * @param parser the function to parse the content.
         * @return the parsed content.
         */
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        /**
         * Gets the content of the response as a string.
         *
         * @return the content as a string.
         * @throws CurlException if an error occurs while accessing the content.
         */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. tests/test_default_response_class_router.py

    
    def test_router_a_a_override():
        with client:
            response = client.get("/a/a/override")
        assert response.content == b"Hello A A"
        assert response.headers["content-type"] == text_type
    
    
    def test_router_a_b():
        with client:
            response = client.get("/a/b")
        assert response.content == b"Hello A B"
        assert response.headers["content-type"] == text_type
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

      }
    
      private inline fun <T> assertOnFileDescriptor(
        content: String? = null,
        fn: (FileDescriptor) -> T,
      ): T =
        assertOnPath(content) {
          FileInputStream(filePath.toFile()).use { fis ->
            fn(fis.fd)
          }
        }
    
      private inline fun <T> assertOnPath(
        content: String? = null,
        fn: (okio.Path) -> T,
      ): T {
        FileSystem.SYSTEM.write(filePath) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 3.8K bytes
    - Click Count (1)
  6. src/main/webapp/css/chat.css

    .message-content p {
        margin: 0.5rem 0;
    }
    
    .message-content p:first-child {
        margin-top: 0;
    }
    
    .message-content p:last-child {
        margin-bottom: 0;
    }
    
    /* Headings in messages */
    .message-content h1, .message-content h2, .message-content h3,
    .message-content h4, .message-content h5, .message-content h6 {
        margin: 0.75rem 0 0.375rem; font-weight: 600; line-height: 1.3; color: #172b4d;
    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

            document.put("content", "");
    
            List<SuggestItem> items = parser.parseDocument(document, supportedFields, tagFieldNames, roleFieldName, "lang",
                    defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer);
    
            // Empty string should produce empty or no items
            assertTrue("Empty content should not produce items", items.size() == 0);
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  8. cmd/object-api-deleteobject_test.go

    		err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    			oi, err := obj.PutObject(context.Background(), testCase.bucketName, object.name, mustGetPutObjReader(t, strings.NewReader(object.content),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                // Read with UTF-8 encoding
                final String content = new String(is.readAllBytes(), StandardCharsets.UTF_8);
    
                // Verify encoding doesn't corrupt content
                assertTrue("Content should be valid", content.length() > 0);
                assertTrue("Should not contain encoding errors", !content.contains("\uFFFD"));
    
                // Verify JSON structure is intact
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

                    languageHelper.createScript(doc, "aaa").getIdOrCode());
        }
    
        @Test
        public void test_getReindexScriptSource() {
            assertEquals(
                    "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}",
                    languageHelper.getReindexScriptSource());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top