Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,433 for stops (0.96 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. src/internal/types/testdata/check/chans.go

    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    // method indicates when the Receiver has been freed.
    //
    // This is a convenient way to exit a goroutine sending values when
    // the receiver stops reading them.
    func Ranger[T any]() (*Sender[T], *Receiver[T]) {
    	c := make(chan T)
    	d := make(chan bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/syntax/testdata/chans.go

    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    // method indicates when the Sender has been closed, and the Send
    // method indicates when the Receiver has been freed.
    //
    // This is a convenient way to exit a goroutine sending values when
    // the receiver stops reading them.
    func Ranger[T any]() (*Sender[T], *Receiver[T]) {
    	c := make(chan T)
    	d := make(chan bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/text/template/option.go

    //		If printed, the result of the index operation is the string
    //		"<no value>".
    //	"missingkey=zero"
    //		The operation returns the zero value for the map type's element.
    //	"missingkey=error"
    //		Execution stops immediately with an error.
    func (t *Template) Option(opt ...string) *Template {
    	t.init()
    	for _, s := range opt {
    		t.setOption(s)
    	}
    	return t
    }
    
    func (t *Template) setOption(opt string) {
    	if opt == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top