Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for newFixedThreadPool (0.15 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        @Test
        @DisplayName("Test concurrent session handling")
        public void testConcurrentSessionHandling() throws Exception {
            int sessionCount = 10;
            ExecutorService executor = Executors.newFixedThreadPool(5);
            CountDownLatch latch = new CountDownLatch(sessionCount);
    
            for (int i = 0; i < sessionCount; i++) {
                final int sessionIndex = i;
                executor.submit(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            final int threadCount = 10;
            final int operationsPerThread = 100;
            final ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            final List<Long> timings = Collections.synchronizedList(new ArrayList<>());
    
            try {
                for (int t = 0; t < threadCount; t++) {
                    executor.submit(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

                    return info;
                }
            };
    
            // Execute concurrent operations
            ExecutorService executor = Executors.newFixedThreadPool(3);
            try {
                List<Future<List<FileNotifyInformation>>> futures = new ArrayList<>();
    
                for (int i = 0; i < 3; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            int operationsPerThread = 50;
            CountDownLatch latch = new CountDownLatch(threadCount);
            AtomicInteger successCount = new AtomicInteger(0);
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    if (numThreads <= 0) {
                        numThreads = Runtime.getRuntime().availableProcessors() * 3 / 2 + 1;
                    }
                    executorService = Executors.newFixedThreadPool(numThreads);
                }
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger successCount = new AtomicInteger(0);
    
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
                executor.submit(new Runnable() {
                    @Override
                    public void run() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top