Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 805 for Stopped (0.16 sec)

  1. src/internal/fuzz/worker_test.go

    		i += resp.Count
    	}
    }
    
    // newWorkerForTest creates and starts a worker process for testing or
    // benchmarking. The worker process calls RunFuzzWorker, which responds to
    // RPC messages until it's stopped. The process is stopped and cleaned up
    // automatically when the test is done.
    func newWorkerForTest(tb testing.TB) *worker {
    	tb.Helper()
    	c, err := newCoordinator(CoordinateFuzzingOpts{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/external/PlayExternalContinuousBuildIntegrationTest.groovy

            file("app/controllers/Application.scala").text = original
    
            then:
            buildTriggeredAndSucceeded()
    
            and:
            appIsRunningAndDeployed()
        }
    
        def "play application is stopped when build is cancelled" () {
            when:
            succeeds("runPlay")
    
            then:
            appIsRunningAndDeployed()
    
            when:
            gradle.cancel()
    
            then:
            cancelsAndExits()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/EndPointQueue.java

                    }
                }
            }
            drainTo.addAll(queue);
            queue.clear();
        }
    
        public void stop() {
            owner.stopped(this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            return new ThreadHandleImpl(thread);
        }
    
        private void testThreadStarted(Thread thread) {
            lock.lock();
            try {
                if (stopped) {
                    throw new IllegalStateException("Cannot start new threads, as this test case has been stopped.");
                }
                LOGGER.debug("Started {}", thread);
                active.add(thread);
                condition.signalAll();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    	// used to lock the observedRecord
    	observedRecordLock sync.Mutex
    
    	metrics leaderMetricsAdapter
    }
    
    // Run starts the leader election loop. Run will not return
    // before leader election loop is stopped by ctx or it has
    // stopped holding the leader lease
    func (le *LeaderElector) Run(ctx context.Context) {
    	defer runtime.HandleCrash()
    	defer func() {
    		le.config.Callbacks.OnStoppedLeading()
    	}()
    
    	if !le.acquire(ctx) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            }
    
            settingsFile << """
                include '${ANNOTATION_PROCESSOR_PROJECT_NAME}'
            """
            writeAnnotationProcessorProject()
        }
    
        def "compiler daemon is stopped when build is cancelled"() {
            given:
            buildFile << """
                plugins {
                    id 'java'
                }
                ${dependsOnPidCapturingAnnotationProcessor}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

        }
    
        /**
         * Registers a callback to be called just before the service represented by this provider is stopped.
         * The callback runs even if the service wasn't created.
         * This provider is used as a callback argument.
         * <p>
         * The service will only be stopped after completing all registered callbacks.
         *
         * @param stopAction the callback
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/tasks/StopActionException.java

    /**
     * <p>A <code>StopActionException</code> is be thrown by a task {@link org.gradle.api.Action} or task action closure to
     * stop its own execution and to start execution of the task's next action. An action can usually be stopped by just
     * calling return inside the action closure. But if the action works with helper methods that can lead to redundant
     * code. For example:</p>
     *
     * <pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

        }
    
        /**
         * Starts the daemon, receiving connections asynchronously (i.e. returns immediately).
         *
         * @throws IllegalStateException if this daemon is already running, or has already been stopped.
         */
        public void start() {
            LOGGER.info("start() called on daemon - {}", daemonContext);
            lifecycleLock.lock();
            try {
                if (stateCoordinator != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalParameterAcceptingConnection.java

         * @throws InternalBuildCancelledException When the operation was cancelled before it could complete.
         * @throws IllegalStateException When this connection has been stopped.
         * @since 4.4
         */
        <T> BuildResult<T> run(InternalBuildActionVersion2<T> action,
                               InternalCancellationToken cancellationToken,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top