Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for intSum (0.07 seconds)

  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
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  2. 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 [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) do Python.
    
    ///
    
    Dessa forma:
    
    * Este código de status será retornado na resposta.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/response-status-code.md

    ///
    
    Параметр `status_code` приймає число з HTTP кодом статусу.
    
    /// info | Інформація
    
    `status_code` також може, як альтернативу, приймати `IntEnum`, наприклад, Python [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus).
    
    ///
    
    Він буде:
    
    * Повертати цей код статусу у відповіді.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/response-status-code.md

    ///
    
    El parámetro `status_code` recibe un número con el código de estado HTTP.
    
    /// info | Información
    
    `status_code` también puede recibir un `IntEnum`, como por ejemplo el [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) de Python.
    
    ///
    
    Esto hará:
    
    * Devolver ese código de estado en el response.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/response-status-code.md

    ///
    
    Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben.
    
    /// info | Info
    
    Alternativ kann `status_code` auch ein `IntEnum` erhalten, wie etwa Pythons [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus).
    
    ///
    
    Dies wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/response-status-code.md

    ///
    
    Le paramètre `status_code` reçoit un nombre correspondant au code d'état HTTP.
    
    /// info
    
    `status_code` peut aussi recevoir un `IntEnum`, comme le [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) de Python.
    
    ///
    
    Il va :
    
    * Renvoyer ce code d'état dans la réponse.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/response-status-code.md

    ///
    
    Параметр `status_code` принимает число, обозначающее HTTP статус-код.
    
    /// info | Информация
    
    В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) в Python.
    
    ///
    
    Это позволит:
    
    * Возвращать указанный код статуса в ответе.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/response-status-code.md

    `status_code` parametresi, HTTP status code'u içeren bir sayı alır.
    
    /// info | Bilgi
    
    Alternatif olarak `status_code`, Python'un [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus)'ı gibi bir `IntEnum` da alabilir.
    
    ///
    
    Bu sayede:
    
    * Response'da o status code döner.
    * OpenAPI şemasında (dolayısıyla kullanıcı arayüzlerinde de) bu şekilde dokümante edilir:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. 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 [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus).
    
    ///
    
    It will:
    
    * Return that status code in the response.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/response-status-code.md

    /// note | 注意
    
    請注意,`status_code` 是「裝飾器(decorator)」方法(`get`、`post` 等等)的參數,而不是你的「路徑操作函式」的參數,就像所有的參數與 body 一樣。
    
    ///
    
    參數 `status_code` 接受一個數字作為 HTTP 狀態碼。
    
    /// info | 資訊
    
    `status_code` 也可以接收一個 `IntEnum`,例如 Python 的 [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus)。
    
    ///
    
    它會:
    
    * 在回應中傳回該狀態碼。
    * 在 OpenAPI 結構中如此記錄(因此也會反映在使用者介面中):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top