Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,200 for PARAMETERS (0.18 seconds)

  1. docs/zh-hant/docs/tutorial/header-param-models.md

    # 標頭參數模型 { #header-parameter-models }
    
    如果你有一組相關的標頭參數,可以建立一個 Pydantic 模型來宣告它們。
    
    這能讓你在多處重複使用該模型,並一次性為所有參數宣告驗證與中繼資料。😎
    
    /// note | 注意
    
    自 FastAPI 版本 `0.115.0` 起支援。🤓
    
    ///
    
    ## 以 Pydantic 模型宣告標頭參數 { #header-parameters-with-a-pydantic-model }
    
    在 Pydantic 模型中宣告你需要的標頭參數,然後將參數宣告為 `Header`:
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    FastAPI 會從請求的標頭為每個欄位擷取資料,並交給你已定義的 Pydantic 模型實例。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. fastapi/.agents/skills/fastapi/references/dependencies.md

    * They need to handle cleanup (e.g., DB sessions, file handles), using dependencies with `yield`
    * Their logic needs input data from the request, like headers, query parameters, etc.
    
    ## Dependencies with `yield` and `scope`
    
    When using dependencies with `yield`, they can have a `scope` that defines when the exit code is run.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

    /**
     * Query command implementation for handling fuzzy search queries.
     * This class converts Lucene FuzzyQuery objects into OpenSearch fuzzy query builders,
     * supporting configurable fuzzy matching parameters like edit distance and expansions.
     *
     */
    public class FuzzyQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(FuzzyQueryCommand.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/header-param-models.md

    如果您有一组相关的 **header 参数**,您可以创建一个 **Pydantic 模型**来声明它们。
    
    这将允许您在**多个地方**能够**重用模型**,并且可以一次性声明所有参数的验证和元数据。😎
    
    /// note | 注意
    
    自 FastAPI 版本 `0.115.0` 起支持此功能。🤓
    
    ///
    
    ## 使用 Pydantic 模型的 Header 参数 { #header-parameters-with-a-pydantic-model }
    
    在 **Pydantic 模型**中声明所需的 **header 参数**,然后将参数声明为 `Header` :
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        }
      }
    
      /**
       * Asserts that the given throwable has the given class and then asserts on the message as using
       * the full set of method parameters.
       */
      private void assertFailureCause(
          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

        }
      }
    
      /**
       * Asserts that the given throwable has the given class and then asserts on the message as using
       * the full set of method parameters.
       */
      private void assertFailureCause(
          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  8. architecture/standards/0008-use-nullaway.md

      * When annotating existing internal code, use `org.jetbrains.annotations.Contract`, e.g. `@Contract(null -> null; !null -> !null)`.
          When doing so, still annotate nullable parameters and the return type as `@Nullable`.
      * Do not use `@Contract` for public APIs.
      * For polynull public APIs, the solution has to be decided on a case-by-case basis.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/compression/CompressionService.java

         * @throws CIFSException if decompression fails
         */
        byte[] decompress(byte[] compressedData, int algorithm) throws CIFSException;
    
        /**
         * Decompresses data with offset and length parameters.
         *
         * @param compressedData the compressed data buffer
         * @param offset the offset in the buffer
         * @param length the length of compressed data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

        // we cannot use individual @Params as some will lead to invalid combinations which do not let the benchmark terminate. JMH offers no
        // support to constrain the combinations of benchmark parameters and we do not want to rely on OptionsBuilder as each benchmark would
        // need its own main method and we cannot execute more than one class with a main method per JAR.
        @Param(
            {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
Back to Top