- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,091 for unlock2 (0.42 sec)
-
pkg/adsc/adsc.go
func (a *ADSC) GetHTTPListeners() map[string]*listener.Listener { a.mutex.Lock() defer a.mutex.Unlock() return a.httpListeners } // GetTCPListeners returns all the tcp listeners. func (a *ADSC) GetTCPListeners() map[string]*listener.Listener { a.mutex.RLock() defer a.mutex.RUnlock() return a.tcpListeners } // GetEdsClusters returns all the eds type clusters.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager.go
m.workerLock.RLock() defer m.workerLock.RUnlock() worker, ok := m.workers[probeKey{podUID, containerName, probeType}] return worker, ok } // Called by the worker after exiting. func (m *manager) removeWorker(podUID types.UID, containerName string, probeType probeType) { m.workerLock.Lock() defer m.workerLock.Unlock() delete(m.workers, probeKey{podUID, containerName, probeType}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:12 UTC 2023 - 11K 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) -
internal/config/browser/browser.go
func (browseCfg *Config) GetCSPolicy() string { configLock.RLock() defer configLock.RUnlock() return browseCfg.CSPPolicy } // GetHSTSSeconds - Get the Content security Policy func (browseCfg *Config) GetHSTSSeconds() int { configLock.RLock() defer configLock.RUnlock() return browseCfg.HSTSSeconds } // IsHSTSIncludeSubdomains - is HSTS 'includeSubdomains' directive enabled
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (1) -
cmd/kubeadm/app/apis/kubeadm/timeoututils.go
func GetActiveTimeouts() *Timeouts { timeoutMutex.RLock() defer timeoutMutex.RUnlock() return activeTimeouts } // SetActiveTimeouts sets the active timeouts structure. func SetActiveTimeouts(timeouts *Timeouts) { timeoutMutex.Lock() activeTimeouts = timeouts.DeepCopy() timeoutMutex.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 2K bytes - Viewed (0) -
pilot/pkg/util/informermetric/informerutil.go
func ErrorHandlerForCluster(clusterID cluster.ID) cache.WatchErrorHandler { mu.RLock() handler, ok := handlers[clusterID] mu.RUnlock() if ok { return handler } mu.Lock() defer mu.Unlock() clusterMetric := errorMetric.With(clusterLabel.Value(clusterID.String())) h := func(_ *cache.Reflector, err error) { clusterMetric.Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/lock-rest-server.go
// UnlockHandler - releases the acquired lock. func (l *lockRESTServer) UnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) { resp := lockRPCUnlock.NewResponse() _, err := l.ll.Unlock(context.Background(), *args) // Ignore the Unlock() "reply" return value because if err == nil, "reply" is always true // Consequently, if err != nil, reply is always false return l.makeResp(resp, err) } // RLockHandler - Acquires an RLock.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/actual_state_of_world.go
volumeName v1.UniqueVolumeName, nodeName types.NodeName) error { asw.Lock() defer asw.Unlock() return asw.removeVolumeFromReportAsAttached(volumeName, nodeName) } func (asw *actualStateOfWorld) AddVolumeToReportAsAttached( logger klog.Logger, volumeName v1.UniqueVolumeName, nodeName types.NodeName) { asw.Lock() defer asw.Unlock() asw.addVolumeToReportAsAttached(logger, volumeName, nodeName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 28.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storageversion/manager.go
s.mu.RLock() defer s.mu.RUnlock() if _, ok := s.managedStatus[gr]; !ok { return false } return !s.managedStatus[gr].done } // LastUpdateError returns the last error hit when updating the storage version of the given resource. func (s *defaultManager) LastUpdateError(gr schema.GroupResource) error { s.mu.RLock() defer s.mu.RUnlock() if _, ok := s.managedStatus[gr]; !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 17:47:19 UTC 2023 - 10.5K bytes - Viewed (0)