Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 928 for tuning (0.11 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc

    tasks.register("task1"){  // <1>
        println("REGISTER TASK1: This is executed during the configuration phase")
    }
    
    tasks.named("task1"){  // <2>
        println("NAMED TASK1: This is executed during the configuration phase")
        doFirst {
            println("NAMED TASK1 - doFirst: This is executed during the execution phase")
        }
        doLast {
            println("NAMED TASK1 - doLast: This is executed during the execution phase")
        }
    }
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

     */
    public class ServiceLifecycle implements AsyncStoppable {
        private enum State {RUNNING, STOPPING, STOPPED}
    
        private final String displayName;
        private final Lock lock = new ReentrantLock();
        private final Condition condition = lock.newCondition();
        private final Map<Thread, Integer> usages = new HashMap<>();
        private State state = State.RUNNING;
    
        public ServiceLifecycle(String displayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/config/types.go

    	// HorizontalPodAutoscalerInitialReadinessDelay is period after pod start during which readiness
    	// changes are treated as readiness being set for the first time. The only effect of this is that
    	// HPA will disregard CPU samples from unready pods that had last readiness change during that
    	// period.
    	HorizontalPodAutoscalerInitialReadinessDelay metav1.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/testing-dependencies.md

    # Testing Dependencies with Overrides
    
    ## Overriding dependencies during testing
    
    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/functional/src/main/java/org/gradle/internal/serialization/Transient.java

     */
    
    package org.gradle.internal.serialization;
    
    import javax.annotation.Nullable;
    
    /**
     * A value that gets discarded during serialization.
     */
    public abstract class Transient<T> implements java.io.Serializable {
    
        /**
         * A mutable variable that gets discarded during serialization.
         */
        public static abstract class Var<T> extends Transient<T> {
            public abstract void set(T value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

        static class TestDeploymentHandle implements DeploymentHandle {
            boolean running
    
            @Override
            void start(Deployment deploymentActivity) {
                running = true
            }
    
            @Override
            boolean isRunning() {
                return running
            }
    
            @Override
            void stop() {
                running = false
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/testprog/annotations-stress.go

    	ctx1, t1 := trace.NewTask(ctx0, "type1")
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	t1.End()
    
    	// Create a task that starts during the trace and ends after.
    	ctx2, t2 := trace.NewTask(ctx0, "type2")
    
    	// Create a task that starts and ends during the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * guaranteed to execute. There is no guarantee, however, that listeners will be executed in the
     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
     * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged.
     *
     * @author Nishant Thakkar
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy

                resultHandler.finished()
            }
    
            then:
            configureWasCancelled(resultHandler, "Could not fetch model of type 'GradleProject' using")
    
            where:
            configureOnDemand << [true, false]
        }
    
        def "can cancel build action execution during settings phase"() {
            setupCancelInSettingsBuild()
    
            def cancel = GradleConnector.newCancellationTokenSource()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/lockosthread.go

    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    		println("goroutine migrated to locked thread")
    		os.Exit(1)
    	}
    	println("OK")
    }
    
    func LockOSThreadAlt() {
    	// This is running locked to the main OS thread.
    
    	var subTID int
    	ready := make(chan bool, 1)
    	go func() {
    		// This goroutine must be running on a new thread.
    		runtime.LockOSThread()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top