Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 851 for pos3 (0.02 seconds)

  1. docs/zh/docs/tutorial/testing.md

    让我们继续之前的文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    假设现在包含**FastAPI** app的文件 `main.py` 有些其他**路径操作**。
    
    有个 `GET` 操作会返回错误。
    
    有个 `POST` 操作会返回一些错误。
    
    所有*路径操作* 都需要一个`X-Token` 头。
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### 扩展后的测试文件 { #extended-testing-file }
    
    然后您可以使用扩展后的测试更新`test_main.py`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Bytes.java

        long length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[checkNoOverflow(length)];
        int pos = 0;
        for (byte[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbResourceTest.java

                OutputStream os3 = mockResource.openOutputStream(false, 1);
                OutputStream os4 = mockResource.openOutputStream(true, 1, 2, 3);
    
                // Then
                assertNotNull(os1, "Default output stream should not be null");
                assertNotNull(os2, "Output stream with append should not be null");
                assertNotNull(os3, "Output stream with sharing should not be null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  4. internal/hash/crc.go

    // Used uint for unsigned long. Used uint32 for input arguments in order to match
    // the Go hash/crc32 package. zlib CRC32 combine (https://github.com/madler/zlib)
    // Modified for hash/crc64 by Klaus Post, 2024.
    func gf2MatrixTimes(mat []uint64, vec uint64) uint64 {
    	var sum uint64
    
    	for vec != 0 {
    		if vec&1 != 0 {
    			sum ^= mat[0]
    		}
    		vec >>= 1
    		mat = mat[1:]
    	}
    	return sum
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. helm-releases/minio-1.0.2.tgz

    matchLabels: app: {{ template "minio.name" . }} {{- end }} minio/templates/post-install-create-bucket-job.yaml {{- if .Values.buckets }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-bucket-job labels: app: {{ template "minio.name" . }}-make-bucket-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 24 18:58:05 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val method: String? by option("-X", "--request").help("Specify request command to use")
    
      val data: String? by option("-d", "--data").help("HTTP POST data")
    
      val headers: List<String>? by option("-H", "--header").help("Custom header to pass to server").multiple()
    
      val userAgent: String by option(
        "-A",
        "--user-agent",
      ).help(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/testing.md

    ```
    
    Diyelim ki **FastAPI** uygulamanızın bulunduğu `main.py` dosyasında artık başka **path operations** da var.
    
    Hata döndürebilecek bir `GET` operation'ı var.
    
    Birden fazla farklı hata döndürebilecek bir `POST` operation'ı var.
    
    Her iki *path operation* da `X-Token` header'ını gerektiriyor.
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### Genişletilmiş Test Dosyası { #extended-testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body.md

    Para declarar un **request** body, usas modelos de [Pydantic](https://docs.pydantic.dev/) con todo su poder y beneficios.
    
    /// info | Información
    
    Para enviar datos, deberías usar uno de estos métodos: `POST` (el más común), `PUT`, `DELETE` o `PATCH`.
    
    Enviar un body con un request `GET` tiene un comportamiento indefinido en las especificaciones, no obstante, es soportado por FastAPI, solo para casos de uso muy complejos/extremos.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/cors.md

    * Agrégalo como un "middleware" a tu aplicación **FastAPI**.
    
    También puedes especificar si tu backend permite:
    
    * Credenciales (headers de autorización, cookies, etc).
    * Métodos HTTP específicos (`POST`, `PUT`) o todos ellos con el comodín `"*"`.
    * Headers HTTP específicos o todos ellos con el comodín `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. helm-releases/minio-3.5.4.tgz

    sources | indent 10 }} {{- end }} minio/templates/post-install-create-user-job.yaml {{- if .Values.users }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-user-job namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-user-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": hook-succee...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 14 06:04:53 GMT 2022
    - 17.2K bytes
    - Click Count (0)
Back to Top