Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 582 for task (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/GoalTask.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    /**
     * A task that is a goal.
     * <p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    public final class GoalTask extends Task {
        public GoalTask(String pluginGoal) {
            super(pluginGoal);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            final Tuple3<String, String, String> task = new Tuple3<>(getName(), thumbnailId, path);
            if (logger.isDebugEnabled()) {
                logger.debug("Create thumbnail task: {}", task);
            }
            return task;
        }
    
        public void setDirectoryNameLength(final int directoryNameLength) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.cc

        job_def->mutable_tasks()->insert(
            {i, tensorflow::strings::StrCat("localhost:", port)});
        LOG(INFO) << "Picked test port: " << port << " for job: " << job_name
                  << ", task: " << i;
      }
      return server_def;
    }
    
    tensorflow::ServerDef GetServerDef(int num_tasks) {
      return GetServerDef("localhost", num_tasks);
    }
    
    tensorflow::ServerDef GetMultiClientServerDef(const std::string& job_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  4. docs/en/docs/async.md

    It's called "asynchronous" because the computer / program doesn't have to be "synchronized" with the slow task, waiting for the exact moment that the task finishes, while doing nothing, to be able to take the task result and continue the work.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
          Callable<O> callable, Executor executor) {
        TrustedListenableFutureTask<O> task = TrustedListenableFutureTask.create(callable);
        executor.execute(task);
        return task;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

            setupPluginRequirements()
        }
    
        /**
         * Create projects and files required for plugins applied to the project (including transitively applied plugins).
         * These files are not required to run the task itself, but are required to apply the binary-compatibility plugin.
         */
        protected
        fun setupPluginRequirements() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Nov 28 21:09:42 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/background-tasks.md

    在你的 *路径操作函数* 里,用 `.add_task()` 方法将任务函数传到 *后台任务* 对象中:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` 接收以下参数:
    
    * 在后台运行的任务函数(`write_notification`)。
    * 应按顺序传递给任务函数的任意参数序列(`email`)。
    * 应传递给任务函数的任意关键字参数(`message="some notification"`)。
    
    ## 依赖注入
    
    使用 `BackgroundTasks` 也适用于依赖注入系统,你可以在多个级别声明 `BackgroundTasks` 类型的参数:在 *路径操作函数* 里,在依赖中(可依赖),在子依赖中,等等。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.project.MavenProject;
    
    /**
     * A build context that matches a Maven project to a given task segment, and the session to be used.
     * <p>
     * A note to the reader;
     * </p>
     * <p>
     * There are several issues/discussions regarding how "aggregator" plugins should be handled.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

    public class CacheLoaderTest extends TestCase {
    
      private static class QueuingExecutor implements Executor {
        private final Deque<Runnable> tasks = Queues.newArrayDeque();
    
        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

        /**
         * Returns aProjectBuildList that contains only items for the specified taskSegment
         * @param taskSegment the requested task segment
         * @return a project build list for the supplied task segment
         */
        public ProjectBuildList getByTaskSegment(TaskSegment taskSegment) {
            return new ProjectBuildList(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top