Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,682 for Match (0.09 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * <li>{@code *,!repo1} = everything except {@code repo1}.</li>
         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

        }
    
    
        /**
         * Removes the key/value of a match assertion all project REST tests for the matching subkey.
         * For example "match":{"_type": "foo"} to "match":{}
         * An empty match is retained if there is only a single key under match.
         *
         * @param subKey the key name directly under match to replace. For example "_type"
         */
        public void removeMatch(String subKey) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  warnings:
                    - "warning to remove"
              - match: { _source.values: ["foo"] }
              - match: { _type: "_foo" }
              - match: { _source.blah: 1234 }
              - match: { _source.junk: true }
              - match: { match_.some.key_to_replace: true }
              - is_true: "value_to_replace"
              - is_false: "value_to_replace"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  7. cmd/object-handlers-common.go

    // operation should not proceed. Preconditions supported are:
    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	return checkCopyObjectPreconditions(ctx, w, r, objInfo)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  8. internal/hash/errors.go

    )
    
    // SHA256Mismatch - when content sha256 does not match with what was sent from client.
    type SHA256Mismatch struct {
    	ExpectedSHA256   string
    	CalculatedSHA256 string
    }
    
    func (e SHA256Mismatch) Error() string {
    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Click Count (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

        /** The ID of the key match. */
        public String id;
    
        /** The term of the key match. */
        public String term;
    
        /** The query of the key match. */
        public String query;
    
        /** The max size of the key match. */
        public String maxSize;
    
        /** The boost of the key match. */
        public String boost;
    
        /** The creator of the key match. */
        public String createdBy;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top