- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 317 for Task (0.15 sec)
-
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task, * possibly run in another thread. * * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it * may also wrap a checked exception in some cases. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
@RetainedLocalRef Future<?> localTimer = timer; // Try to cancel the timer as an optimization. // timer may be null if this call to run was by the timer task since there is no happens-before // edge between the assignment to timer and an execution of the timer task. if (localTimer != null) { localTimer.cancel(false); } delegateRef = null; timer = null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
private static class QueuingExecutor implements Executor { private final Deque<Runnable> tasks = new ArrayDeque<>(); @Override public void execute(Runnable task) { tasks.add(task); } private void runNext() { tasks.removeFirst().run(); } } public void testAsyncReload() throws Exception { AtomicInteger loadCount = new AtomicInteger();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
* * @throws RejectedExecutionException if the executor has been previously shutdown */ private void startTask() { synchronized (lock) { if (shutdown) { throw new RejectedExecutionException("Executor already shutdown"); } runningTasks++; } } /** Decrements the running task count. */ private void endTask() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt
} } fun performanceTestCommandLine( task: String, baselines: String, extraParameters: String = "", os: Os = Os.LINUX, arch: Arch = Arch.AMD64, testJavaVersion: String = os.perfTestJavaVersion.major.toString(), testJavaVendor: String = os.perfTestJavaVendor.name.lowercase(), ) = listOf( "$task${if (extraParameters.isEmpty()) "" else " $extraParameters"}",
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 4K bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
/// tip | Dica
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
return String.format("%s-%d-%d", resource.getClass().getSimpleName(), System.identityHashCode(resource), resourceIdCounter.incrementAndGet()); } /** * Start the cleanup task */ private void startCleanupTask() { if (cleanupTask != null) { cleanupTask.cancel(false); } cleanupTask = cleanupExecutor.scheduleWithFixedDelay(() -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
} @Override public ListenableFuture<V> reload(K key, V oldValue) { ListenableFutureTask<V> task = ListenableFutureTask.create(() -> loader.reload(key, oldValue).get()); executor.execute(task); return task; } @Override public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception { return loader.loadAll(keys);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/es/docs/advanced/async-tests.md
/// tip | Consejo
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4K bytes - Viewed (0) -
docs/em/docs/advanced/async-tests.md
🔬 🔢 🔜 🔁, 👆 💪 🔜 🤙 (& `await`) 🎏 `async` 🔢 ↖️ ⚪️➡️ 📨 📨 👆 FastAPI 🈸 👆 💯, ⚫️❔ 👆 🔜 🤙 👫 🙆 🙆 👆 📟. /// tip 🚥 👆 ⚔ `RuntimeError: Task attached to a different loop` 🕐❔ 🛠️ 🔁 🔢 🤙 👆 💯 (✅ 🕐❔ ⚙️ <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">✳ MotorClient</a>) 💭 🔗 🎚 👈 💪 🎉 ➰ 🕴 🏞 🔁 🔢, ✅ `'@app.on_event("startup")` ⏲.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.9K bytes - Viewed (0)