- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 316 for unlock2 (0.41 sec)
-
pilot/pkg/model/typed_xds_cache.go
l.mu.Lock() defer l.mu.Unlock() cv, ok := l.store.Get(key) if !ok || cv.value == nil { miss() return nil } if cv.token >= token { hit() return cv.value } miss() return nil } func (l *lruCache[K]) Clear(configs sets.Set[ConfigKey]) { l.mu.Lock() defer l.mu.Unlock() l.token = CacheToken(time.Now().UnixNano())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy
true | false | RETRY false | true | RETRY false | false | FINISHED } def "can unlock resources with unlock"() { def lock1 = resourceLock("lock1", lock1Locked, true) def lock2 = resourceLock("lock1", lock2Locked, true) when: def disposition = null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 17:16:10 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager.go
c.lock.Lock() defer c.lock.Unlock() err := c.Store.Replace(list, resourceVersion) if err != nil { return err } c.initialized = true return nil } func (c *cacheStore) hasSynced() bool { c.lock.Lock() defer c.lock.Unlock() return c.initialized } func (c *cacheStore) unsetInitialized() { c.lock.Lock() defer c.lock.Unlock() c.initialized = false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.6K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
} sys.Lock() sys.initialized = true sys.Unlock() if globalIsDistErasure { go sys.refreshBucketsMetadataLoop(ctx, failedBuckets) } } // Reset the state of the BucketMetadataSys. func (sys *BucketMetadataSys) Reset() { sys.Lock() for k := range sys.metadataMap { delete(sys.metadataMap, k) } sys.Unlock() } // NewBucketMetadataSys - creates new policy system.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 07:56:39 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
f.Lock() defer f.Unlock() return f.assertList(pods, f.StartedPods) } func (f *FakeRuntime) AssertKilledPods(pods []string) bool { f.Lock() defer f.Unlock() return f.assertList(pods, f.KilledPods) } func (f *FakeRuntime) AssertStartedContainers(containers []string) bool { f.Lock() defer f.Unlock() return f.assertList(containers, f.StartedContainers) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/scheduler/util/assumecache/assume_cache.go
c.rwMutex.RLock() defer c.rwMutex.RUnlock() objInfo, err := c.getObjInfo(key) if err != nil { return nil, err } return objInfo.latestObj, nil } // GetAPIObj gets the informer cache's version by its key. func (c *AssumeCache) GetAPIObj(key string) (interface{}, error) { c.rwMutex.RLock() defer c.rwMutex.RUnlock() objInfo, err := c.getObjInfo(key) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 10.6K bytes - Viewed (0) -
pkg/test/framework/components/istio/configmap.go
ic.mu.Lock() ic.injectConfig = myic ic.mu.Unlock() } return myic, nil } func (ic *injectConfig) UpdateInjectionConfig(t resource.Context, update func(*inject.Config) error, cleanupStrategy cleanup.Strategy) error { // Invalidate the member variable. The next time it's requested, it will get a fresh value. ic.mu.Lock() ic.injectConfig = nil ic.mu.Unlock() errG := multierror.Group{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0) -
internal/grid/connection.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0)