Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 255 for Idle (1.62 sec)

  1. src/runtime/mgcpacer.go

    	//
    	// The bottom int32 is the current number of idle mark workers executing.
    	//
    	// The top int32 is the maximum number of idle mark workers allowed to
    	// execute concurrently. Normally, this number is just gomaxprocs. However,
    	// during periodic GC cycles it is set to 0 because the system is idle
    	// anyway; there's no need to go full blast on all of GOMAXPROCS.
    	//
    	// The maximum number of idle mark workers is used to prevent new workers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy

            when:
            factory.getWorker(requirement);
    
            then:
            0 * clientsManager._
        }
    
        def "new client is created when daemon is executed and no idle clients found"() {
            when:
            factory.getWorker(requirement).execute(spec)
    
            then:
            1 * clientsManager.reserveIdleClient(options) >> null
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

            }
    
            then:
            completeBuild()
    
            then:
            idle()
    
            when:
            startBuild(null, "UTF-8")
            waitForLifecycleLogToContain(1, "1 incompatible")
            waitForBuildToWait()
    
            then:
            state 1, 1
    
            then:
            completeBuild(1)
    
            then:
            idle 2
            daemonContext(1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/ForegroundDaemonAction.java

    import org.gradle.launcher.daemon.server.MasterExpirationStrategy;
    import org.gradle.launcher.daemon.server.expiry.DaemonExpirationStrategy;
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle;
    
    public class ForegroundDaemonAction implements Runnable {
    
        private final ServiceRegistry loggingRegistry;
        private final DaemonServerConfiguration configuration;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/runtime/metrics_test.go

    			t.Errorf("found no time spent on GC work: %#v", cpu)
    		}
    		if cpu.gcPause <= 0 {
    			t.Errorf("found no GC pauses: %f", cpu.gcPause)
    		}
    		if cpu.idle <= 0 {
    			t.Errorf("found no idle time: %f", cpu.idle)
    		}
    		if total := cpu.gcDedicated + cpu.gcAssist + cpu.gcIdle + cpu.gcPause; !withinEpsilon(cpu.gcTotal, total, 0.001) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/SynchronizedToolingImplementationLoaderTest.groovy

            }
    
            then:
            instant.idle < instant.created
            1 * target.create(distro, factory, _ as InternalBuildProgressListener, params, cancellationToken) >> {
                instant.busy
                thread.block()
                instant.idle
                Stub(ConsumerConnection)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Canceled;
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle;
    
    public class NotifyDaemonAboutChangedPathsClient {
        private final DaemonConnector connector;
        private final IdGenerator<UUID> idGenerator;
        private final DaemonRegistry daemonRegistry;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go

    }
    
    // NewClientConnectionWithPings creates a new SPDY client connection.
    //
    // If pingPeriod is non-zero, a background goroutine will send periodic Ping
    // frames to the server. Use this to keep idle connections through certain load
    // balancers alive longer.
    func NewClientConnectionWithPings(conn net.Conn, pingPeriod time.Duration) (httpstream.Connection, error) {
    	spdyConn, err := spdystream.NewConnection(conn, false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 15:04:07 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy

        def "does not reserve idle client when no clients"() {
            expect:
            manager.reserveIdleClient(options) == null
        }
    
        def "does not reserve idle client when no matching client found"() {
            def noMatch = Stub(WorkerDaemonClient) {
                isCompatibleWith(_) >> false
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    	// connections per host, including connections in the dialing,
    	// active, and idle states. On limit violation, dials will block.
    	//
    	// Zero means no limit.
    	MaxConnsPerHost int
    
    	// IdleConnTimeout is the maximum amount of time an idle
    	// (keep-alive) connection will remain idle before closing
    	// itself.
    	// Zero means no limit.
    	IdleConnTimeout time.Duration
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top