Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,045 for Match (0.03 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

        //                                                                           =========
        /** Helper for key match operations. */
        @Resource
        private KeyMatchHelper keyMatchHelper;
    
        /** Service for key match operations. */
        @Resource
        private KeyMatchService keyMatchService;
    
        /** Pager for key match list pagination. */
        @Resource
        private KeyMatchPager keyMatchPager;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            assertEquals("String should match", "test", deserialized.get("string"));
            assertEquals("Integer should match", 42, deserialized.get("integer"));
            assertEquals("Long should match", 123456789L, deserialized.get("long"));
            assertEquals("Double should match", 3.14, deserialized.get("double"));
            assertEquals("Boolean should match", true, deserialized.get("boolean"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertFalse(pattern.match("/exclude/path"));
    
            // Should not match non-included path
            assertFalse(pattern.match("/other/path"));
        }
    
        @Test
        public void test_labelTypePattern_match_onlyIncluded() {
            LabelTypePattern pattern = new LabelTypePattern("test", "/test.*", null);
    
            // Should match included path
            assertTrue(pattern.match("/test/path"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            String svgPatternCorrect = "image/svg\\+xml"; // Correct: \\+ matches literal +
    
            // Verify wrong pattern does NOT match (demonstrates the bug)
            assertFalse(svgMimetype.matches(svgPatternWrong));
    
            // Verify correct pattern DOES match (demonstrates the fix)
            assertTrue(svgMimetype.matches(svgPatternCorrect));
    
            // Verify other common MIME types still work (no special chars)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        }
    
        // Optimization: check whether hostname is too short to match the pattern. hostName must be at
        // least as long as the pattern because asterisk must match the whole left-most label and
        // hostname starts with a non-empty label. Thus, asterisk has to match one or more characters.
        if (hostname.length < pattern.length) {
          return false // Hostname too short to match the pattern.
        }
    
        if ("*." == pattern) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("exact", "Exact Match", ""));
            testData.add(createRelatedContent("regex:test.*", "Regex Match: __QUERY__", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.load();
    
            // Test exact match
            String[] results = relatedContentHelper.getRelatedContents("exact");
            assertEquals(1, results.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            final CustomSize annotation = field.getAnnotation(CustomSize.class);
    
            assertNotNull(annotation, "Annotation should be present on field");
            assertEquals("minKey should match", "test.min", annotation.minKey());
            assertEquals("maxKey should match", "test.max", annotation.maxKey());
            assertEquals("message should be default", "{jakarta.validation.constraints.Size.message}", annotation.message());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  8. tests/test_invalid_sequence_param.py

            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: dict[str, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_dict():
        with pytest.raises(
            AssertionError,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  9. scripts/doc_parsing_utils.py

        match = HASH_COMMENT_RE.match(line)
        if match:
            code = match.group("code").rstrip()
            comment = match.group("comment")
            return code, comment
        return line.rstrip(), None
    
    
    def _split_slashes_comment(line: str) -> tuple[str, str | None]:
        match = SLASHES_COMMENT_RE.match(line)
        if match:
            code = match.group("code").rstrip()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/PrunedTag.java

        /**
         * Sets the ID attribute value that this pruned tag should match.
         *
         * @param id the ID attribute value to match
         */
        public void setId(final String id) {
            this.id = id;
        }
    
        /**
         * Sets the CSS class name that this pruned tag should match.
         *
         * @param css the CSS class name to match
         */
        public void setCss(final String css) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top