Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,897 for stops (0.08 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

            when:
            run "th"
    
            then:
            result.assertTasksExecuted(":a:thing", ":b:thing", ":a:a:thing", ":b:b:thing")
        }
    
        @ToBeFixedForIsolatedProjects(because = "subprojects")
        def "stops traversing sub-projects when task implies sub-projects"() {
            createDirs("a", "b", "a/a", "b/b")
            settingsFile << "include 'a', 'b', 'a:a', 'b:b'"
    
            buildFile << """
                subprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            block.waitForAllPendingCalls()
            daemons.daemon.assertBusy()
            client.kill()
    
            then:
            daemons.daemon.becomesCanceled()
    
            and:
            daemons.daemon.stops()
        }
    
        def "daemon is idle after the client disconnects and build cancels in a timely manner"() {
            buildFile << """
                task block {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

        /**
         * <p>Requests that the daemon stop, but wait until the daemon is idle. The stop will happen asynchronously, and this method does not block.
         *
         * <p>The daemon will stop accepting new work, so that subsequent calls to {@link #runCommand} will fail with {@link DaemonUnavailableException}.
         */
        void requestStop(String reason);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/internal/trace/resources.go

    //
    // Transitions to and from states that are Executing are special in that
    // they change the future execution context. In other words, future events
    // on the same thread will feature the same goroutine until it stops running.
    //
    // Panics if d.Resource.Kind is not ResourceGoroutine.
    func (d StateTransition) Goroutine() (from, to GoState) {
    	if d.Resource.Kind != ResourceGoroutine {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/time/tick.go

    // immediately deferred t.Stop after calling NewTicker, to make
    // the ticker recoverable when it was no longer needed.
    // As of Go 1.23, the garbage collector can recover unreferenced
    // tickers, even if they haven't been stopped.
    // The Stop method is no longer necessary to help the garbage collector.
    // (Code may of course still want to call Stop to stop the ticker for other reasons.)
    func NewTicker(d Duration) *Ticker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

            this.executorFactory = executorFactory;
        }
    
        /**
         * Stops all actors.
         */
        @Override
        public void stop() {
            synchronized (lock) {
                try {
                    CompositeStoppable.stoppable(nonBlockingActors.values()).add(blockingActors.values()).stop();
                } finally {
                    nonBlockingActors.clear();
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. cmd/service.go

    )
    
    // Type of service signals currently supported.
    type serviceSignal int
    
    const (
    	serviceRestart       serviceSignal = iota // Restarts the server.
    	serviceStop                               // Stops the server.
    	serviceReloadDynamic                      // Reload dynamic config values.
    	serviceFreeze                             // Freeze all S3 API calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            populateAndExecute([a, b])
    
            then:
            executedTasks == [a]
            failures == [failure]
        }
    
        def "stops execution on failure when failure handler indicates that execution should stop"() {
            final RuntimeException failure = new RuntimeException()
            final Task a = brokenTask("a", failure)
            final Task b = task("b")
    
            when:
            populateAndExecute([a, b])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

            when:
            handler.reservePort()
            handler.start(10, {})
            handler.stop()
    
            then:
            1 * factory.create(_ as String) >> lockRequestListener
            1 * factory.create(_ as String) >> releaseLockActionExecutor
            1 * lockRequestListener.stop()
            1 * releaseLockActionExecutor.stop()
        }
    
        def "stopping is safe even if the handler was not initialized"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/AndroidIncrementalExecutionPerformanceTest.groovy

                // See: https://android.googlesource.com/platform/tools/base/+/studio-master-dev/build-system/gradle-core/src/main/java/com/android/build/gradle/tasks/ShaderCompile.java#120
                // TODO: remove this once AGP stops checking for the existence of these directories at configuration time
                workingDir.listFiles().findAll { it.isDirectory() && new File(it, "build.gradle").exists() }.each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top