Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 436 for matches (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/util/InputValidator.java

            if (username.length() > MAX_USERNAME_LENGTH) {
                throw new IllegalArgumentException("Username exceeds maximum length: " + username.length());
            }
            if (!username.isEmpty() && !VALID_USERNAME.matcher(username).matches()) {
                throw new IllegalArgumentException("Username contains invalid characters: " + username);
            }
        }
    
        /**
         * Validates domain name
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
                    if (m.matches()) {
                        return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION;
                    }
                }
            }
            return version;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/eventbus/Dispatcher.java

       */
      static Dispatcher perThreadDispatchQueue() {
        return new PerThreadQueuedDispatcher();
      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. 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() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            // Get rule after removal
            matched = ruleManager.getRule(responseData);
            assertNull(matched); // No matching rule now
    
            // Add rule4 which matches
            ruleManager.addRule(rule4);
            matched = ruleManager.getRule(responseData);
            assertEquals("rule4", matched.getRuleId());
        }
    
        /**
         * Test rule replacement scenario
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 23.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        /**
         * Creates a path matcher function for path mapping.
         *
         * @param matcher the regex matcher
         * @param replacement the replacement string
         * @return the path matcher function
         */
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. 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;
                }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        /**
         * Gets the current match expression.
         *
         * @return the match expression string
         */
        public String getMatchExpression() {
            return matchExpression;
        }
    
        /**
         * Sets the match expression used to determine if documents should be boosted.
         *
         * @param expression the match expression string
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

                    final Matcher matcher = pattern.matcher(url);
                    if (matcher.matches()) {
                        match = true;
                    }
                }
                if (!match) {
                    return false;
                }
            }
    
            if (!excludeList.isEmpty()) {
                boolean match = false;
                for (final Pattern pattern : excludeList) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. 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,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top