Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,003 for stops (0.2 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    func (b Backoff) DelayFunc() DelayFunc {
    	steps := b.Steps
    	duration := b.Duration
    	cap := b.Cap
    	factor := b.Factor
    	jitter := b.Jitter
    
    	return func() time.Duration {
    		var nextDuration time.Duration
    		// jitter is applied per step and is not cumulative over multiple steps
    		nextDuration, duration, steps = delay(steps, duration, cap, factor, jitter)
    		return nextDuration
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        when (this[i]) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/evented.go

    	eventedPlegMaxStreamRetries int
    	// Indicates relisting related parameters
    	relistDuration *RelistDuration
    	// Stop the Evented PLEG by closing the channel.
    	stopCh chan struct{}
    	// Stops the periodic update of the cache global timestamp.
    	stopCacheUpdateCh chan struct{}
    	// Locks the start/stop operation of the Evented PLEG.
    	runningMu sync.Mutex
    }
    
    // NewEventedPLEG instantiates a new EventedPLEG object and return it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            then:
            def exception = thrown(IllegalStateException)
            exception.message == "Unable to watch directory '${watchableHierarchy.absolutePath}' since it is within Gradle's caches"
        }
    
        def "stops watching hierarchies when maximum number of hierarchies to watch has been reached"() {
            int maxHierarchiesToWatch = 4
            def oldestRegisteredWatchableHierarchy = file("oldestWatchable").createDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. src/context/context.go

    // one does not replace another.
    //
    // Calling the returned stop function stops the association of ctx with f.
    // It returns true if the call stopped f from being run.
    // If stop returns false,
    // either the context is done and f has been started in its own goroutine;
    // or f was already stopped.
    // The stop function does not wait for f to complete before returning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

            thread.blockUntil.connected
            operation.stop {
                acceptor.stop()
            }
    
            then:
            operation.stop.end > instant.actionFinished
    
            cleanup:
            acceptor?.stop()
            connection?.stop()
        }
    
        def "can receive message from peer after peer has closed connection"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. pilot/pkg/autoregistration/controller_test.go

    	c1, c2, store := setup(t)
    	c2.maxConnectionAge = maxConnAge
    	stopped1 := false
    	stop1, stop2 := make(chan struct{}), make(chan struct{})
    	defer func() {
    		// stop1 should be killed early, as part of test
    		if !stopped1 {
    			close(stop1)
    		}
    	}()
    	defer close(stop2)
    	go c1.Run(stop1)
    	go c2.Run(stop2)
    	go store.Run(stop2)
    
    	n := fakeNode("reg1", "zone1", "subzone1")
    
    	var p1conn1, p1conn2 *fakeConn
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. src/fmt/scan.go

    // If that is less than the number of arguments, err will report why.
    func Scan(a ...any) (n int, err error) {
    	return Fscan(os.Stdin, a...)
    }
    
    // Scanln is similar to [Scan], but stops scanning at a newline and
    // after the final item there must be a newline or EOF.
    func Scanln(a ...any) (n int, err error) {
    	return Fscanln(os.Stdin, a...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy

            def client1 = Mock(WorkerDaemonClient)
            def client2 = Mock(WorkerDaemonClient)
            starter.startDaemon(options) >>> [client1, client2]
    
            when:
            manager.reserveNewClient(options)
            manager.reserveNewClient(options)
            manager.stop()
    
            then:
            noExceptionThrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top