Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 579 for thar (0.1 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

        def "suggests model paths with Levenshtein distance lower than 4"() {
            when:
            availablePaths = ["task.afoobar", "tasks.boofar", "tasks.foobar", "tasks.f", "fooba"]
    
            then:
            suggestionsFor("tasks.fooba") == ["tasks.foobar", "task.afoobar", "tasks.boofar"]
        }
    
        def "suggests model paths with Levenshtein distance lower than half it's length for strings shorter than 6 characters"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

            where:
            invalidOutput | fileName   | message
            'zipTree'     | 'some.jar' | "ZIP '%s'"
            'tarTree'     | 'some.tar' | "TAR '%s'"
        }
    
        def "task with base Java type input property can be up-to-date"() {
            buildFile << """
                class MyTask extends DefaultTask {
                    @Input Duration duration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

        }
    
        protected static boolean isRead(int unixNumeric) {
            return (unixNumeric & 4) >> 2 == 1;
        }
    
        protected static boolean isRead(String unixSymbolic) {
            char symbol = unixSymbolic.charAt(0);
            if (symbol == 'r') {
                return true;
            } else if (symbol == '-') {
                return false;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/NestedModelRuleDslDetectionIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class NestedModelRuleDslDetectionIntegrationTest extends AbstractIntegrationSpec {
        def "rules can contain arbitrary code that includes closures that look like nested rules"() {
            buildFile << '''
    class UnmanagedThing {
        def getSomeProp() {
            return this
        }
        def conf(Closure cl) {
            cl.delegate = this
            cl.call()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

                }
                return map;
            }
    
            public void nodeRemoved(ModelNodeInternal node) {
                // This could be more efficient; assume that removal happens much less often than addition
                for (ModelNode.State state : ModelNode.State.values()) {
                    Map<String, List<RuleBinder>> byState = getByState(state);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

            .put("tar.snappy", new SnappyPacker(new CommonsTarPacker(4)))
            .put("tar.snappy.commons", new SnappyCommonsPacker(new CommonsTarPacker(4)))
            .put("tar.snappy.dain", new SnappyDainPacker(new CommonsTarPacker(4)))
            .put("tar.snappy.small", new SnappyPacker(new CommonsTarPacker(2)))
            .put("tar.snappy.large", new SnappyPacker(new CommonsTarPacker(64)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPromise.java

    import org.gradle.model.internal.type.ModelType;
    
    public interface ModelPromise {
    
        <T> boolean canBeViewedAs(ModelType<T> type);
    
        // These methods return strings rather than types because it may be more complicated than what is able to be expressed via a ModelType.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

    }
    
    // Defines configurations used to resolve external dependencies
    // that the public API depends on.
    // TODO: We should be able to derive these dependencies automatically.
    //       In fact, our public API should have no external dependencies.
    val externalApi = configurations.dependencyScope("externalApi") {
        description = "External dependencies that the public Gradle API depends on"
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

    import javax.annotation.Nonnull;
    import javax.annotation.Nullable;
    
    /**
     * <p>A mapping provider that uses a transform for which {@link MappingProvider} cannot be used.
     * This implementation is used for user provided transforms and also for internal transforms that don't meet the constraints of {@link MappingProvider}.</p>
     *
     * <p>This provider checks that the contents of value have been built prior to running the transform, as the transform may use the content.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

                }
                if (!(o instanceof Map.Entry)) {
                    return false;
                }
                Map.Entry<?, ?> that = (Map.Entry<?, ?>) o;
                return Objects.equals(delegate.getKey(), that.getKey()) && Objects.equals(delegate.getValue(), that.getValue());
            }
    
            @Override
            public int hashCode() {
                return delegate.hashCode();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top