Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,217 for Patches (0.11 sec)

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

        }
    
        def "matches name case insensitive"() {
            def step = new HasPrefixPatternStep(".abc", false)
    
            expect:
            step.matches(".abc")
            step.matches(".ABC")
            step.matches(".Abc")
            step.matches(".aBCD")
            !step.matches(".A")
            !step.matches(".Ab")
            !step.matches(".BCD")
            !step.matches("ABC")
            !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.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/util/internal/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: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/compress/flate/example_test.go

    // must agree in advance what dictionary to use.
    func Example_dictionary() {
    	// The dictionary is a string of bytes. When compressing some input data,
    	// the compressor will attempt to substitute substrings with matches found
    	// in the dictionary. As such, the dictionary should only contain substrings
    	// that are expected to be found in the actual data stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 12 18:42:35 UTC 2016
    - 6.5K bytes
    - Viewed (0)
Back to top