Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for intSum (0.19 sec)

  1. doc/go_spec.html

    func sum[T ~int | ~float64 | ~string](x... T) T { … }
    
    x := sum                       // illegal: the type of x is unknown
    intSum := sum[int]             // intSum has type func(x... int) int
    a := intSum(2, 3)              // a has value 5 of type int
    b := sum[float64](2.0, 3)      // b has value 5.0 of type float64
    c := sum(b, -1)                // c has value 4.0 of type float64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  2. src/fmt/format.go

    type fmt struct {
    	buf *buffer
    
    	fmtFlags
    
    	wid  int // width
    	prec int // precision
    
    	// intbuf is large enough to store %b of an int64 with a sign and
    	// avoids padding at the end of the struct on 32 bit architectures.
    	intbuf [68]byte
    }
    
    func (f *fmt) clearflags() {
    	f.fmtFlags = fmtFlags{}
    	f.wid = 0
    	f.prec = 0
    }
    
    func (f *fmt) init(buf *buffer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/response-status-code.md

    ```
    
    !!! note
        👀 👈 `status_code` 🔢 "👨‍🎨" 👩‍🔬 (`get`, `post`, ♒️). 🚫 👆 *➡ 🛠️ 🔢*, 💖 🌐 🔢 & 💪.
    
    `status_code` 🔢 📨 🔢 ⏮️ 🇺🇸🔍 👔 📟.
    
    !!! info
        `status_code` 💪 👐 📨 `IntEnum`, ✅ 🐍 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ⚫️ 🔜:
    
    * 📨 👈 👔 📟 📨.
    * 📄 ⚫️ ✅ 🗄 🔗 ( &amp; , 👩‍💻 🔢):
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/response-status-code.md

    O parâmetro `status_code` recebe um número com o código de status HTTP.
    
    !!! info "Informação"
        `status_code` também pode receber um `IntEnum`, como o do Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    Dessa forma:
    
    * Este código de status será retornado na resposta.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Oct 31 16:22:07 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-status-code.md

    Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben.
    
    !!! info
        Alternativ kann `status_code` auch ein `IntEnum` erhalten, so wie Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    Das wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:32:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/response-status-code.md

    Параметр `status_code` принимает число, обозначающее HTTP код статуса ответа.
    
    !!! info "Информация"
        В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a> в Python.
    
    Это позволит:
    
    * Возвращать указанный код статуса в ответе.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 25 18:44:34 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-status-code.md

    The `status_code` parameter receives a number with the HTTP status code.
    
    !!! info
        `status_code` can alternatively also receive an `IntEnum`, such as Python's <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    It will:
    
    * Return that status code in the response.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 29 14:02:58 UTC 2020
    - 4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/response-status-code.md

    ```
    
    !!! note "笔记"
    
        注意,`status_code` 是(`get`、`post` 等)**装饰器**方法中的参数。与之前的参数和请求体不同,不是*路径操作函数*的参数。
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    !!! info "说明"
    
        `status_code` 还能接收 `IntEnum` 类型,比如 Python 的 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>。
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:40:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/response-status-code.md

    !!! note "참고"
        `status_code` 는 "데코레이터" 메소드(`get`, `post` 등)의 매개변수입니다. 모든 매개변수들과 본문처럼 *경로 작동 함수*가 아닙니다.
    
    `status_code` 매개변수는 HTTP 상태 코드를 숫자로 입력받습니다.
    
    !!! info "정보"
        `status_code` 는 파이썬의 `http.HTTPStatus` 와 같은 `IntEnum` 을 입력받을 수도 있습니다.
    
    `status_code` 매개변수는:
    
    * 응답에서 해당 상태 코드를 반환합니다.
    * 상태 코드를 OpenAPI 스키마(및 사용자 인터페이스)에 문서화 합니다.
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image01.png">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:06:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/response-status-code.md

    `status_code`パラメータはHTTPステータスコードを含む数値を受け取ります。
    
    !!! info "情報"
        `status_code`は代わりに、Pythonの<a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>のように、`IntEnum`を受け取ることもできます。
    
    これは:
    
    * レスポンスでステータスコードを返します。
    * OpenAPIスキーマ(およびユーザーインターフェース)に以下のように文書化します:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image01.png">
    
    !!! note "備考"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 15:42:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top