Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 for getStep (0.14 sec)

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

        def "creates step for ** wildcard"() {
            expect:
            def step = PatternStepFactory.getStep("**", true);
            step instanceof AnyWildcardPatternStep
            step.matches("anything")
            step.matches("")
        }
    
        def "creates step for * wildcard"() {
            expect:
            def step = PatternStepFactory.getStep("*", true);
            step instanceof AnyWildcardPatternStep
            step.matches("anything")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcherFactory.java

                    return new AnythingMatcher();
                }
                return new GreedyPathMatcher(compile(parts, pos, caseSensitive));
            }
            return new FixedStepPathMatcher(PatternStepFactory.getStep(parts.get(pos), caseSensitive), compile(parts, pos + 1, caseSensitive));
        }
    
        @VisibleForTesting
        static class DefaultPatternMatcher extends PatternMatcher {
            private final boolean partialMatchDirs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternStepFactory.java

     */
    package org.gradle.api.internal.file.pattern;
    
    public class PatternStepFactory {
        private static final AnyWildcardPatternStep ANY_WILDCARD_PATTERN_STEP = new AnyWildcardPatternStep();
    
        public static PatternStep getStep(String source, boolean caseSensitive) {
            if (source.length() == 0) {
                return new FixedPatternStep(source, caseSensitive);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStepTest.groovy

        def implementationSnapshot = ImplementationSnapshot.of("MyWorkClass", TestHashCodes.hashCodeFrom(1234))
    
        abstract AbstractCaptureStateBeforeExecutionStep<PreviousExecutionContext, CachingResult> getStep()
    
        def setup() {
            _ * work.inputFingerprinter >> inputFingerprinter
        }
    
        def "no state is captured when instructed to skip"() {
            when:
            step.execute(work, context)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:34 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java

            } else if (segment.contains("*") || segment.contains("?")) {
                PatternStep step = PatternStepFactory.getStep(segment, false);
                File[] children = file.listFiles();
                if (children == null) {
                    if (!file.canRead()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

        APInt lower_bound, upper_bound, step;
        if (!matchPattern(for_op.getLowerBound(), m_ConstantInt(&lower_bound)) ||
            !matchPattern(for_op.getUpperBound(), m_ConstantInt(&upper_bound)) ||
            !matchPattern(for_op.getStep(), m_ConstantInt(&step))) {
          return failure();
        }
        uint64_t trip_count = (upper_bound - lower_bound).sdiv(step).getZExtValue();
        if (trip_count <= 0) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/virtualservice/util.go

    				RouteRule:        "tls",
    				ServiceIndex:     i,
    				DestinationIndex: j,
    				Destination:      rd.GetDestination(),
    			})
    		}
    	}
    	for i, r := range vs.GetHttp() {
    		for j, rd := range r.GetRoute() {
    			destinations = append(destinations, &AnnotatedDestination{
    				RouteRule:        "http",
    				ServiceIndex:     i,
    				DestinationIndex: j,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/FieldOptionElement.java

            private final Method getter;
            private final Field field;
            private final Class<?> elementType;
    
            public PropertyFieldSetter(Method getter, Field field) {
                this(getter, field, ModelType.of(getter.getGenericReturnType()).getTypeVariables().get(0).getRawClass());
            }
    
            public PropertyFieldSetter(Method getter, Field field, Class<?> elementType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 11:28:20 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

                dummyModel("otherValue"),
                [
                    { it.value }
                ]
            )
    
            then:
            def error = thrown(AssertionError)
            error.message.contains("assert getter(actual) == getter(expected)")
            error.message.contains("       |      |       |  |")
            error.message.contains("       |      |       |  'otherValue'")
            error.message.contains("       'someValue'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

                }
              }
            }
          }
        }
      }
    
      private void assertRelated(int groupNumber, int itemNumber, int relatedItemNumber) {
        Item<T> itemInfo = getItem(groupNumber, itemNumber);
        Item<T> relatedInfo = getItem(groupNumber, relatedItemNumber);
    
        T item = itemInfo.value;
        T related = relatedInfo.value;
        assertWithTemplate(
            "$ITEM must be $RELATIONSHIP to $OTHER",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top