- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 227 for lock1 (0.07 sec)
-
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/notify/BuildOperationNotificationBridge.java
private volatile BuildOperationNotificationListener listener = recordingListener; private boolean needLock = true; private final Lock lock = new ReentrantLock(); private void attach(BuildOperationNotificationListener realListener) { lock.lock(); try { for (Object storedEvent : recordingListener.storedEvents) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 04:43:28 UTC 2024 - 15.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go
} }) } } type signalRecorder struct { lock sync.Mutex order []string } func (r *signalRecorder) before(s lifecycleSignal) { r.lock.Lock() defer r.lock.Unlock() r.order = append(r.order, s.Name()) } func (r *signalRecorder) verify(got []string) error { r.lock.Lock() defer r.lock.Unlock() want := r.order if !reflect.DeepEqual(want, got) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 38.3K bytes - Viewed (0) -
pilot/pkg/status/distribution/reporter.go
return } r.mu.Lock() defer r.mu.Unlock() r.inProgressResources[myRes.ToModelKey()] = &inProgressEntry{ Resource: myRes, completedIterations: 0, } } func (r *Reporter) DeleteInProgressResource(res config.Config) { tryLedgerDelete(r.ledger, res) if r.controller != nil { r.controller.configDeleted(res) } r.mu.Lock() defer r.mu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/http-stats.go
s.Lock() defer s.Unlock() stats, ok := s.stats[bucket] if !ok { stats = &bucketS3RXTX{ s3InputBytes: uint64(n), } } else { stats.s3InputBytes += uint64(n) } s.stats[bucket] = stats } // Increase S3 total output bytes for input bucket func (s *bucketConnStats) incS3OutputBytes(bucket string, n int64) { s.Lock() defer s.Unlock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 06:25:13 UTC 2024 - 11.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller.go
c.storeLock.Lock() defer c.storeLock.Unlock() return maps.Values(c.handlersByCluster) } // AddRegistry adds registries into the aggregated controller. // If the aggregated controller is already Running, the given registry will never be started. func (c *Controller) AddRegistry(registry serviceregistry.Instance) { c.storeLock.Lock() defer c.storeLock.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
func (r *ReplicationStats) Delete(bucket string) { if r == nil { return } r.Lock() defer r.Unlock() delete(r.Cache, bucket) } // UpdateReplicaStat updates in-memory replica statistics with new values. func (r *ReplicationStats) UpdateReplicaStat(bucket string, n int64) { if r == nil { return } r.Lock() defer r.Unlock() bs, ok := r.Cache[bucket] if !ok {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 13.4K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
hookOpenErr.Lock() fn := hookOpenErr.fn hookOpenErr.Unlock() if fn != nil { if err := fn(); err != nil { return nil, err } } parts := strings.Split(dsn, ";") if len(parts) < 1 { return nil, errors.New("fakedb: no database name") } name := parts[0] db := d.getDB(name) d.mu.Lock() d.openCount++ d.mu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/PalantirConsistentVersionsPluginSmokeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
import okhttp3.Route import okhttp3.internal.USER_AGENT import okhttp3.internal.canReuseConnectionFor import okhttp3.internal.closeQuietly import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.connection.Locks.withLock import okhttp3.internal.connection.RoutePlanner.Plan import okhttp3.internal.platform.Platform import okhttp3.internal.toHostHeader class RealRoutePlanner( private val taskRunner: TaskRunner,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0)