Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 624 for stops (0.05 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. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                assertOutputContains("Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms.")
            }
    
            and:
            taskLogging(":block") == [
                "Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms."
            ]
        }
    
        def "additional logging is emitted when task is slow to stop"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/html/template/template.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.text.Option(opt...)
    	return t
    }
    
    // checkCanParse checks whether it is OK to parse templates.
    // If not, it returns an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

            when:
            addSnapshot(snapshotRegularFile(fileInWatchableHierarchy))
            then:
            1 * watcher.startWatching({ equalIgnoringOrder(it, [watchableHierarchy]) })
        }
    
        def "starts and stops watching hierarchies to watch"() {
            def watchableHierarchies = ["first", "second", "third"].collect { file(it).createDir() }
    
            when:
            registerWatchableHierarchies(watchableHierarchies)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            watchingVirtualFileSystem.afterBuildFinished()
            then:
            0 * _
    
            watchingVirtualFileSystem.root == emptySnapshotHierarchy
        }
    
        def "stops the watchers before the build when watching is disabled"() {
            when:
            watchingVirtualFileSystem.afterBuildStarted(WatchMode.ENABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top