Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 731 for Patches (0.14 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/FixedPatternStepTest.groovy

    import spock.lang.Specification
    
    class FixedPatternStepTest extends Specification {
        def "matches name case sensitive"() {
            def step = new FixedPatternStep("name", true)
    
            expect:
            step.matches("name")
            !step.matches("Name")
            !step.matches("")
            !step.matches("something else")
        }
    
        def "matches name case insensitive"() {
            def step = new FixedPatternStep("name", false)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/util/NameMatcher.java

            Matcher matcher = boundaryPattern.matcher(name);
            int pos = 0;
            StringBuilder builder = new StringBuilder();
            while (matcher.find()) {
                String prefix = name.substring(pos, matcher.start());
                if (prefix.length() > 0) {
                    builder.append(Pattern.quote(prefix));
                }
                builder.append(Pattern.quote(matcher.group()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:48:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/deny-groups.yaml

        - namespaces:
          - exact: only-l4-ns
          principals:
          - exact: only-l4-principals
    - rules:
      - matches:
        - {}
      - matches:
        - {}
    - rules:
      - matches:
        - namespaces:
          - exact: when-l4-l7-ns
      - matches:
        - {}
    - rules:
      - matches:
        - namespaces:
          - exact: when-l4-ns
      - matches:
        - notSourceIps:
          - address: FBQUFA==
            length: 32
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 955 bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy

            step2.matches("abac")
            !step2.matches("ac")
            !step2.matches("ABC")
            !step2.matches("other")
    
            and:
            def step3 = PatternStepFactory.getStep("?bc", true);
            step3 instanceof RegExpPatternStep
            step3.matches("abc")
            step3.matches("Abc")
            !step3.matches("bc")
            !step3.matches("ABC")
            !step3.matches("other")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/RegExpPatternStepTest.java

            RegExpPatternStep step = new RegExpPatternStep("a?c", true);
            assertTrue(step.matches("abc"));
            assertTrue(step.matches("a$c"));
            assertTrue(step.matches("a?c"));
    
            assertFalse(step.matches("ac"));
            assertFalse(step.matches("abcd"));
            assertFalse(step.matches("abd"));
            assertFalse(step.matches("a"));
        }
    
        @Test public void testMultiCharWildcard() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasSuffixPatternStepTest.groovy

        def "matches name case insensitive"() {
            def step = new HasSuffixPatternStep(".java", false)
    
            expect:
            step.matches("thing.java")
            step.matches(".java")
            step.matches("thing.JAVA")
            step.matches("thing.Java")
            !step.matches("thing.jav")
            !step.matches("thing.c")
            !step.matches("")
            !step.matches("something else")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/node_matchers.h

    //
    //  - Op(string): matches the op exactly.
    //
    //  - AssignedDevice(string): matches the assigned device exactly.
    //
    //  - Inputs(<ordered list>): matches the list of non-control inputs to the node
    //    exactly (i.e. does not match a suffix or a prefix) where each element
    //    matches an output of a node (see Out(idx, node) below).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy

            schema.matcher().matches([candidate3, candidate4, candidate5, candidate6], requested, explanationBuilder) == [candidate3]
            schema.matcher().matches([candidate4, candidate5, candidate6], requested, explanationBuilder) == [candidate4]
            schema.matcher().matches([candidate5, candidate6], requested, explanationBuilder) == [candidate5]
            schema.matcher().matches([candidate6], requested, explanationBuilder) == [candidate6]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/GreedyPathMatcherTest.groovy

            matcher.matches(["c"] as String[], 0)
            matcher.matches(["prefix", "c"] as String[], 1)
            matcher.matches(["a", "c"] as String[], 0)
            matcher.matches(["a", "c", "d"] as String[], 0)
            matcher.matches(["a", "b", "c", "d"] as String[], 0)
            matcher.matches(["a", "b", "c", "d"] as String[], 1)
        }
    
        def "every path is a prefix"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/LatestModuleConflictResolver.java

                } else if (version.getBaseVersion().equals(baseVersion)) {
                    matches.put(version, candidate);
                }
            }
    
            if (matches.size() == 1) {
                details.select(matches.values().iterator().next());
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top