- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 322 for tasks (0.02 sec)
-
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) -
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) -
docs/ko/docs/advanced/async-tests.md
/// tip | ν ν μ€νΈμ λΉλκΈ° ν¨μ νΈμΆμ ν΅ν©ν λ (μ: <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDBμ MotorClient</a>λ₯Ό μ¬μ©ν λ) `RuntimeError: Task attached to a different loop` μ€λ₯κ° λ°μνλ€λ©΄, μ΄λ²€νΈ 루νκ° νμν κ°μ²΄λ λ°λμ λΉλκΈ° ν¨μ λ΄μμλ§ μΈμ€ν΄μ€νν΄μΌ νλ€λ μ μ μ£ΌμνμΈμ! μλ₯Ό λ€μ΄ `@app.on_event("startup")` μ½λ°± λ΄μμ μΈμ€ν΄μ€ννλ κ²μ΄ μ’μ΅λλ€.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 11:03:16 UTC 2024 - 4.7K 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) -
src/main/java/org/codelibs/curl/CurlRequest.java
if (connection != null) { connection.disconnect(); } } }; if (threadPool != null) { threadPool.execute(task); } else { task.run(); } } /** * Opens a connection to the specified URL. * * @param u the URL * @return the HttpURLConnection
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
private final ExecutionList executionList = new ExecutionList(); /** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code * Callable}. * * @param callable the callable task * @since 10.0 */ public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { return new ListenableFutureTask<>(callable); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0)