Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,897 for stops (0.05 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientConnectionTest.groovy

        final connection = new DaemonClientConnection(delegate, daemon, staleAddressDetector)
    
        def "stops"() {
            when:
            connection.stop()
    
            then:
            1 * delegate.stop()
            0 * staleAddressDetector._
        }
    
        def "dispatches messages"() {
            def message = Stub(Message)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/BaseTestKitEndUserIntegrationTest.groovy

                        }
                    }
                """)
            }
        }
    
        def cleanup() {
            testKitDaemons().visible.each { it.stops() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy

            daemons.daemon.assertBusy()
            executer.withArguments("--stop").run()
            def failure = build.waitForFailure()
    
            then:
            stopsSingleDaemon()
            failure.assertHasDescription(DaemonStoppedException.MESSAGE)
    
            build.waitForFailure()
        }
    
        def "can handle multiple concurrent stop requests"() {
            buildFile << """
    task block {
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/CompositeStoppable.java

    /**
     * A {@link org.gradle.internal.concurrent.Stoppable} that stops a collection of things. If an element implements
     * {@link java.io.Closeable} or {@link org.gradle.internal.concurrent.Stoppable} then the appropriate close/stop
     * method is called on that object, otherwise the element is ignored. Elements may be {@code null}, in which case they
     * are ignored.
     *
     * <p>Attempts to stop as many elements as possible in the presence of failures.</p>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/debug/pe/string.go

    // license that can be found in the LICENSE file.
    
    package pe
    
    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"internal/saferio"
    	"io"
    )
    
    // cstring converts ASCII byte sequence b to string.
    // It stops once it finds 0 or reaches end of b.
    func cstring(b []byte) string {
    	i := bytes.IndexByte(b, 0)
    	if i == -1 {
    		i = len(b)
    	}
    	return string(b[:i])
    }
    
    // StringTable is a COFF string table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/run.bash

    # This environment variable is an internal implementation detail between the
    # Go build system (x/build) and cmd/dist for the purpose of longtest builders,
    # and will be removed if it stops being needed. See go.dev/issue/12508.
    #
    # GO_TEST_TIMEOUT_SCALE: a non-negative integer factor to scale test timeout by.
    # Defaults to 1.
    
    set -e
    
    if [ ! -f ../bin/go ]; then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginBackgroundJobExecutors.java

         * All executors immediately stops accepting new jobs. The method blocks until already submitted jobs complete.
         *
         * @throws RuntimeException any exception or error thrown by a job is rethrown from this method, potentially wrapped as a RuntimeException
         */
        public void stop() {
            if (executorService.isShutdown()) {
                return;
            }
            executorService.stop();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

            when:
            registry.stop()
            then:
            3 * testHandle.stop()
        }
    
        def "cannot get a handle once the registry is stopped" () {
            objectFactory.newInstance(TestDeploymentHandle) >> new TestDeploymentHandle()
            given:
            registry.start("id", DeploymentRegistry.ChangeBehavior.NONE, TestDeploymentHandle)
            registry.stop()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/Actor.java

         * @return The proxy.
         */
        <T> T getProxy(Class<T> type);
    
        /**
         * Stops accepting new method calls, and blocks until all method calls have been executed by the target object.
         *
         * @throws DispatchException When there were any failures dispatching method calls to the target object.
         */
        @Override
        void stop() throws DispatchException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

        long getLogLineCount() {
            return daemonLog.lines().withCloseable { lines -> lines.count() }
        }
    
        DaemonFixture becomesIdle() {
            waitForState(Idle)
            this
        }
    
        DaemonFixture stops() {
            waitForState(Stopped)
            this
        }
    
        @Override
        void assertIdle() {
            assertHasState(Idle)
        }
    
        @Override
        void assertBusy() {
            assertHasState(Busy)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top