Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 369 for stops (0.06 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

        def "can stop multiple times"() {
            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        def setup() {
            waitFor = new PollingConditions(timeout: 60, initialDelay: 0, factor: 1.25)
            toolingApi.requireIsolatedDaemons()
        }
    
        @TargetGradleVersion(">=6.5")
        def "disconnect during build stops daemon"() {
            setup:
            buildFile.text = """
                task hang {
                    doLast {
                        ${server.callFromBuild("waiting")}
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.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/certificate/kubelet.go

    	var ctx context.Context
    	ctx, m.cancelFn = context.WithCancel(context.Background())
    	go m.dynamicCertificateContent.Run(ctx, 1)
    }
    
    // Stop stops watching the certificate and key files
    func (m *kubeletServerCertificateDynamicFileManager) Stop() {
    	if m.cancelFn != nil {
    		m.cancelFn()
    	}
    }
    
    // ServerHealthy always returns true since the file manager doesn't communicate with any server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. pkg/test/framework/suite.go

    	// Otherwise it stops test execution.
    	//
    	// Deprecated: Tests should not make assumptions about number of clusters.
    	RequireMinClusters(minClusters int) Suite
    	// RequireMaxClusters ensures that the current environment contains at least the given number of clusters.
    	// Otherwise it stops test execution.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

        }
    
        /**
         * Stops the daemon, blocking until any current requests/connections have been satisfied.
         * <p>
         * This is the semantically the same as sending the daemon the Stop command.
         * <p>
         * This method does not quite conform to the semantics of the Stoppable contract in that it will NOT
         * wait for any executing builds to stop before returning. This is by design as we currently have no way of
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. security/pkg/nodeagent/sds/sdsservice.go

    		b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    		// context for both timeout and channel, whichever stops first, the context will be done
    		ctx, cancel := context.WithCancel(context.Background())
    		go func() {
    			select {
    			case <-ret.stop:
    				cancel()
    			case <-ctx.Done():
    			}
    		}()
    		defer cancel()
    		_ = b.RetryWithContext(ctx, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/slices/slices.go

    // Equal reports whether two slices are equal: the same length and all
    // elements equal. If the lengths are different, Equal returns false.
    // Otherwise, the elements are compared in increasing index order, and the
    // comparison stops at the first unequal pair.
    // Floating point NaNs are not considered equal.
    func Equal[S ~[]E, E comparable](s1, s2 S) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	for i := range s1 {
    		if s1[i] != s2[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

        }
    
        /**
         * Forcibly stops the daemon, even if it is busy.
         *
         * If the daemon is busy and the client is waiting for a response, it may receive “null” from the daemon as the connection may be closed by this method before the result is sent back.
         *
         * @see #requestStop(String reason)
         */
        @Override
        public void stop() {
            stopNow("service stop");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        }
    
        def "an exception from stop action is rethrown"() {
            given:
            def provider = registerService("service", ServiceImpl)
            provider.beforeStopping { throw new UnsupportedOperationException("Don't stop") }
            when:
            buildFinished()
    
            then:
            thrown(Exception)
        }
    
        def "other stop actions run if one of them throws"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top