Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 742 for task (0.03 sec)

  1. okhttp/src/commonJvmAndroid/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o instanceof Task task) {
                return Objects.equals(getClass(), task.getClass()) && Objects.equals(value, task.value);
            } else {
                return false;
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getClass(), value);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jan 20 15:24:40 UTC 2023
    - 1008 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py39.py hl[6:9] *}
    
    ## Add the background task { #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_py39.py hl[14] *}
    
    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 20:57:49 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       * started. Similarly the task will be delayed if the host lacks compute resources.
       *
       * @throws RejectedExecutionException if the queue is shut down and the task is not cancelable.
       */
      fun schedule(
        task: Task,
        delayNanos: Long = 0L,
      ) {
        taskRunner.withLock {
          if (shutdown) {
            if (task.cancelable) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                task.dependsOn(tasks.named("assembleSamples"));
            });
    
            tasks.named(LifecycleBasePlugin.CHECK_TASK_NAME, task -> task.dependsOn(checkDeadInternalLinks));
        }
    
        private void checkMultiLangSnippetsAreValid(ProjectLayout layout, TaskContainer tasks, GradleDocumentationExtension extension) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 04 14:26:28 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            List<TaskSegment> taskSegments = new ArrayList<>(tasks.size());
    
            TaskSegment currentSegment = null;
    
            for (String task : tasks) {
                if (isBeforeOrAfterPhase(task)) {
                    String prevTask = task;
                    task = PhaseId.of(task).phase();
                    LOGGER.warn("Illegal call to phase '{}'. The main phase '{}' will be used instead.", prevTask, task);
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:07:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.setGroup("release notes");
                task.setDescription("Generate release notes HTML page from Markdown.");
    
                task.getInputEncoding().convention(Charset.defaultCharset().name());
                task.getOutputEncoding().convention(Charset.defaultCharset().name());
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri May 16 18:26:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

            ) -> false
    
            // Core tasks
            task.name in listOf(
                "components",
                "dependantComponents",
                "model",
            ) -> true
    
            task.name.startsWithAnyOf(
                "publish",
                "idea",
            ) -> true
    
            task is GradleBuild -> true
    
            // gradle/gradle build tasks
            task.name in listOf(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jan 15 16:07:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top