Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 611 for Task (0.02 seconds)

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

    import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException;
    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    
    /**
     * <p>
     * Calculates the task segments in the build
     * </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 interface LifecycleTaskSegmentCalculator {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/async-tests.md

    テスト関数が非同期になったので、FastAPI アプリへのリクエスト送信以外の `async` 関数も、コードの他の場所と同様に呼び出して(`await` して)使えます。
    
    /// tip | 豆知識
    
    テストに非同期関数呼び出しを統合した際に(例: [MongoDB の MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop) 使用時)、`RuntimeError: Task attached to a different loop` に遭遇した場合は、イベントループを必要とするオブジェクトは非同期関数内でのみインスタンス化するようにしてください。例えば `@app.on_event("startup")` コールバック内で行います。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

                });
    
                validateNonNull("scm", model.getScm(), () -> validateString("scm.url", model.getScm().getUrl()));
            }
            if (foundError) {
                throw new GradleException("Check failed for task '" + getPath() + "', see console log for details");
            }
        }
    
        private void logError(String element, String message) {
            foundError = true;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  4. docs/en/docs/_llm-test.md

    * the GitHub issue
    
    * the performance
    * the performance optimization
    
    * the return type
    * the return value
    
    * the security
    * the security scheme
    
    * the task
    * the background task
    * the task function
    
    * the template
    * the template engine
    
    * the type annotation
    * the type hint
    
    * the server worker
    * the Uvicorn worker
    * the Gunicorn Worker
    * the worker process
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

    import org.gradle.work.DisableCachingByDefault;
    
    import javax.inject.Inject;
    import java.util.Arrays;
    
    /**
     * Serves the given directory with a simple HTTP server.
     */
    @DisableCachingByDefault(because = "This task starts a HTTP server and should not be cached.")
    public abstract class ServeDocs extends DefaultTask {
        @InputFiles
        @PathSensitive(PathSensitivity.RELATIVE)
        protected abstract DirectoryProperty getDocsDirectory();
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_test.cc

      tensorflow::JobDef* job_def2 = cluster_def->add_job();
      job_def2->set_name("worker");
    
      // Copy over `host:port` at `task_index`
      for (auto task : cluster_server_def.cluster().job(0).tasks()) {
        if (task.first == task_index) {
          job_def2->mutable_tasks()->insert({task.first, task.second});
        }
      }
    
      return single_host_server_def;
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  7. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // tasks to initialize the eager context and TF server for multi-client
      // execution.
      virtual absl::Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Check if the remote task is alive.
      virtual absl::Status CheckRemoteAlive(const std::string& remote_task_name,
                                            bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

         * converted to `// CONSOLE` but have yet to be converted. If a file is in
         * this list and doesn't contain unconverted snippets this task will fail.
         * If there are unconverted snippets not in this list then this task will
         * fail. All files are paths relative to the docs dir.
         */
        @Input
        List<String> expectedUnconvertedCandidates = []
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with timeout set
            execJob.timeout = 10;
            execJob.sessionId = "test-session";
            TimeoutTask task = execJob.testCreateTimeoutTask();
            assertNotNull(task);
    
            // Clean up timeout task
            task.cancel();
        }
    
        // Test createSystemProperties method
        @Test
        public void test_createSystemProperties() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[1,13] *}
    
    **FastAPI** は、`BackgroundTasks` 型のオブジェクトを作成し、そのパラメーターに渡します。
    
    ## タスク関数の作成 { #create-a-task-function }
    
    バックグラウンドタスクとして実行される関数を作成します。
    
    これは、パラメーターを受け取ることができる単なる標準的な関数です。
    
    これは `async def` または通常の `def` 関数であり、**FastAPI** はこれを正しく処理します。
    
    ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top