Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 250 for regUsed (0.58 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

    import org.gradle.internal.cc.impl.fixtures.SomeToolingModel
    
    class IsolatedProjectsToolingApiParallelModelQueryIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "intermediate model is cached and reused for nested concurrent requests"() {
            // Sleep to ensure concurrent requests for the same model catch up before the first one is finished
            withSomeToolingModelBuilderPluginInBuildSrc("""
                Thread.sleep(3000)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            false                        | false                         | 1                   | "reused"
            true                         | false                         | 2                   | "not reused"
            false                        | true                          | 2                   | "not reused"
        }
    
        @Issue("GRADLE-3573")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

            def messages = reasons.collect { reason ->
                if (details.runsTasks) {
                    "Calculating task graph as configuration cache cannot be reused because $reason has changed."
                } else {
                    "Creating tooling model as configuration cache cannot be reused because $reason has changed."
                }
            }
    
            def found = messages.any { message -> spec.output.contains(message) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            dir.createFile("file3")
            configurationCacheRun("report")
    
            then:
            fixture.assertStateStored()
            outputContains("Calculating task graph as configuration cache cannot be reused because an input to build file 'build.gradle' has changed.")
            outputContains(output2)
    
            when:
            configurationCacheRun("report")
    
            then:
            fixture.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

             * An empty list means the work was up-to-date and hasn't been executed.
             */
            ImmutableList<String> getExecutionReasons();
    
            /**
             * If a previously produced output was reused in some way, the reused output's origin metadata is returned.
             */
            Optional<OriginMetadata> getReusedOutputOriginMetadata();
    
            /**
             * State after execution.
             */
            @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

                cacheEntryRequiresCommit = false
            } else if (cacheEntryRequiresCommit) {
                val projectUsage = collectProjectUsage()
                commitCacheEntry(projectUsage.reused)
                problems.projectStateStats(projectUsage.reused.size, projectUsage.updated.size)
                cacheEntryRequiresCommit = false
                // Can reuse the cache entry for the rest of this build invocation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    			if err := store.loadUsers(ctx, regUser, newCache.iamUsersMap); err != nil {
    				return err
    			}
    			bootstrapTraceMsg("loading regular groups")
    			if err := store.loadGroups(ctx, newCache.iamGroupsMap); err != nil {
    				return err
    			}
    		}
    
    		bootstrapTraceMsg("loading user policy mapping")
    		// load polices mapped to users
    		if err := store.loadMappedPolicies(ctx, regUser, false, newCache.iamUserPolicyMap); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            when:
            configurationCacheRun "help", "--offline"
            then:
            configurationCache.assertStateStored()
    
            // Now repeat invocations in different order to make sure both entries can be reused
            when:
            configurationCacheRun "help"
            then:
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "help", "--offline"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy

            result.assertHasPostBuildOutput("Configuration cache entry stored.")
    
            when:
            configurationCacheRun("ok")
    
            then:
            result.assertHasPostBuildOutput("Configuration cache entry reused.")
    
            when:
            configurationCacheFails("broken")
    
            then:
            outputContains("Configuration cache entry discarded with 2 problems.")
            problems.assertFailureHasProblems(failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            endorseFrom.targetComponent.nodes[0].ownStrictVersionConstraints.getModules().size() == 1
            endorseFrom.targetComponent.nodes[0].ownStrictVersionConstraints == endorsedStrictVersions //instance reused
        }
    
        def "collects multiple endorsed strict versions from one module"() {
            when:
            def endorseFrom = edge(root, false, null, nextNode(12), true)
            root.collectEndorsedStrictVersions([endorseFrom])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top