- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 481 for Acquirem (0.2 sec)
-
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) -
src/iter/iter.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/runtime/metrics.go
// sysStatsAggregate represents system memory stats obtained // from the runtime. This set of stats is grouped together because // they're all relatively cheap to acquire and generally independent // of one another and other runtime memory stats. The fact that they // may be acquired at different times, especially with respect to // heapStatsAggregate, means there could be some skew, but because of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
src/sync/mutex.go
// of the wait queue. If a waiter fails to acquire the mutex for more than 1ms, // it switches mutex to the starvation mode. // // In starvation mode ownership of the mutex is directly handed off from // the unlocking goroutine to the waiter at the front of the queue. // New arriving goroutines don't try to acquire the mutex even if it appears
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccessTest.groovy
def cacheAccess = new FixedExclusiveModeCrossProcessCacheAccess("<cache>", file, DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), lockManager, initAction, onOpenAction, onCloseAction) def "acquires lock then validates cache and runs handler action on open"() { def lock = Mock(FileLock) when: cacheAccess.open() then: 1 * lockManager.lock(file, _, _, "", _) >> lock
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 3.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) -
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) -
pkg/test/echo/server/forwarder/executor.go
func (g *execGroup) Go(ctx context.Context, work func() error) { g.g.Go(func() error { g.e.totalRequests.Inc() g.e.activeRequests.Inc() defer g.e.activeRequests.Dec() // Acquire the group concurrency semaphore. if err := g.sem.Acquire(ctx, 1); err != nil { return fmt.Errorf("request set timed out: %v", err) } defer g.sem.Release(1) return work() }) } func (g *execGroup) Wait() *multierror.Error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 10 18:09:08 UTC 2022 - 2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* evaluate the integral of the function from 7.0 to 10.0. * * Using integrals guarantees that the effect of a single acquire(3) is equivalent to { * acquire(1); acquire(1); acquire(1); }, or { acquire(2); acquire(1); }, etc, since the integral * of the function in [7.0, 10.0] is equivalent to the sum of the integrals of [7.0, 8.0], [8.0,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 19.3K bytes - Viewed (0) -
pilot/pkg/config/monitor/README.md
# Monitor This package provides the ability to populate a `crd.Controller` dynamically via a function that provides additional config. The monitor will acquire snapshots of additional changes and populate the `crd.Controller` as needed. ## Creating a Monitor To create a monitor, you should provide the `crd.Controller`, a polling interval, and a function that returns `[]*model.Config`. ```golang monitor := file.NewMonitor(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Sep 14 20:15:07 UTC 2019 - 2.1K bytes - Viewed (0)