Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 512 for matcher (0.14 sec)

  1. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.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 addFieldRule(final String name, final String xpath) {
            fieldRuleMap.put(name, xpath);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                String line = currentColor + lines[i];
    
                // look for last ANSI escape sequence to check if nextColor
                Matcher matcher = LAST_ANSI_SEQUENCE.matcher(line);
                String nextColor = "";
                if (matcher.find()) {
                    nextColor = matcher.group(1);
                    if (ANSI_RESET.equals(nextColor)) {
                        // last ANSI escape code is reset: no next color
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. 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()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * https://cs.android.com/android/platform/superproject/+/android-2.3.7_r1:libcore/luni/src/main/java/java/util/regex/Matcher.java;l=550;drc=5850271b4ab93ebc27c1d49169a348c6be3c7f04
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
        assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. internal/s3select/sql/stringfuncs_test.go

    		{"abcd", "bc", false, "", false},
    		{"abcd", "bc", true, "d", true},
    	}
    
    	for i, tc := range matcherCases {
    		res, ok := matcher(tc.iText, tc.iPat, tc.iHasLeadingPercent)
    		if res != tc.resultExpected || ok != tc.matchExpected {
    			t.Errorf("Matcher Case %d failed", i)
    		}
    	}
    
    	evalCases := []struct {
    		iText, iPat   string
    		iEsc          rune
    		matchExpected bool
    		errExpected   error
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  9. 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)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        }
                        continue;
                    }
    
                    String[] inputs;
                    String output;
    
                    final Matcher m = parsePattern.matcher(replacedLine);
    
                    if (!m.find()) {
                        logger.warn("Failed to parse {} in {}", line, path);
                        if (updater != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top