Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for AtomicInteger (0.26 sec)

  1. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            suggestHelper.storeAllBadWords(true);
    
            logger.info("Storing all elevate words.");
            suggestHelper.storeAllElevateWords(true);
    
            final AtomicInteger exitCode = new AtomicInteger(0);
    
            if (ComponentUtil.getFessConfig().isSuggestDocuments()) {
                final CountDownLatch latch = new CountDownLatch(1);
    
                logger.info("Parsing words from indexed documents.");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(2);
            final AtomicInteger successCount = new AtomicInteger(0);
    
            Thread thread1 = new Thread(new Runnable() {
                @Override
                public void run() {
                    try {
                        startLatch.await();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            int noncesPerThread = 100;
            ConcurrentHashMap<String, Boolean> allNonces = new ConcurrentHashMap<>();
            CountDownLatch latch = new CountDownLatch(threadCount);
            AtomicInteger collisions = new AtomicInteger(0);
    
            // When generating nonces concurrently
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
            for (int t = 0; t < threadCount; t++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                ExecutorService executor = Executors.newFixedThreadPool(10);
                CountDownLatch startLatch = new CountDownLatch(1);
                AtomicInteger successCount = new AtomicInteger(0);
                AtomicInteger failureCount = new AtomicInteger(0);
    
                // Submit tasks that try to sign data
                for (int i = 0; i < 5; i++) {
                    executor.submit(() -> {
                        try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        private volatile boolean isComplete;
        private volatile boolean hasChanges;
        private DirectoryCacheScope scope;
        private long maxAge;
    
        private final AtomicInteger inconsistencyCount = new AtomicInteger(0);
    
        /**
         * Create a new directory cache entry
         *
         * @param path the directory path
         * @param key the lease key
         * @param scope the cache scope
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            factory.crawlerContainer = container;
        }
    
        /**
         * Test component class for testing factory operations
         */
        public static class TestComponent {
            private static AtomicInteger instanceCounter = new AtomicInteger(0);
            private final int id;
            private boolean destroyed = false;
    
            public TestComponent() {
                this.id = instanceCounter.incrementAndGet();
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.atomic.AtomicInteger;
    
    public abstract class RdmaConnection implements AutoCloseable {
        protected final InetSocketAddress remoteAddress;
        protected final InetSocketAddress localAddress;
        protected final AtomicInteger sendCredits;
        protected final AtomicInteger receiveCredits;
        protected final BlockingQueue<RdmaWorkRequest> pendingRequests;
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) {
        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
        Integer replicatedMinValue = replica.firstKey();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

        private LoadBalancingStrategy strategy;
        private final AtomicInteger roundRobinCounter;
    
        /**
         * Create channel load balancer
         *
         * @param manager channel manager
         */
        public ChannelLoadBalancer(ChannelManager manager) {
            this.manager = manager;
            this.strategy = LoadBalancingStrategy.ADAPTIVE;
            this.roundRobinCounter = new AtomicInteger(0);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      private void testSupplierThreadSafe(Function<Supplier<Boolean>, Supplier<Boolean>> memoizer)
          throws Throwable {
        AtomicInteger count = new AtomicInteger(0);
        AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        int numThreads = 3;
        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top