Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,096 for unpresent (0.28 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            ex.cause.message == "Failing constructor"
    
            and:
            provider.isPresent()
    
            and:
            container.withType(DefaultTask).named("task").isPresent()
    
            and:
            container.named("task").isPresent()
    
            when:
            container.findByName("task")
    
            then:
            def ex2 = thrown(GradleException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy

        }
    
        def "can mark a module as changing after first retrieval"() {
            given:
            buildFile << """
    def isChanging = providers.gradleProperty('isChanging').isPresent()
    repositories {
        ivy { url "${ivyHttpRepo.uri}" }
    }
    
    configurations { compile }
    configurations.compile.resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
    
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/jvm/component/internal/DefaultJvmSoftwareComponentIntegrationTest.groovy

                tasks.register("verify") {
                    assert(components.named("java").get() is DefaultJvmSoftwareComponent)
                    assert(configurations.named("javadocElements").isPresent())
                    assert(sourceSets.named("main").isPresent())
                }
            """
    
            expect:
            succeeds "verify"
        }
    
        def "can not registerFeature with multiple component instances"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:18:02 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

     * </p>
     *     <ul>
     *         <li>{@link SingleElement} to represent a single element addition
     *         <li>{@link ElementFromProvider} to represent a single element added as a provider
     *         <li>{@link ElementsFromArray} to represent a single element added as an array</li>
     *         <li>{@link ElementsFromCollection} to represent a batch of elements added (or set wholesale) as an <code>Iterable</code>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                        assert libs.findVersion('my-ver').present
                        assert libs.findVersion('my_ver').present
                        assert libs.findVersion('my.ver').present
    
                        assert libs.findLibrary('my-lib').present
                        assert libs.findLibrary('my_lib').present
                        assert libs.findLibrary('my.lib').present
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  6. internal/crypto/sse-kms.go

    	// Otherwise, the metadata is corrupted.
    	keyID, idPresent := metadata[MetaKeyID]
    	b64KMSSealedKey, kmsKeyPresent := metadata[MetaDataEncryptionKey]
    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesForMigration.java

     * and a future role which will replace it in the next major Gradle version. These roles represent a narrowing migration
     * from one role to another by marking usages which are present in the current role but not present in the eventual role
     * as deprecated.
     *
     * <p>The roles here are all meant to be temporary roles used for migration only, to be removed in Gradle 9.0.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:55:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteSource.java

            Optional<Long> sizeIfKnown = source.sizeIfKnown();
            if (!sizeIfKnown.isPresent()) {
              return Optional.absent();
            }
            result += sizeIfKnown.get();
            if (result < 0) {
              // Overflow (or one or more sources that returned a negative size, but all bets are off in
              // that case)
              // Can't represent anything higher, and realistically there probably isn't anything that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            when:
            def result = property.getOrElse(someOtherValue())
            def present = property.present
    
            then:
            1 * function.call() >> someValue()
            0 * _
    
            and:
            result == someValue()
            present
        }
    
        def "replaces provider with fixed value on next query of `present` property when value implicitly finalized"() {
            def property = propertyWithNoValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/RemovePreviousOutputsStep.java

                    boolean hasOverlappingOutputs = context.getBeforeExecutionState()
                        .flatMap(BeforeExecutionState::getDetectedOverlappingOutputs)
                        .isPresent();
                    if (hasOverlappingOutputs) {
                        cleanupOverlappingOutputs(context, work);
                    } else {
                        cleanupExclusivelyOwnedOutputs(context, work);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top