Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 255 for Idle (0.04 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultWorkInProgressFormatter.java

    import java.util.Collections;
    import java.util.List;
    
    public class DefaultWorkInProgressFormatter {
        private final static List<StyledTextOutputEvent.Span> IDLE_SPANS = Collections.singletonList(new StyledTextOutputEvent.Span("> IDLE"));
        private final ConsoleMetaData consoleMetaData;
    
        public DefaultWorkInProgressFormatter(ConsoleMetaData consoleMetaData) {
            this.consoleMetaData = consoleMetaData;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

            fun illegalStateFor(operation: String): Nothing = throw IllegalStateException(
                "'$operation' is illegal while in '${javaClass.simpleName}' state."
            )
        }
    
        private
        inner class Idle : WritingState() {
            override fun maybeStart(buildScopedSpoolFile: StateFile, projectScopedSpoolFile: StateFile, writeContextForOutputStream: (StateFile) -> DefaultWriteContext): WritingState {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

              return -1L
            }
          },
          delayNanos,
        )
      }
    
      /** Returns a latch that reaches 0 when the queue is next idle. */
      fun idleLatch(): CountDownLatch {
        taskRunner.lock.withLock {
          // If the queue is already idle, that's easy.
          if (activeTask == null && futureTasks.isEmpty()) {
            return CountDownLatch(0)
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	// idle will result in loss of work conservation (idle P while there is
    	// runnable work). This could result in complete deadlock in the
    	// unlikely event that we discover new work (from netpoll) right as we
    	// are racing with _all_ other Ps going idle.
    	//
    	// We use sched.needspinning to synchronize with non-spinning Ms going
    	// idle. If needspinning is set when they are about to drop their P,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/goaway.go

    }
    
    // ServeHTTP implement HTTP handler
    func (h *goaway) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    	if r.Proto == "HTTP/2.0" && h.decider.Goaway(r) {
    		// Send a GOAWAY and tear down the TCP connection when idle.
    		w.Header().Set("Connection", "close")
    	}
    
    	h.handler.ServeHTTP(w, r)
    }
    
    // probabilisticGoawayDecider send GOAWAY probabilistically according to chance
    type probabilisticGoawayDecider struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 28 20:27:28 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfo.java

         */
        int getNumberOfBuilds();
    
        /**
         * @return The time (milliseconds) since epoch at which the daemon was started
         */
        long getStartedAt();
    
        /**
         * @return The idle timeout (milliseconds) of the daemon
         */
        long getIdleTimeout();
    
        /**
         * @return The number of running daemons
         */
        int getNumberOfRunningDaemons();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. internal/http/server.go

    )
    
    const (
    	shutdownPollIntervalMax = 500 * time.Millisecond
    
    	// DefaultShutdownTimeout - default shutdown timeout to gracefully shutdown server.
    	DefaultShutdownTimeout = 5 * time.Second
    
    	// DefaultIdleTimeout for idle inactive connections
    	DefaultIdleTimeout = 30 * time.Second
    
    	// DefaultReadHeaderTimeout for very slow inactive connections
    	DefaultReadHeaderTimeout = 30 * time.Second
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 09 21:25:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

            }
            if (lastRegistryState == state && lastLogState == state) {
                return
            }
            // TODO remove debug log
            if (lastRegistryState == State.Stopped && lastLogState == State.Idle) {
                println("The daemon probably disappeared before it could've printed the stop message. Daemon log content:")
                println(logFile.text)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

            blockingServer.expect(':c:ping')
    
            run 'd:ping'
        }
    
        void 'tasks with should run after ordering rules are preferred when running over an idle worker thread'() {
            buildFile << """
                tasks.getByPath(':a:pingA').shouldRunAfter(':b:pingB')
                tasks.getByPath(':b:pingB').dependsOn(':b:pingA')
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

            def exception = thrown(IllegalArgumentException)
            exception.message == "Changed path '${Paths.get(changedPaths[0])}' is not absolute"
        }
    
        @TargetGradleVersion(">=6.1")
        def "invalidates paths for single idle daemon"() {
            when:
            createIdleDaemon()
    
            withConnection { connection ->
                connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths))
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top