Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 638 for threadId (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Trip circuit
            circuitBreaker.trip();
            Thread.sleep(100);
    
            long afterTripTime = circuitBreaker.getTimeSinceLastStateChange();
            assertTrue(afterTripTime >= 100, "Time should have advanced");
            assertTrue(afterTripTime < 200, "Time should be reasonable");
    
            // Reset circuit
            circuitBreaker.reset();
            Thread.sleep(50);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                                    errorCount.incrementAndGet();
                                }
    
                                // Occasionally update (half the threads)
                                if (threadId % 2 == 0 && j % 10 == 0) {
                                    testRule.setRuleId("concurrentRule");
                                    testRule.setResponseProcessor(processor);
                                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SecureKeyManagerTest.java

            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        for (int i = 0; i < operationsPerThread; i++) {
                            String sid = "thread-" + threadId + "-key-" + i;
                            byte[] key = keyManager.generateRandomKey(16);
    
                            // Store key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                                // Transform operation
                                ResponseData responseData = new ResponseData();
                                responseData.setUrl("http://thread" + threadId + ".com/page" + j);
                                ResultData resultData = transformer.transform(responseData);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    Arrays.fill(dataArrays[i], (byte) i);
    
                    threads[i] = new Thread(() -> {
                        digest.sign(dataArrays[index], 0, dataArrays[index].length, request, response);
                    });
                }
    
                for (Thread t : threads) {
                    t.start();
                }
                for (Thread t : threads) {
                    t.join();
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

                return true;
            });
        }
    
        private void addMdcContext(Map<String, Object> context) {
            // Add MDC context efficiently
            context.put("thread", Thread.currentThread().getName());
            context.put("threadId", Thread.currentThread().getId());
    
            String sessionId = MDC.get("sessionId");
            if (sessionId != null) {
                context.put("sessionId", sessionId);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * shouldn't)
         *
         * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that
         * seenExceptionsField always contains not just the current thread's exception but also the
         * initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top