Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 335 for threadId (0.05 sec)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                        }
                    });
                }
    
                // Start all threads
                for (Thread t : threads) {
                    t.start();
                }
    
                // Wait for completion
                for (Thread t : threads) {
                    t.join();
                }
    
                // Verify thread safety - no unexpected exceptions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
                new Thread(() -> {
                    try {
                        WebApiUtil.setObject("key" + threadId, "value" + threadId);
                        WebApiUtil.getObject("key" + threadId);
                        WebApiUtil.setError(400 + threadId, "Error " + threadId);
                        WebApiUtil.validate();
                    } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

                            successCount.incrementAndGet();
                        }
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                    } finally {
                        endLatch.countDown();
                    }
                }
            });
    
            Thread thread2 = new Thread(new Runnable() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // When - Multiple threads accessing trees concurrently
            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        startLatch.await(); // Wait for all threads to be ready
    
                        for (int i = 0; i < opsPerThread; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

                final int threadId = i;
                executor.submit(new Runnable() {
                    @Override
                    public void run() {
                        try {
                            startLatch.await();
                            for (int j = 0; j < 100; j++) {
                                testTransformer.setName("thread" + threadId + "_iteration" + j);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                final int threadId = i;
                new Thread(new Runnable() {
                    @Override
                    public void run() {
                        try {
                            startLatch.await();
                            for (int j = 0; j < rulesPerThread; j++) {
                                TestRule rule = new TestRule("rule_" + threadId + "_" + j, true);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        for (int i = 0; i < opsPerThread; i++) {
                            byte[] data = String.format("Thread%d-Op%d", threadId, i).getBytes();
                            byte[] encrypted = context.encryptMessage(data, threadId * 100L + i);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                                }
                            }
                        }
                        long threadEnd = System.nanoTime();
                        totalTime.addAndGet(threadEnd - threadStart);
    
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                    } finally {
                        endLatch.countDown();
                    }
                });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                    }
                });
                readThreads[i].start();
            }
    
            // Wait for all threads
            for (Thread thread : updateThreads) {
                thread.join(5000);
            }
            for (Thread thread : readThreads) {
                thread.join(5000);
            }
    
            // Verify final state
            assertEquals(100, entry.getChildren().size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Test thread safety
            final int threadCount = 10;
            final int docsPerThread = 10;
            final List<Thread> threads = new ArrayList<>();
            final AtomicInteger successCount = new AtomicInteger(0);
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
                Thread thread = new Thread(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top