Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 893 for stops (0.1 sec)

  1. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/StreamsHandler.java

        /**
         * Disconnects from the process without waiting for further work.
         */
        void disconnect();
    
        /**
         * Stops doing work with the process's streams. Should block until no further asynchronous work is happening on the streams.
         */
        @Override
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientCancellationHandler.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    import java.util.concurrent.atomic.AtomicBoolean;
    
    /**
     * A handler that stops all worker daemons when the build is cancelled.
     */
    @ServiceScope(Scope.BuildSession.class)
    @NonNullApi
    public class WorkerDaemonClientCancellationHandler implements Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonServerConnector.java

         */
        Address start(IncomingConnectionHandler handler, Runnable connectionErrorHandler);
    
        /**
         * Stops accepting new connections, and blocks until all active connections close.
         */
        @Override
        public void stop();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy

                true
            }
    
            when:
            controller.load(key, cacheableEntity)
    
            then:
            0 * local.storeLocally(key, _)
        }
    
        def "stops calling through after read error"() {
            local = null
    
            when:
            def controller = getController()
            controller.load(key, cacheableEntity)
            controller.load(key, cacheableEntity)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top