- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of about 10,000 for acquired (0.24 sec)
-
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
*/ @CanIgnoreReturnValue public double acquire() { return acquire(1); } /** * Acquires the given number of permits from this {@code RateLimiter}, blocking until the request * can be granted. Tells the amount of time slept, if any. * * @param permits the number of permits to acquire * @return time spent sleeping to enforce rate, in seconds; 0.0 if not rate-limited
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 18.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/AbstractExecutionPlanSpec.groovy
return locks.findAll { it.locked }.collect { it.project } as Set } protected void recordLocks(Closure cl) { acquired.clear() cl() acquired.clear() } protected ProjectInternal project(ProjectInternal parent = null, String name = "root") { def projectState = Mock(ProjectState) def project = Mock(ProjectInternal, name: name)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 24 11:56:02 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseService.java
/** * Runs the given {@link Factory} while the specified locks are released and the given new lock is acquired. On completion, * the new lock is released and the old locks reacquired. * If a lock cannot be immediately (re)acquired, the current worker lease will be released and the method will block until the locks are (re)acquired. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 06:02:18 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* * <p>Deadlocks can arise when locks are acquired in an order that forms a cycle. In a simple * example involving two locks and two threads, deadlock occurs when one thread acquires Lock A, and * then Lock B, while another thread acquires Lock B, and then Lock A: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB) * Thread2: acquire(LockB) --X acquire(LockA) * </pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
src/cmd/go/internal/base/limit.go
type netTokenChecker struct { released bool // We want to use a finalizer to check that all acquired tokens are returned, // so we arbitrarily pad the tokens with a string to defeat the runtime's // “tiny allocator”. unusedAvoidTinyAllocator string } func (c *netTokenChecker) panicUnreleased() { panic("internal error: net token acquired but not released")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 02:47:12 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/lock_sema.go
// // func semacreate(mp *m) // Create a semaphore for mp, if it does not already have one. // // func semasleep(ns int64) int32 // If ns < 0, acquire m's semaphore and return 0. // If ns >= 0, try to acquire m's semaphore for at most ns nanoseconds. // Return 0 if the semaphore was acquired, -1 if interrupted or timed out. // // func semawakeup(mp *m) // Wake up mp, which is or will soon be sleeping on its semaphore. const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/RateLimiter.java
*/ @CanIgnoreReturnValue public double acquire() { return acquire(1); } /** * Acquires the given number of permits from this {@code RateLimiter}, blocking until the request * can be granted. Tells the amount of time slept, if any. * * @param permits the number of permits to acquire * @return time spent sleeping to enforce rate, in seconds; 0.0 if not rate-limited
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 21.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
} } fun connectionCount(): Int { return connections.size } /** * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it * was acquired, or null if no connection was acquired. The acquired connection will also be * given to [connectionUser] who may (for example) assign it to a [RealCall.connection]. *
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoAccess.java
return FileLockOutcome.LOCKED_BY_ANOTHER_PROCESS; } else { return FileLockOutcome.acquired(fileLock); } } catch (OverlappingFileLockException e) { // Locked by this process, treat as not acquired return FileLockOutcome.LOCKED_BY_THIS_PROCESS; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy
} } } then: instant.acquired > instant.worker2Finished cleanup: registry?.stop() } def "does not release worker lease when locks can be acquired without blocking"() { def registry = workerLeaseService(1) def resource = resourceLock("one") when: async {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 13.2K bytes - Viewed (0)