Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 397 for stops (0.18 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. 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)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java

            }
        }
    
        public static class StopOption extends EnabledOnlyBooleanBuildOption<DaemonParameters> {
            public StopOption() {
                super(null, CommandLineOptionConfiguration.create("stop", "Stops the Gradle daemon if it is running."));
            }
    
            @Override
            public void applyTo(DaemonParameters settings, Origin origin) {
                settings.setStop(true);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top