Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 567 for threadId (0.49 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. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread2, 2);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            int eventsPerThread = 100;
            Thread[] threads = new Thread[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
                threads[i] = new Thread(() -> {
                    for (int j = 0; j < eventsPerThread; j++) {
                        logger.logAuthentication(true, "user" + threadId, "DOMAIN", "192.168.1." + threadId);
                    }
                });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread2, 2);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K 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