Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 3,751 for toType (0.07 seconds)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

        }
    
        /**
         * Converts an object to the specified type.
         * Supports conversion to String, Date, Long, Integer, Double, Float, and Boolean types.
         *
         * @param <T> the type to convert the value to
         * @param value the value to convert
         * @param clazz the target class type
         * @return the converted value or null if conversion is not supported
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
        public ArtifactHandler getArtifactHandler(String type) {
            requireNonNull(type, "null type");
            ArtifactHandler handler = allHandlers.get(type);
            if (handler == null) {
                handler = artifactHandlers.get(type);
                if (handler == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. .github/ISSUE_TEMPLATE/enhancement.yaml

    name: Enhancement Tracking Issue
    description: Provide supporting details for a feature in development
    labels: kind/feature
    body:
      - type: textarea
        id: feature
        attributes:
          label: What would you like to be added?
          description: |
            Feature requests are unlikely to make progress as issues. Please consider engaging with SIGs on slack and mailing lists, instead.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Oct 05 16:55:38 GMT 2021
    - 750 bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/orig/view/profile/index.jsp

    <link href="${fe:url('/css/admin/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/font-awesome.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/adminlte.min.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/admin/style.css')}" rel="stylesheet" type="text/css" />
    <!--[if lt IE 9]>
    <script src="${fe:url('/css/admin/html5shiv.min.js')}"></script>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        }
    
        // Test annotation type
        @Test
        public void test_annotationType() throws Exception {
            final Field field = CustomSizeTest.class.getDeclaredField("testField");
            final CustomSize annotation = field.getAnnotation(CustomSize.class);
    
            assertEquals("Annotation type should be CustomSize", CustomSize.class, annotation.annotationType());
        }
    
    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)
  6. docs/zh-hant/docs/advanced/custom-response.md

    但如果你直接回傳一個 `Response`(或其子類別,例如 `JSONResponse`),資料將不會被自動轉換(即使你宣告了 `response_model`),而且文件也不會自動產生(例如,在產生的 OpenAPI 中包含 HTTP 標頭 `Content-Type` 的特定「media type」)。
    
    你也可以在「路徑操作裝飾器」中使用 `response_class` 參數,宣告要使用的 `Response`(例如任意 `Response` 子類別)。
    
    你從「路徑操作函式」回傳的內容,會被放進該 `Response` 中。
    
    /// note
    
    若你使用的回應類別沒有 media type,FastAPI 會假設你的回應沒有內容,因此不會在產生的 OpenAPI 文件中記錄回應格式。
    
    ///
    
    ## JSON 回應 { #json-responses }
    
    FastAPI 預設回傳 JSON 回應。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/util/MimeMap.java

            return getMimeType(extension, "application/octet-stream");
        }
    
        /**
         * Returns the MIME type for the given file extension with a custom default.
         *
         * @param extension the file extension to look up (without the dot)
         * @param def the default MIME type to return if no mapping is found
         * @return the MIME type for the extension, or the specified default if not found
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/SneakyThrows.java

       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 30 18:44:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/SneakyThrows.java

       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 30 18:44:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. tests/test_request_params/test_body/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    def test_optional_str_missing():
        client = TestClient(app)
        response = client.post("/optional-str")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top