Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,854 for Parameter (0.06 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testConstructorWithIllegalShareAccess() {
                // Test that constructor throws RuntimeException for illegal shareAccess parameter
                String url = "smb1://server/share/file.txt";
                int illegalShareAccess = 99; // Not a valid combination
                assertThrows(RuntimeException.class, () -> new SmbFile(url, null, illegalShareAccess));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/path-params.md

    # 路径参数 { #path-parameters }
    
    你可以使用与 Python 字符串格式化相同的语法声明路径“参数”或“变量”:
    
    {* ../../docs_src/path_params/tutorial001_py310.py hl[6:7] *}
    
    路径参数 `item_id` 的值会作为参数 `item_id` 传递给你的函数。
    
    运行示例并访问 [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo),可获得如下响应:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## 声明路径参数的类型 { #path-parameters-with-types }
    
    使用 Python 标准类型注解,声明路径操作函数中路径参数的类型:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            final String originalPath = "/original/path";
            final String customPath = "/api/v1/search";
            mockRequest.setServletPath(originalPath);
            // Contains "SAStruts.method" as substring in parameter value
            mockRequest.setQueryString("query=SAStruts.methodTest&page=1");
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. scripts/general-llm-prompt.md

    Example:
    
    Source (English):
    
    ```
    [Body - Multiple Parameters: Singular values in body](body-multiple-params.md#singular-values-in-body){.internal-link target=_blank}
    ```
    
    Existing wrong translation (German) - notice the wrongly translated anchor fragment:
    
    ```
    [Body - Mehrere Parameter: Einfache Werte im Body](body-multiple-params.md#einzelne-werte-im-body){.internal-link target=_blank}.
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    
    import java.lang.annotation.Annotation;
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    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. apache-maven/src/assembly/maven/conf/settings.xml

      -->
    
      <!-- interactiveMode
       | This will determine whether maven prompts you when it needs input. If set to false,
       | maven will use a sensible default value, perhaps based on some other setting, for
       | the parameter in question.
       |
       | Default: true
      <interactiveMode>true</interactiveMode>
      -->
    
      <!-- offline
       | Determines whether maven should attempt to connect to the network when executing a build.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 07:44:50 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/body-multiple-params.md

    # 请求体 - 多个参数 { #body-multiple-parameters }
    
    既然我们已经知道了如何使用 `Path` 和 `Query`,下面让我们来了解一下请求体声明的更高级用法。
    
    ## 混合使用 `Path`、`Query` 和请求体参数 { #mix-path-query-and-body-parameters }
    
    首先,毫无疑问地,你可以随意地混合使用 `Path`、`Query` 和请求体参数声明,**FastAPI** 会知道该如何处理。
    
    你还可以通过将默认值设置为 `None` 来将请求体参数声明为可选参数:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note | 注意
    
    请注意,在这种情况下,将从请求体获取的 `item` 是可选的。因为它的默认值为 `None`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbOperationException.java

                                    false), QUOTA_EXCEEDED("Quota exceeded", ErrorCategory.RESOURCE, false),
    
            // Protocol errors
            INVALID_PARAMETER("Invalid parameter", ErrorCategory.PROTOCOL, false), NOT_SUPPORTED("Operation not supported",
                    ErrorCategory.PROTOCOL, false), INVALID_PROTOCOL("Invalid protocol", ErrorCategory.PROTOCOL,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        "Cannot read project model from interpolating filter of serialized version.", e);
            }
    
            return model;
        }
    
        /**
         * Interpolates all expressions in the src parameter.
         * <p>
         * The algorithm used for each expression is:
         * <ul>
         *   <li>If it starts with either "pom." or "project.", the expression is evaluated against the model.</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbTreeTest.java

            // Verify close was called, but implementation should handle idempotency
            verify(idempotentTree, times(2)).close();
        }
    
        /**
         * Test for unwrap with null parameter.
         * Verifies behavior when null is passed to unwrap.
         */
        @Test
        void testUnwrap_withNullParameter() {
            when(smbTree.unwrap(null)).thenThrow(new NullPointerException("Type cannot be null"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top