- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 424 for task_b (0.08 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt
* decide not to by returning -1L. * * Task Queues * ----------- * * Tasks are bound to the [TaskQueue] they are scheduled in. Each queue is sequential and the tasks * within it never execute concurrently. It is an error to use a task in multiple queues. */ abstract class Task( val name: String, val cancelable: Boolean = true, ) { // Guarded by the TaskRunner. internal var queue: TaskQueue? = null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *} ## Add the background task Inside of your *path operation function*, pass your task function to the *background tasks* object with the method `.add_task()`: {* ../../docs_src/background_tasks/tutorial001.py hl[14] *} `.add_task()` receives as arguments: * A task function to be run in the background (`write_notification`).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:22:48 UTC 2024 - 4.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts
println("##teamcity[buildProblem description='${buildScanUri}/console-log?task=$it']") } } } fun shouldBeReportedAsTeamCityBuildProblem(task: Task) = task is Checkstyle || task is Detekt || task is AbstractCompile || task is CodeNarc abstract class CollectFailedTaskPathsBuildService : AbstractBuildScanInfoCollectingService() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 20 08:07:01 UTC 2024 - 2.3K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts
* limitations under the License. */ plugins { java } val validateTaskName = "validatePlugins" val reportFileName = "task-properties/report.txt" tasks.register<ValidatePlugins>(validateTaskName) { val main = project.sourceSets.main.get() classes.from(main.output) classpath.from(main.runtimeClasspath)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jan 20 15:24:40 UTC 2023 - 1008 bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* cancelled). * * <p>This class serializes execution of <i>submitted</i> tasks but not any <i>listeners</i> of * those tasks. * * <p>Submitted tasks have a happens-before order as defined in the Java Language Specification. * Tasks execute with the same happens-before order that the function calls to {@link #submit} and * {@link #submitAsync} that submitted those tasks had. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
AfterOtherTasks, } /** Returns the task that was started, or null if there were no tasks to start. */ private fun startNextTask(): SerialTask? { taskRunner.assertThreadHoldsLock() val index = serialTaskQueue.indexOfFirst { it.isReady() } if (index == -1) return null val nextTask = serialTaskQueue.removeAt(index)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* cancelled). * * <p>This class serializes execution of <i>submitted</i> tasks but not any <i>listeners</i> of * those tasks. * * <p>Submitted tasks have a happens-before order as defined in the Java Language Specification. * Tasks execute with the same happens-before order that the function calls to {@link #submit} and * {@link #submitAsync} that submitted those tasks had. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
docs/en/docs/management-tasks.md
# Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by [team members](./fastapi-people.md#team){.internal-link target=_blank}. /// tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can probably skip it. π /// ...so, you are a [team member of FastAPI](./fastapi-people.md#team){.internal-link target=_blank}? Wow, you are so cool! π
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 16 21:56:33 UTC 2024 - 14.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// Pack 3 variable handles into one TFE_TensorHandle. // When remote is false, function device is placed on task0. Handle types are // REMOTE, REMOTE, LOCAL on task0. When remote is true, function device is // placed on task1, Handle types are LOCAL, REMOTE, LOCAL on task1. int num_replicas = 3; std::vector<TFE_TensorHandle*> handles = {h0, h1, h2}; TFE_TensorHandle* packed_handle =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/background-tasks.md
```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## ΠΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ ΡΠΎΠ½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠΈ ΠΠ½ΡΡΡΠΈ ΡΡΠ½ΠΊΡΠΈΠΈ Π²ΡΠ·ΠΎΠ²ΠΈΡΠ΅ ΠΌΠ΅ΡΠΎΠ΄ `.add_task()` Ρ ΠΎΠ±ΡΠ΅ΠΊΡΠ° *background tasks* ΠΈ ΠΏΠ΅ΡΠ΅Π΄Π°ΠΉΡΠ΅ Π΅ΠΌΡ ΡΡΠ½ΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΡΡ Ρ ΠΎΡΠΈΡΠ΅ Π²ΡΠΏΠΎΠ»Π½ΠΈΡΡ Π² ΡΠΎΠ½Π΅: ```Python hl_lines="14" {!../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` ΠΏΡΠΈΠ½ΠΈΠΌΠ°Π΅Ρ ΡΠ»Π΅Π΄ΡΡΡΠΈΠ΅ Π°ΡΠ³ΡΠΌΠ΅Π½ΡΡ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0)