Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,478 for Operations (0.31 sec)

  1. docs/en/docs/advanced/response-headers.md

    # Response Headers { #response-headers }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_Graph* graph = TF_NewGraph();
    
      // Make a placeholder operation.
      TF_Operation* feed = Placeholder(graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Make a constant operation with the scalar "2".
      TF_Operation* two = ScalarConst(2, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Add operation.
      TF_Operation* add = Add(feed, two, graph, s);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/additional-status-codes.md

    # 추가 상태 코드
    
    기본적으로 **FastAPI**는 응답을 `JSONResponse`를 사용하여 반환하며, *경로 작업(path operation)*에서 반환한 내용을 해당 `JSONResponse` 안에 넣어 반환합니다.
    
    기본 상태 코드 또는 *경로 작업*에서 설정한 상태 코드를 사용합니다.
    
    ## 추가 상태 코드
    
    기본 상태 코드와 별도로 추가 상태 코드를 반환하려면 `JSONResponse`와 같이 `Response`를 직접 반환하고 추가 상태 코드를 직접 설정할 수 있습니다.
    
    예를 들어 항목을 업데이트할 수 있는 *경로 작업*이 있고 성공 시 200 “OK”의 HTTP 상태 코드를 반환한다고 가정해 보겠습니다.
    
    하지만 새로운 항목을 허용하기를 원할 것입니다. 항목이 이전에 존재하지 않았다면 이를 생성하고 HTTP 상태 코드 201 "Created"를 반환합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:22:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /** The IDs of label types associated with this file configuration. */
        public String[] labelTypeIds;
    
        /** The CRUD operation mode for this form. */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** The name of the file configuration (required, maximum 200 characters). */
        @Required
        @Size(max = 200)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
            String message = "Storage operation failed";
            Exception cause = new RuntimeException("Underlying error");
            StorageException exception = new StorageException(message, cause);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @return minimum size in bytes for compression to be beneficial
         */
        int getMinCompressionSize();
    
        /**
         * Gets the maximum data size that can be compressed in a single operation.
         *
         * @return maximum size in bytes that can be compressed
         */
        int getMaxCompressionSize();
    
        /**
         * Gets a human-readable name for the compression algorithm.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/background-tasks.md

    ## Використання `BackgroundTasks`
    
    Спочатку імпортуйте `BackgroundTasks` і додайте його як параметр у Вашу *функцію операції шляху* (path operation function) до `BackgroundTasks`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** автоматично створить об'єкт `BackgroundTasks` і передасть його у цей параметр.
    
    
    ## Створення функції задачі
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:34:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/header-params.md

    For example, to declare a header of `X-Token` that can appear more than once, you can write:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    If you communicate with that *path operation* sending two HTTP headers like:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    The response would be like:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /** CRUD operation mode (CREATE, EDIT, etc.) */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** Configuration name for identifying this data source */
        @Required
        @Size(max = 200)
        public String name;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashingInputStream.java

      }
    
      /** mark() is not supported for HashingInputStream */
      @Override
      public void mark(int readlimit) {}
    
      /**
       * reset() is not supported for HashingInputStream.
       *
       * @throws IOException this operation is not supported
       */
      @Override
      public void reset() throws IOException {
        throw new IOException("reset not supported");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top