Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 560 for matcher (0.17 sec)

  1. guava/src/com/google/common/base/CommonMatcher.java

    /**
     * The subset of the {@link java.util.regex.Matcher} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Matcher}
     * javadoc for details.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonMatcher {
      public abstract boolean matches();
    
      public abstract boolean find();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

    package org.apache.maven.project;
    
    import org.apache.maven.model.building.ModelProblem;
    import org.hamcrest.BaseMatcher;
    import org.hamcrest.Description;
    import org.hamcrest.Matcher;
    
    import static java.util.stream.Collectors.joining;
    
    /**
     * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances.
     */
    class ProjectBuildingResultWithProblemMessageMatcher extends BaseMatcher<ProjectBuildingResult> {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
        // faster (and that's debatable), but definitely more memory-hungry. We're
        // choosing to turn .precomputed() into a no-op in GWT, because it doesn't
        // seem to be a worthwhile tradeoff in a browser.
        return matcher;
      }
    
      static String formatCompact4Digits(double value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            int lineNum = 0;
            for (final String line : values) {
                final Matcher matcher = pattern.matcher(line);
                if (matcher.matches()) {
                    if (lineNum == 0) {
                        lineNum = Integer.parseInt(matcher.group(1));
                        list.clear();
                    }
                    list.add(matcher.group(2));
                } else {
                    list.add(line);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final List<Artifact> list = new ArrayList<>();
            final String repoContent = getRepositoryContent(url);
            final Matcher matcher = Pattern.compile("href=\"[^\"]*(" + artifactType.getId() + "[a-zA-Z0-9\\-]+)/?\"").matcher(repoContent);
            while (matcher.find()) {
                final String name = matcher.group(1);
                final String pluginUrl = url + (url.endsWith("/") ? name + "/" : "/" + name + "/");
                try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        logger.debug("Path {} does not match the exclude path expression {} on {} of label.", path, excludedPaths, value);
                    }
                    return true;
                }
                if (includedPaths.matcher(path).matches()) {
                    if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
                        if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  8. android/guava/src/com/google/common/base/CommonMatcher.java

    /**
     * The subset of the {@link java.util.regex.Matcher} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Matcher}
     * javadoc for details.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonMatcher {
      public abstract boolean matches();
    
      public abstract boolean find();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

        public final CharMatcher matcher;
        public final String matchingChars;
    
        SampleMatcherConfig(String matchingChars) {
          this(CharMatcher.anyOf(matchingChars), matchingChars);
        }
    
        SampleMatcherConfig(CharMatcher matcher, String matchingChars) {
          this.matcher = matcher;
          this.matchingChars = matchingChars;
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            Pattern pidPattern = isWindows() ? WINDOWS_PID_PATTERN : UNIX_PID_PATTERN;
    
            psOutput.forEach(line -> {
                Matcher commandLineArgsMatcher = commandLineArgsPattern.matcher(line);
                Matcher pidMatcher = pidPattern.matcher(line);
                if (commandLineArgsMatcher.find() && pidMatcher.find()) {
                    String pid = pidMatcher.group(1);
                    if (!MY_PID.equals(pid)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top