Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 156 for endPoint (1.24 seconds)

  1. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

            // Utility class
        }
    
        /**
         * Auto-detect storage type from endpoint URL.
         *
         * @param endpoint the storage endpoint URL
         * @return detected storage type
         */
        public static StorageType detectStorageType(final String endpoint) {
            if (StringUtil.isBlank(endpoint)) {
                // Default to S3 if no endpoint (uses AWS default)
                return StorageType.S3;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. tests/test_pydantic_v1_error.py

            @app.post("/param")
            def endpoint(data: ParamModelV1):  # pragma: no cover
                return data
    
    
    def test_raises_pydantic_v1_model_in_return_type() -> None:
        class ReturnModelV1(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.get("/return")
            def endpoint() -> ReturnModelV1:  # pragma: no cover
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. tests/test_dependency_wrapped.py

    @app.get("/wrapped-class-dependency/")
    async def get_wrapped_class_dependency(value: ClassDep = Depends(wrapped_class_dep)):
        return value.value
    
    
    @app.get("/wrapped-endpoint/")
    @noop_wrap
    def get_wrapped_endpoint():
        return True
    
    
    @app.get("/async-wrapped-endpoint/")
    @noop_wrap
    async def get_async_wrapped_endpoint():
        return True
    
    
    # Async wrapper
    
    
    @noop_wrap_async
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. tests/test_response_dependency.py

        modifications to it in the endpoint should be preserved.
        """
        app = FastAPI()
    
        def default_response() -> Response:
            response = JSONResponse(content={"status": "ok"})
            response.headers["X-Custom"] = "initial"
            return response
    
        @app.get("/")
        def endpoint(response: Annotated[Response, Depends(default_response)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            // For non-AWS endpoints (MinIO, etc.), set custom endpoint with path-style access
            if (StringUtil.isNotBlank(endpoint)) {
                builder.endpointOverride(URI.create(endpoint)).forcePathStyle(true);
            }
    
            this.s3Client = builder.build();
        }
    
        private String getRegion(final String region) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/MutableNetwork.java

       * also be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
       * {@link #addNode(Object) add} each missing endpoint to the graph.
       *
       * <p>If {@code edge} already connects an endpoint pair equal to {@code endpoints}, then this
       * method will have no effect.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            final String endpoint = getInitParameter("endpoint", null, String.class);
            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            }
    
            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        nextInBucketKToV = createFilledWithAbsent(expectedSize);
        nextInBucketVToK = createFilledWithAbsent(expectedSize);
    
        firstInInsertionOrder = ENDPOINT;
        lastInInsertionOrder = ENDPOINT;
    
        prevInInsertionOrder = createFilledWithAbsent(expectedSize);
        nextInInsertionOrder = createFilledWithAbsent(expectedSize);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  10. tests/test_stream_cancellation.py

        # cancel_scope.cancelled_caught is True when move_on_after fired.
        return cancel_scope.cancelled_caught or len(chunks) > 0
    
    
    async def test_raw_stream_cancellation() -> None:
        """Raw streaming endpoint should be cancellable within a reasonable time."""
        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top