Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for fals (0.09 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/LazyAttributesIntegrationTest.groovy

                sampleProperty.set("original value")
    
                configurations {
                    sample {
                        visible = false
                        canBeResolved = false
                        assert canBeConsumed
    
                        attributes {
                            attributeProvider(Usage.USAGE_ATTRIBUTE, sampleProperty.map(value -> objects.named(Usage, value)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        AtomicInteger existingCounter = Maps.safeGet(countMap, element);
        if (existingCounter == null) {
          return false;
        }
        while (true) {
          int oldValue = existingCounter.get();
          if (oldValue < occurrences) {
            return false;
          }
          int newValue = oldValue - occurrences;
          if (existingCounter.compareAndSet(oldValue, newValue)) {
            if (newValue == 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/DeferrableTest.groovy

            "deferred -> completed"  | Deferrable.deferred { 5 } | { input -> Deferrable.completed(input + 25) }   | false           | false
            "completed -> deferred"  | Deferrable.completed(5)   | { input -> Deferrable.deferred { input + 25 } } | false           | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheErrorIntegrationTest.groovy

            succeeds("help")
        }
    
        def "attempting to configure a unknown remote build cache fails with a reasonable error"() {
            settingsFile << """
                buildCache {
                    remote {
                        assert false : "should not happen"
                    }
                }
            """
            when:
            fails("help")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/FailingIncrementalTasksIntegrationTest.groovy

            file("src/input-change.txt") << "input"
            fails "incrementalTask", "-PexpectIncremental=true", "-PmodifyOutputs=$modifyOutputs", "-Pfail"
    
            expect:
            succeeds "incrementalTask", "-PexpectIncremental=$incremental"
    
            where:
            modifyOutputs | incremental | description
            "add"         | false       | "with additional outputs is fully rebuilt"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 01 14:32:13 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. cmd/importverifier/importverifier.go

    // A path will be restricted if:
    //   - it falls under the base import path
    //   - it does not fall under any of the ignored sub-trees
    func (i *ImportRestriction) isRestrictedDir(dir string) (bool, error) {
    	if under, err := isPathUnder(i.BaseDir, dir); err != nil {
    		return false, err
    	} else if !under {
    		return false, nil
    	}
    
    	for _, ignored := range i.IgnoredSubTrees {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

        }
    
        def "compileBadCode"() {
            expect:
            fails("compileGroovy")
            failure.assertHasErrorOutput 'unable to resolve class Unknown1'
            failure.assertHasErrorOutput 'unable to resolve class Unknown2'
            failure.assertHasCause(compilationFailureMessage)
        }
    
        def "compileBadJavaCode"() {
            expect:
            fails("compileGroovy")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParserTest.groovy

            1 * variant1.addDependency("g1", "m1", requires("v1"), [], null, ImmutableAttributes.EMPTY, [], false, null)
            1 * variant1.addDependency("g2", "m2", prefers("v2"), [], null, ImmutableAttributes.EMPTY, [], false, null)
            1 * variant1.addDependency("g3", "m3", requires("v3"), excludes("gx:mx", "*:*"), null, ImmutableAttributes.EMPTY, [], false, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 38K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

            delegate.resolveArtifact(artifact, moduleSources, result) >> { throw exception }
            repositoryBlacklister.isDisabled(REPOSITORY_ID) >> false
    
            when: 'repo is not disabled'
            access.resolveArtifact(artifact, moduleSources, result)
    
            then: 'resolution fails and repo is disabled'
            1 * repositoryBlacklister.tryDisableRepository(REPOSITORY_ID, { hasCause(it, exception) })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/reproducibility/FailOnChangingVersionsResolveIntegrationTest.groovy

                'org:test:1.0' {
                    expectGetMetadata()
                }
            }
            fails ':checkDeps'
    
            then:
            failure.assertHasCause("Could not resolve org:test:1.0: Resolution strategy disallows usage of changing versions")
        }
    
        def "fails to resolve a transitive changing dependency"() {
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top