Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 467 for Matcher (0.26 sec)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * http://goo.gl/5VQFmC
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
          ImmutableClassToInstanceMap.builder()
              // primitives
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            def lines = text.readLines()
            def result = []
            lines.forEach { line ->
                def matcher = pattern.matcher(line)
                if (!matcher.matches()) {
                    return
                }
                result.add(new ClassDetails(matcher.group(1), matcher.group(2), matcher.group(3)))
            }
            return result
        }
    
        String instrument(String idExpr) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * http://goo.gl/5VQFmC
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
          ImmutableClassToInstanceMap.builder()
              // primitives
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDescriptorModuleExcludeResolveIntegrationTest.groovy

            addExcludeRuleToModule(moduleC, [artifact: 'e'])
            addExcludeRuleToModule(moduleC, [artifact: 'doesnotexist1', matcher: 'regexp'])
            moduleC.publish()
    
            def moduleD = ivyRepo.module('d').dependsOn('e')
            addExcludeRuleToModule(moduleD, [artifact: 'doesnotexist2', matcher: 'regexp'])
            moduleD.publish()
    
            ivyRepo.module('e').publish()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            // TODO support other type
            return "</doc>";
        }
    
        protected String trimSpace(final String value) {
            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        public void addAttribute(final String name, final Object value) {
            attributeMap.put(name, value);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

                });
            }
            Pattern emptySegment = Pattern.compile("(:\\s*:)|(^\\s+:)|(:\\s*$)");
            if (emptySegment.matcher(name).find()) {
                Pattern emptyFirstSegment = Pattern.compile("^\\s*:");
                boolean isAbsolute = emptyFirstSegment.matcher(name).find();
                StringBuilder normalized = new StringBuilder();
                for (int i = 0; i < path.segmentCount(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Splitter.java

        checkArgument(
            !separatorPattern.matcher("").matches(),
            "The pattern may not match the empty string: %s",
            separatorPattern);
    
        return new Splitter(
            new Strategy() {
              @Override
              public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
                final CommonMatcher matcher = separatorPattern.matcher(toSplit);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Splitter.java

        checkArgument(
            !separatorPattern.matcher("").matches(),
            "The pattern may not match the empty string: %s",
            separatorPattern);
    
        return new Splitter(
            new Strategy() {
              @Override
              public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
                final CommonMatcher matcher = separatorPattern.matcher(toSplit);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                return null;
            }
            StringBuilder builder = new StringBuilder();
            int pos = 0;
            Matcher matcher = UPPER_LOWER_PATTERN.matcher(string);
            while (pos < string.length()) {
                matcher.find(pos);
                if (matcher.end() == pos) {
                    // Not looking at a match
                    pos++;
                    continue;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    }
                    return true;
                }
                if (includedPaths.matcher(path).matches()) {
                    if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Path {} matches the include/exclude path expression {} on {} of label.", path, excludedPaths, value);
                        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top