Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 224 for Natchev (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
        private static boolean matches(Entry<Object, Object> entry) {
            return entry.getKey() instanceof String && entry.getValue() instanceof String;
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 3.7K 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. 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

        public void test_string() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
    
            final Map<String, Object> map = new HashMap<String, Object>();
    
            map.put("data1", "test");
            assertTrue(docBoostMatcher.match(map));
    
            map.put("data1", "aaa test bbb");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.base.CharMatcher.NamedFastMatcher;
    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    @ElementTypesAreNonnullByDefault
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(session, parent, new AtomicReference<>()),
                    "Expected 'ModelResolverException' not thrown.");
            assertEquals("No versions matched the requested version range '[2.0,2.1)'", e.getMessage());
        }
    
        @Test
        void testResolveParentThrowsModelResolverExceptionWhenUsingRangesWithoutUpperBound() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            Matcher matcher = linkPattern.matcher(line);
            while (matcher.find()) {
                MatchResult xrefMatcher = matcher.toMatchResult();
                String link = xrefMatcher.group(1);
                if (link.contains("#")) {
                    Matcher linkMatcher = linkWithHashPattern.matcher(link);
                    if (linkMatcher.matches()) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

        }
    
        public WebApiManager get(final HttpServletRequest request) {
            for (final WebApiManager webApiManager : webApiManagers) {
                if (webApiManager.matches(request)) {
                    return webApiManager;
                }
            }
            return null;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top