Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 250 for unlocks (0.35 sec)

  1. cmd/bucket-replication-stats.go

    	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 {
    		bs = newBucketReplicationStats()
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ForwardingLock.java

      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return delegate().tryLock(time, unit);
      }
    
      @Override
      public void unlock() {
        delegate().unlock();
      }
    
      @Override
      public Condition newCondition() {
        return delegate().newCondition();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. cmd/ilm-config.go

    }
    
    func (c *ilmConfig) getExpirationWorkers() int {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    
    	return c.cfg.ExpirationWorkers
    }
    
    func (c *ilmConfig) getTransitionWorkers() int {
    	c.mu.RLock()
    	defer c.mu.RUnlock()
    
    	return c.cfg.TransitionWorkers
    }
    
    func (c *ilmConfig) update(cfg ilm.Config) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    
    	c.cfg = cfg
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Mar 05 02:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            // This test verifies that the DBFluteSystem is properly unlocked and locked
            // during the process, though we can't directly test the lock state
    
            // When
            try {
                curtainBeforeHook.processDBFluteSystem();
    
                // Then - if we get here without exception, the unlock/lock worked
                DfFinalTimeZoneProvider provider = getDBFluteSystemTimeZoneProvider();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    func (evnot *EventNotifier) RemoveNotification(bucketName string) {
    	evnot.Lock()
    	defer evnot.Unlock()
    
    	delete(evnot.bucketRulesMap, bucketName)
    }
    
    // RemoveAllBucketTargets - closes and removes all notification targets.
    func (evnot *EventNotifier) RemoveAllBucketTargets() {
    	evnot.Lock()
    	defer evnot.Unlock()
    
    	targetIDSet := event.NewTargetIDSet()
    	for k := range evnot.targetList.TargetMap() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                guidToHandle.put(guid, info);
    
                if (type == HandleType.PERSISTENT) {
                    persistHandle(info);
                }
            } finally {
                lock.writeLock().unlock();
            }
    
            log.debug("Requested {} handle for path: {}", type, path);
            return guid;
        }
    
        /**
         * Update the file ID for a handle after successful create response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. prepare_stmt.go

    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.RUnlock()
    			return stmt, stmt.Error()
    		}
    	}
    	db.Mux.RUnlock()
    
    	// retry
    	db.Mux.Lock()
    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.Unlock()
    			return stmt, stmt.Error()
    		}
    	}
    
    	return db.Stmts.New(ctx, query, isTransaction, conn, db.Mux)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. cmd/bucket-replication-metrics.go

    		srQueueStats: newInQueueStats(r, "site"),
    	}
    }
    
    func (q *queueCache) update() {
    	q.Lock()
    	defer q.Unlock()
    	q.srQueueStats.update()
    	for _, s := range q.bucketStats {
    		s.update()
    	}
    }
    
    func (q *queueCache) getBucketStats(bucket string) InQueueMetric {
    	q.RLock()
    	defer q.RUnlock()
    	v, ok := q.bucketStats[bucket]
    	if !ok {
    		return InQueueMetric{}
    	}
    	return InQueueMetric{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            } catch (SmbException e) {
                // Expected
            }
    
            // Manually unlock
            assertTrue(rateLimiter.unlockAccount(username), "Manual unlock should succeed");
    
            // Should be allowed again
            assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after manual unlock");
        }
    
        @Test
        public void testManualUnblockIp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top