Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,595 for stops (0.04 sec)

  1. pkg/kubelet/util/ioutils/ioutils.go

    */
    
    package ioutils
    
    import "io"
    
    // LimitWriter is a copy of the standard library ioutils.LimitReader,
    // applied to the writer interface.
    // LimitWriter returns a Writer that writes to w
    // but stops with EOF after n bytes.
    // The underlying implementation is a *LimitedWriter.
    func LimitWriter(w io.Writer, n int64) io.Writer { return &LimitedWriter{w, n} }
    
    // A LimitedWriter writes to W but limits the amount of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/streams/ForwardStdinStreamsHandler.java

                There's a potential problem here in that DisconnectableInputStream reads from input in the background.
                This won't automatically stop when the process is over. Therefore, if input is not closed then this thread
                will run forever. It would be better to ensure that this thread stops when the process does.
             */
            InputStream instr = new DisconnectableInputStream(input);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 16:06:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/types.go

    	// for running a pod, the scheduler stops its search for more feasible nodes in
    	// the cluster. This helps improve scheduler's performance. Scheduler always tries to find
    	// at least "minFeasibleNodesToFind" feasible nodes no matter what the value of this flag is.
    	// Example: if the cluster size is 500 nodes and the value of this flag is 30,
    	// then scheduler stops finding further feasible nodes once it finds 150 feasible ones.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K 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. 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)
  8. 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)
  9. src/go/parser/testdata/chans.go2

    // 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: Tue Nov 24 19:44:06 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  10. 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)
Back to top