Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 742 for task (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

      public <T extends @Nullable Object> Future<T> submit(Callable<T> task) {
        return delegate().submit(task);
      }
    
      @Override
      public Future<?> submit(Runnable task) {
        return delegate().submit(task);
      }
    
      @Override
      public <T extends @Nullable Object> Future<T> submit(
          Runnable task, @ParametricNullness T result) {
        return delegate().submit(task, result);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            }
        }
    
        private
        fun Task.findTraceJson(): List<File> {
            if (this !is Test) {
                return emptyList()
            }
            // e.g. build/test-results/embeddedIntegTest/trace.json
            return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile)
        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * identify deadlocks.
       */
      @VisibleForTesting
      static final class Blocker extends AbstractOwnableSynchronizer implements Runnable {
        private final InterruptibleTask<?> task;
    
        private Blocker(InterruptibleTask<?> task) {
          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * implemented as "no-effort". No interrupts or other attempts are made to stop threads executing
       * tasks. Second, the returned list will always be empty, as any submitted task is considered to
       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

    import common.toCapitalized
    import model.CIBuildModel
    import model.Stage
    
    class SmokeTests(
        model: CIBuildModel,
        stage: Stage,
        testJava: JvmCategory,
        id: String,
        task: String = "smokeTest",
        splitNumber: Int = 1,
        flakyTestStrategy: FlakyTestStrategy,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            final List<MojoExecution> mojoExecutions = new ArrayList<>();
    
            for (Task task : tasks) {
                if (task instanceof GoalTask) {
                    String pluginGoal = task.getValue();
    
                    String executionId = "default-cli";
                    int executionIdx = pluginGoal.indexOf('@');
                    if (executionIdx > 0) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

                if (AGGR.equals(task)) {
                    boolean aggregating = true;
    
                    if (currentSegment == null || currentSegment.isAggregating() != aggregating) {
                        currentSegment = new TaskSegment(aggregating);
                        taskSegments.add(currentSegment);
                    }
    
                    currentSegment.getTasks().add(new GoalTask(task));
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py39.py hl[1,13] *}
    
    **FastAPI** создаст объект типа `BackgroundTasks` для вас и передаст его через этот параметр.
    
    ## Создание функции для фоновой задачи { #create-a-task-function }
    
    Создайте функцию, которую нужно запустить как фоновую задачу.
    
    Это обычная функция, которая может принимать параметры.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top