Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for AtomicInteger (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

     */
    public class DisniMemoryRegion extends RdmaMemoryRegion {
    
        private static final Logger log = LoggerFactory.getLogger(DisniMemoryRegion.class);
        private static final AtomicInteger keyGenerator = new AtomicInteger(2000);
        private static final AtomicLong addressCounter = new AtomicLong(0x10000000L);
        private static final Map<ByteBuffer, Long> bufferAddresses = new ConcurrentHashMap<>();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            Client client = runner.client();
            SuggestSettings settings = suggester.settings();
            int num = 9999;
    
            addDocument(indexName, client, num);
    
            AtomicInteger count = new AtomicInteger(0);
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Thread[] threads = new Thread[threadNum];
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
            AtomicInteger successCount = new AtomicInteger(0);
            List<Exception> exceptions = new ArrayList<>();
    
            // When - Multiple threads get and release buffers
            for (int t = 0; t < threadCount; t++) {
                executor.submit(() -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

    import java.util.concurrent.ConcurrentSkipListMap;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basher test for {@link ConcurrentHashMultiset}: start a bunch of threads, have each of them do
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        private final AtomicLong failedHealthChecks = new AtomicLong(0);
        private final AtomicLong connectionsRemoved = new AtomicLong(0);
        private final AtomicInteger activeConnections = new AtomicInteger(0);
        private final Map<String, ConnectionMetrics> connectionMetrics = new ConcurrentHashMap<>();
    
        // Proactive health monitoring
        private volatile boolean proactiveHealthCheckEnabled = true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        private final Class<T> interfaceType;
        private final Method method;
        private final @Nullable Object[] passedArgs;
        private final @Nullable Object returnValue;
        private final AtomicInteger called = new AtomicInteger();
    
        InteractionTester(Class<T> interfaceType, Method method) {
          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch doneLatch = new CountDownLatch(threadCount);
            final AtomicInteger successCount = new AtomicInteger(0);
            final AtomicInteger failureCount = new AtomicInteger(0);
            final List<Exception> exceptions = new ArrayList<>();
    
            // Create multiple threads that all try to connect simultaneously
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            rule.addCondition("url", "https://.*\\.example\\.com/.*");
    
            final int threadCount = 10;
            final int matchesPerThread = 100;
            final AtomicInteger matchCount = new AtomicInteger(0);
            final AtomicInteger noMatchCount = new AtomicInteger(0);
            final List<Exception> exceptions = new ArrayList<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/MultiChannelManager.java

         */
        public static class ChannelGroup {
            private final String sessionId;
            private final List<ChannelInfo> channels = new CopyOnWriteArrayList<>();
            private final AtomicInteger roundRobinIndex = new AtomicInteger(0);
            private volatile ChannelInfo primaryChannel;
    
            public ChannelGroup(String sessionId) {
                this.sessionId = sessionId;
            }
    
            public String getSessionId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top