- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for executar (0.05 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
int iterations = 1000; ExecutorService executor = Executors.newFixedThreadPool(2); CountDownLatch endLatch = new CountDownLatch(2); AtomicInteger successCount = new AtomicInteger(0); List<Exception> exceptions = Collections.synchronizedList(new ArrayList<>()); // Thread 1: Continuously adds trees executor.submit(() -> { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
public void close() throws CIFSException { // Do nothing } }; // Execute in executor service ExecutorService executor = Executors.newSingleThreadExecutor(); try { Future<List<FileNotifyInformation>> future = executor.submit((Callable<List<FileNotifyInformation>>) realHandle); List<FileNotifyInformation> result = future.get(1, TimeUnit.SECONDS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
public Cancellable schedule( AbstractService service, ScheduledExecutorService executor, Runnable task) { return new FutureAsCancellable( executor.scheduleAtFixedRate(task, initialDelay, period, unit)); } }; } /** Schedules the task to run on the provided executor on behalf of the service. */ abstract Cancellable schedule(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
public Cancellable schedule( AbstractService service, ScheduledExecutorService executor, Runnable task) { return new FutureAsCancellable( executor.scheduleAtFixedRate(task, initialDelay, period, unit)); } }; } /** Schedules the task to run on the provided executor on behalf of the service. */ abstract Cancellable schedule(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
return paramMap.size(); } }); // Execute first time Object result1 = scriptExecutor.execute("modifyEngine", "script1"); assertEquals(2, result1); // executor + newKey // Execute second time - params should be fresh Object result2 = scriptExecutor.execute("modifyEngine", "script2"); assertEquals(2, result2); // Should still be 2, not accumulating
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
/** * Shutdown the failover handler */ public void shutdown() { executor.shutdown(); try { if (!executor.awaitTermination(10, TimeUnit.SECONDS)) { executor.shutdownNow(); } } catch (InterruptedException e) { executor.shutdownNow(); Thread.currentThread().interrupt(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
SmbTransportPoolImpl pool = new SmbTransportPoolImpl(); pool.setMaxPoolSize(100); int threadCount = 20; int operationsPerThread = 100; ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicLong totalTime = new AtomicLong(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
CountDownLatch latch = new CountDownLatch(threadCount); ExecutorService executor = Executors.newFixedThreadPool(threadCount); AtomicInteger successCount = new AtomicInteger(0); AtomicInteger failureCount = new AtomicInteger(0); 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 - 23.2K bytes - Viewed (0)