Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,093 for executions (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

          )
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
      }
    
      /** Confirm suppressed exceptions that occur while connecting are returned. */
      @Test fun connectExceptionsAreReturnedAsSuppressed() {
        val proxySelector = RecordingProxySelector()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. src/main/resources/fess_label.properties

    labels.crawling_info_CrawlerExecTime=Crawler Execution Time
    labels.crawling_info_CrawlerStatus=Crawler Status
    labels.crawling_info_WebFsCrawlExecTime=Crawl Execution Time (Web/File)
    labels.crawling_info_WebFsCrawlStartTime=Crawl Start Time (Web/File)
    labels.crawling_info_WebFsCrawlEndTime=Crawl End Time (Web/File)
    labels.crawling_info_WebFsIndexExecTime=Indexing Execution Time (Web/File)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 48.9K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/handling-errors.md

    一般情况下你可能不会在代码中直接使用它。
    
    但在某些高级场景中需要时,你可以添加自定义响应头:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## 安装自定义异常处理器 { #install-custom-exception-handlers }
    
    可以使用[与 Starlette 相同的异常处理工具](https://www.starlette.dev/exceptions/)添加自定义异常处理器。
    
    假设有一个自定义异常 `UnicornException`(你自己或你使用的库可能会 `raise` 它)。
    
    并且你希望用 FastAPI 在全局处理该异常。
    
    此时,可以用 `@app.exception_handler()` 添加自定义异常处理器:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

         */
        public UpdateLabelJob() {
            super();
        }
    
        /**
         * Executes the label update job.
         * Processes documents in the search index and updates their label fields.
         *
         * @return execution result message
         */
        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  6. docs_src/custom_request_and_route/tutorial002_an_py310.py

    from collections.abc import Callable
    from typing import Annotated
    
    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 974 bytes
    - Click Count (0)
  7. tests/test_empty_router.py

    import pytest
    from fastapi import APIRouter, FastAPI
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jun 11 22:37:34 GMT 2023
    - 805 bytes
    - Click Count (1)
  8. tests/test_response_model_invalid.py

    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError
    
    
    class NonPydanticModel:
        pass
    
    
    def test_invalid_response_model_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=NonPydanticModel)
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_raises():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

     */
    public class PhaseId {
        /**
         * Interned {@link PhaseId} instances.
         */
        private static final Map<String, PhaseId> INSTANCES = new WeakHashMap<>();
    
        /**
         * The execution point of this {@link PhaseId}.
         */
        private final PhaseExecutionPoint executionPoint;
    
        /**
         * The static phase that this dynamic phase belongs to.
         */
        private final String phase;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.RangeQueryBuilder;
    
    /**
     * Command class for handling term range query execution and conversion.
     * This class processes Lucene TermRangeQuery objects and converts them to OpenSearch QueryBuilder instances.
     */
    public class TermRangeQueryCommand extends QueryCommand {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top