Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 241 for matcher (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

            private String provides;
    
            private ExactMatcher(String provides) {
                this.provides = provides;
            }
    
            @Override
            public boolean matches(String requirement) {
                return provides.equalsIgnoreCase(requirement);
            }
    
            @Override
            public String toString() {
                return provides;
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            ArtifactVersion matched = null;
            for (ArtifactVersion version : versions) {
                if (containsVersion(version)) {
                    // valid - check if it is greater than the currently matched version
                    if (matched == null || version.compareTo(matched) > 0) {
                        matched = version;
                    }
                }
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeImplTest.java

            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
            assertFalse(tree.matches("othershare", "A:"));
        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

            authMap.put(auth.getPathPrefix(), auth);
        }
    
        /**
         * Retrieves an SMB authentication configuration that matches the given path.
         * @param path The path to match.
         * @return The matching SmbAuthentication object, or null if no match is found.
         */
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
             * @return true if attributes match
             */
            public boolean matches(long otherSize, long otherLastModified, long otherAttributes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

         */
        /**
         * Gets the first rule that matches the given response data.
         * @param responseData the response data to match against
         * @return the first matching rule, or null if no rule matches
         */
        @Override
        public Rule getRule(final ResponseData responseData) {
            for (final Rule rule : ruleList) {
                if (rule.match(responseData)) {
                    return rule;
                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. statement.go

    	nameMatcher := regexp.MustCompile(`^(?:\W?(\w+?)\W?\.)?(?:(\*)|\W?(\w+?)\W?)$`)
    	return func(tableColumn string) (table, column string) {
    		if matches := nameMatcher.FindStringSubmatch(tableColumn); len(matches) == 4 {
    			table = matches[1]
    			star := matches[2]
    			columnName := matches[3]
    			if star != "" {
    				return table, star
    			}
    			return table, columnName
    		}
    		return "", ""
    	}
    }()
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    			},
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (6) Should not error signature matches with extra query params.
    		{
    			queryParams: map[string]string{
    				"response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"",
    			},
    			expected: ErrNone,
    		},
    		// (7) Should not error signature matches with no special query params.
    		{
    			queryParams: map[string]string{},
    			expected:    ErrNone,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTree.java

        }
    
        boolean matches(final String share, final String service) {
            return this.share.equalsIgnoreCase(share)
                    && (service == null || service.startsWith("??") || this.service.equalsIgnoreCase(service));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTree tree) {
                return matches(tree.share, tree.service);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcher.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    /**
     *
     */
    @Deprecated(since = "4.0.0")
    public interface RequirementMatcher {
    
        boolean matches(String requirement);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 967 bytes
    - Viewed (0)
Back to top