Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 170 for regUsed (0.7 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/lease_manager.go

    	}
    }
    
    // GetLease returns a lease based on requested ttl: if the cached previous
    // lease can be reused, reuse it; otherwise request a new one from etcd.
    func (l *leaseManager) GetLease(ctx context.Context, ttl int64) (clientv3.LeaseID, error) {
    	now := time.Now()
    	l.leaseMu.Lock()
    	defer l.leaseMu.Unlock()
    	// check if previous lease can be reused
    	reuseDurationSeconds := l.getReuseDurationSecondsLocked(ttl)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeImplementationClassCachingSpec.groovy

                                println "implementation class is reused: ${first.getClass().is(second.getClass())}"
                            }
                        }
                    }
                }
    
                apply type: RulePlugin
            '''
    
            then:
            succeeds "compareImplementationClasses"
    
            and:
            output.contains("implementation class is reused: true")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/IvyContextManager.java

         * <p>The Ivy instance of the calling thread is reused if the thread is already executing an action against an Ivy instance.
         */
        void withIvy(Action<? super Ivy> action);
    
        /**
         * Executes the given action against an Ivy instance and returns the result. Sets up the Ivy context before the action and cleans up at the end.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

            buildFile << """
                plugins.apply(my.MyPlugin)
                println("configuring root")
            """
        }
    
        def "parameterized models are reused in the same build action"() {
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputs.java

        /**
         * <p>
         *     Adds a predicate to determine whether previous outputs of this task can be reused.
         *     The given closure is executed at task execution time.
         *     The closure is passed the task as a parameter.
         *     If the closure returns false, previous outputs of this task cannot be reused and the task will be executed.
         *     That means the task is out-of-date and no outputs will be loaded from the build cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:37:21 UTC 2019
    - 7.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/tests/store-another.out

    Calculating task graph as configuration cache cannot be reused because system property 'someDestination' has changed.
    > Task :someTask
    
    BUILD SUCCESSFUL in 0s
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 189 bytes
    - Viewed (0)
  8. 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)
  9. pkg/istio-agent/health/health_probers_test.go

    		},
    		{
    			desc:                "Unhealthy - Could not connect to server",
    			statusCode:          -1,
    			expectedProbeResult: Unhealthy,
    			expectedError:       errors.New("dial tcp 127.0.0.1:<port>: connect: connection refused"),
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			server, port := createHTTPServer(tt.statusCode)
    			defer server.Close()
    			httpProber := NewHTTPProber(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. 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)
Back to top