Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 840 for custom2 (0.05 seconds)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Custom minKey should match", "custom.min", customAnnotation.minKey());
            assertEquals("Custom maxKey should match", "custom.max", customAnnotation.maxKey());
            assertEquals("Annotation type should be CustomSize", CustomSize.class, customAnnotation.annotationType());
        }
    
        // Test annotation with empty keys
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/WebApiRequest.java

    /**
     * Wrapper for HTTP servlet requests in web API context.
     * This class extends HttpServletRequestWrapper to provide custom servlet path handling
     * for web API requests.
     */
    public class WebApiRequest extends HttpServletRequestWrapper {
        /**
         * The custom servlet path for this web API request.
         */
        protected String servletPath;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. tests/test_response_dependency.py

            response.headers["X-Custom"] = "modified"
            return response
    
        @app.get("/")
        def endpoint(response: Annotated[Response, Depends(modify_response)]):
            return {"status": "ok"}
    
        client = TestClient(app)
        resp = client.get("/")
    
        assert resp.status_code == 200
        assert resp.json() == {"status": "ok"}
        assert resp.headers.get("X-Custom") == "modified"
    
    
    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)
  4. README.md

    # Run tests for specific module
    mvn test -pl fess-crawler
    ```
    
    ## Examples
    
    ### Web Crawling with Custom Rules
    
    ```java
    // Create crawler with custom configuration
    StandardCrawlerContainer container = new StandardCrawlerContainer();
    
    // Configure HTTP client with custom settings
    container.singleton("httpClient", HcHttpClient.class, client -> {
        client.setUserAgent("MyBot/1.0");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Aug 31 05:32:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            result = virtualHostHelper.processVirtualHost(s -> "processed_" + s, "default");
            assertEquals("processed_site1", result); // Still site1 due to header precedence
    
            // Test with custom header
            request.addHeader("Custom-Header", "custom.value");
            result = virtualHostHelper.processVirtualHost(s -> "processed_" + s, "default");
            assertEquals("processed_site1", result); // Still site1 due to header precedence
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_experimental.h

      // be an empty string if no device was explicitly requested, but will
      // otherwise be the name of this custom device. Ops are placed onto a custom
      // device if any of their inputs are on that custom device, but custom devices
      // are free to set a bad status in order to require explicit placement.
      void (*execute)(const TFE_Op* op, int* num_outputs,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  7. docs/metrics/prometheus/grafana/minio-dashboard.json

            "uid": "${DS_PROMETHEUS}"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                }
              },
              "mappings": [
                {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 93.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

        private int numOfFragments;
        /** The offset for fragment positioning. */
        private int fragmentOffset;
        /** Custom pre-tags for highlighting (null uses OpenSearch defaults). */
        private String[] preTags;
        /** Custom post-tags for highlighting (null uses OpenSearch defaults). */
        private String[] postTags;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 10:17:07 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/response-headers.md

    ///
    
    ## Custom Headers { #custom-headers }
    
    Keep in mind that custom proprietary headers can be added [using the `X-` prefix](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  10. tests/test_dependency_contextvars.py

    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
        request_state = legacy_request_state_context_var.get()
        assert request_state
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
Back to Top