Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 246 for Idle (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go

    type countingPromise struct {
    	lock          sync.Locker
    	cond          sync.Cond
    	activeCounter counter.GoRoutineCounter // counter of active goroutines
    	waitingCount  int                      // number of goroutines idle due to this being unset
    	isSet         bool
    	value         interface{}
    }
    
    var _ promiseifc.WriteOnce = &countingPromise{}
    
    // NewCountingWriteOnce creates a WriteOnce that uses locking and counts goroutine activity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    	if !tr.IsIdleForTesting() {
    		t.Error("should be idle after CloseIdleConnections")
    	}
    	wantIdle("after close idle", 0)
    	if tr.PutIdleTestConn("http", "example.com") {
    		t.Fatal("put didn't fail")
    	}
    	wantIdle("after second put", 0)
    
    	tr.QueueForIdleConnForTesting() // should toggle the transport out of idle mode
    	if tr.IsIdleForTesting() {
    		t.Error("shouldn't be idle after QueueForIdleConnForTesting")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. src/runtime/mstats.go

    	// space of the heap into "spans", which are contiguous
    	// regions of memory 8K or larger. A span may be in one of
    	// three states:
    	//
    	// An "idle" span contains no objects or other data. The
    	// physical memory backing an idle span can be released back
    	// to the OS (but the virtual address space never is), or it
    	// can be converted into an "in use" or "stack" span.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorFactory.java

         * @param maximumPoolSize The maximum number of threads allowed
         * @param keepAliveTime  when the number of threads is greater than
         *        the core, this is the maximum time that excess idle threads
         *        will wait for new tasks before terminating.
         * @param timeUnit the time unit for the {@code keepAliveTime} argument
         * @return The executor.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/PropertiesToDaemonParametersConverterTest.groovy

            then:
            def ex = thrown(IllegalArgumentException)
            ex.message.contains 'org.gradle.java.home'
            ex.message.contains 'foobar'
        }
    
        def "shows nice message for invalid idle timeout"() {
            when:
            converter.convert((DaemonBuildOptions.IdleTimeoutOption.GRADLE_PROPERTY): 'asdf', params)
    
            then:
            def ex = thrown(IllegalArgumentException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    [[sec:status]]
    == Check Daemon status
    
    To get a list of running Daemons and their statuses, use the `--status` command:
    
    ----
    $ gradle --status
    ----
    
    ----
       PID STATUS   INFO
     28486 IDLE     7.5
     34247 BUSY     7.5
    ----
    
    Currently, a given Gradle version can only connect to Daemons of the same version.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/runtime/sigqueue_plan9.go

    		}
    
    		lock(&sig.lock)
    		sig.sleeping = true
    		noteclear(&sig.note)
    		unlock(&sig.lock)
    		notetsleepg(&sig.note, -1)
    	}
    }
    
    // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
    // This is used to ensure that we do not drop a signal notification due
    // to a race between disabling a signal and receiving a signal.
    // This assumes that signal delivery has already been disabled for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/runtime/HACKING.md

    (where to execute it), and a P (the rights and resources to execute
    it). When an M stops executing user Go code, for example by entering a
    system call, it returns its P to the idle P pool. In order to resume
    executing user Go code, for example on return from a system call, it
    must acquire a P from the idle pool.
    
    All `g`, `m`, and `p` objects are heap allocated, but are never freed,
    so their memory remains type stable. As a result, the runtime can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            }
        }
    
        private enum State {
            Idle, Blocking, Blocked, Unblocking, Unblocked, Failed
        }
    
        private class SyncPoint {
            private final Lock lock = new ReentrantLock();
            private final Condition condition = lock.newCondition();
            private State state = State.Idle;
            private ThreadHandle blockingThread;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        // Connections are replaced if they idle out or are evicted from the pool
        evictAllConnections(pool)
        assertThat(pool.connectionCount()).isEqualTo(2)
        forceConnectionsToExpire(pool, expireTime)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Excess connections aren't removed until they idle out, even if no longer needed
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top