- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,972 for Mlock (3.78 sec)
-
pkg/kubelet/util/pod_startup_latency_tracker.go
p.lock.Lock() defer p.lock.Unlock() state := p.pods[podUID] if state == nil { return } if state.firstStartedPulling.IsZero() { state.firstStartedPulling = p.clock.Now() } } func (p *basicPodStartupLatencyTracker) RecordImageFinishedPulling(podUID types.UID) { p.lock.Lock() defer p.lock.Unlock() state := p.pods[podUID]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 06:09:49 UTC 2023 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go
clock: clock, requestWatchProgress: requestWatchProgress, contextMetadata: contextMetadata, } pr.cond = sync.NewCond(&pr.mux) return pr } type WatchProgressRequester func(ctx context.Context) error type TickerFactory interface { NewTimer(time.Duration) clock.Timer } // conditionalProgressRequester will request progress notification if there
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 09:56:38 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager.go
type objectStore struct { getObject GetObjectFunc clock clock.Clock lock sync.Mutex items map[objectKey]*objectStoreItem defaultTTL time.Duration getTTL GetObjectTTLFunc } // NewObjectStore returns a new ttl-based instance of Store interface. func NewObjectStore(getObject GetObjectFunc, clock clock.Clock, getTTL GetObjectTTLFunc, ttl time.Duration) Store { return &objectStore{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 8.3K bytes - Viewed (0) -
manifests/addons/dashboards/jsonnetfile.lock.json
John Howard <******@****.***> 1717524306 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 1.2K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
Klaus Post <******@****.***> 1700528975 -0800
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 9.5K bytes - Viewed (0) -
src/text/template/template.go
nt := t.copy(nil) nt.init() if t.common == nil { return nt, nil } t.muTmpl.RLock() defer t.muTmpl.RUnlock() for k, v := range t.tmpl { if k == t.name { nt.tmpl[t.name] = nt continue } // The associated templates share nt's common structure. tmpl := v.copy(nt.common) nt.tmpl[k] = tmpl } t.muFuncs.RLock() defer t.muFuncs.RUnlock() for k, v := range t.parseFuncs { nt.parseFuncs[k] = v
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz.go
func delayedHealthCheck(check healthz.HealthChecker, clock clock.Clock, delay time.Duration) healthz.HealthChecker { return delayedLivezCheck{ check, clock.Now().Add(delay), clock, } } type delayedLivezCheck struct { check healthz.HealthChecker startCheck time.Time clock clock.Clock } func (c delayedLivezCheck) Name() string { return c.check.Name() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy
} def "can use worker lease as resource lock"() { def registry = workerLeaseService(1) when: def workerLease = registry.newWorkerLease() coordinationService.withStateLock(lock(workerLease)) then: noExceptionThrown() } def "acquire lease as resource lock blocks when there are no leases available"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 13.2K bytes - Viewed (0) -
internal/pubsub/pubsub.go
} ps.Lock() defer ps.Unlock() sub := &Sub[T]{ch: subCh, types: Mask(mask.Mask()), filter: filter} ps.subs = append(ps.subs, sub) // We hold a lock, so we are safe to update combined := Mask(atomic.LoadUint64(&ps.types)) combined.Merge(Mask(mask.Mask())) atomic.StoreUint64(&ps.types, uint64(combined)) go func() { <-doneCh ps.Lock() defer ps.Unlock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java
private final int testId; private final long timeoutMs; private final Clock clock = Time.clock(); private int waitingFor; private final WaitPrecondition previous; private long mostRecentEvent; private boolean cancelled; private final ExpectationState state = new ExpectationState();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 14.4K bytes - Viewed (0)