Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 961 for Spread (0.06 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        LockingThread thread = new LockingThread(lockA);
        thread.start();
    
        thread.waitUntilHoldingLock();
        assertFalse(lockA.tryLock());
    
        thread.releaseLockAndFinish();
        assertTrue(lockA.tryLock());
      }
    
      public void testReentrantWriteLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(writeLockA);
        thread.start();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashMap.java

      private void setPredecessor(int entry, int pred) {
        long predMask = ~0L << 32;
        setLink(entry, (link(entry) & ~predMask) | ((long) (pred + 1) << 32));
      }
    
      private void setSucceeds(int pred, int succ) {
        if (pred == ENDPOINT) {
          firstEntry = succ;
        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    try {
                        // Invalidate any cached read data
                        // This would typically clear file's internal read buffers
                        // For now, we log the action as the actual implementation
                        // depends on SmbFile's internal caching mechanism
                        log.info("Invalidated read cache for: {}", path);
                    } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            // Simulate concurrent failures
            Thread[] threads = new Thread[5];
            for (int i = 0; i < threads.length; i++) {
                threads[i] = new Thread(() -> failover.handleFailure(failedChannel, error));
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join(1000);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety
            Thread[] threads = new Thread[10];
            for (int i = 0; i < threads.length; i++) {
                threads[i] = new Thread(() -> {
                    channelManager.getChannels();
                    channelManager.getHealthyChannels();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

     * and provides a unified search interface.
     */
    public class RankFusionProcessor implements AutoCloseable {
    
        private static final Logger logger = LogManager.getLogger(RankFusionProcessor.class);
    
        /** Thread-safe list of rank fusion searchers available for processing search requests */
        protected final List<RankFusionSearcher> searchers = new CopyOnWriteArrayList<>();
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

    import org.apache.commons.pool2.impl.DefaultPooledObject;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    
    /**
     * A thread-safe factory for creating and managing pooled crawler objects.
     * This class extends {@link BasePooledObjectFactory} and provides
     * methods for creating, wrapping, and destroying crawler components
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

            l2.forEach(l1::putIfAbsent);
            return l1;
        }
    
        // gather artifactIds which are not unique so that the respective thread names can be extended with the groupId
        public Set<String> duplicateIds() {
            if (duplicateIds == null) {
                synchronized (this) {
                    if (duplicateIds == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                                    waitingThreadNames.size(), threadName);
                        }
                        return false;
                    }
                    if (logger.isInfoEnabled()) {
                        logger.info("Cpu Load {}% is greater than {}%. {} waiting thread(s).", current, percent, waitingThreadNames.size());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 08:30:43 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                    }
                  });
          thread.start();
          // we want to wait until each thread is WAITING - one thread waiting inside CacheLoader.load
          // (in startSignal.await()), and the others waiting for that thread's result.
          while (thread.isAlive() && thread.getState() != Thread.State.WAITING) {
            Thread.yield();
          }
        }
        gettersStartedSignal.countDown();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 91.1K bytes
    - Click Count (0)
Back to Top