Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 109 for 1123 (0.08 seconds)

  1. docs/fr/docs/advanced/openapi-callbacks.md

    ///
    
    ### Créer un `APIRouter` de callback { #create-a-callback-apirouter }
    
    Commencez par créer un nouveau `APIRouter` qui contiendra un ou plusieurs callbacks.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Créer le *chemin d'accès* du callback { #create-the-callback-path-operation }
    
    Pour créer le *chemin d'accès* du callback, utilisez le même `APIRouter` que vous avez créé ci-dessus.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/openapi-callbacks.md

    临时改变(为外部开发者的)视角能让您更清楚该如何放置*外部 API* 响应和请求体的参数与 Pydantic 模型等。
    
    ///
    
    ### 创建回调的 `APIRouter` { #create-a-callback-apirouter }
    
    首先,新建包含一些用于回调的 `APIRouter`。
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### 创建回调*路径操作* { #create-the-callback-path-operation }
    
    创建回调*路径操作*也使用之前创建的 `APIRouter`。
    
    它看起来和常规 FastAPI *路径操作*差不多:
    
    * 声明要接收的请求体,例如,`body: InvoiceEvent`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. docs/en/data/topic_repos.yml

      stars: 11752
      owner_login: tadata-org
      owner_html_url: https://github.com/tadata-org
    - name: awesome-fastapi
      html_url: https://github.com/mjhea0/awesome-fastapi
      stars: 11203
      owner_login: mjhea0
      owner_html_url: https://github.com/mjhea0
    - name: XHS-Downloader
      html_url: https://github.com/JoeanAmier/XHS-Downloader
      stars: 10612
      owner_login: JoeanAmier
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 12:36:41 GMT 2026
    - 16K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4}, 1, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 5, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 9, new byte[] {4, 1, 2, 3});
    
        testRotate(new byte[] {1, 2, 3, 4, 5}, -6, new byte[] {2, 3, 4, 5, 1});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -4, new byte[] {5, 1, 2, 3, 4});
        testRotate(new byte[] {1, 2, 3, 4, 5}, -3, new byte[] {4, 5, 1, 2, 3});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("Should handle various result codes correctly")
            void testVariousResultCodes() throws Exception {
                // Test all known result codes
                int[] validCodes = { 0, 1, 2, 3 };
                String[] expectedMessages = { null, // 0 returns null (no exception)
                        "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          }
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
      public void testIsPowerOfTwoYes() {
        for (int i = -1074; i <= 1023; i++) {
          assertTrue(DoubleMath.isPowerOfTwo(StrictMath.pow(2.0, i)));
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/StatsTesting.java

      static final double MEGA_STREAM_MEAN = MEGA_STREAM_MAX / 2;
      static final double MEGA_STREAM_POPULATION_VARIANCE =
          (MEGA_STREAM_COUNT - 1) * (MEGA_STREAM_COUNT + 1) / 12.0;
    
      // Stats instances:
    
      static final Stats EMPTY_STATS_VARARGS = Stats.of();
      static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/openapi-callbacks.md

    ///
    
    ### コールバック用 APIRouter を作成 { #create-a-callback-apirouter }
    
    まず、1 つ以上のコールバックを含む新しい `APIRouter` を作成します。
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### コールバックの path operation を作成 { #create-the-callback-path-operation }
    
    上で作成したのと同じ `APIRouter` を使って、コールバックの *path operation* を作成します。
    
    見た目は通常の FastAPI の *path operation* と同じです:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. src/bytes/example_test.go

    	var buf bytes.Buffer
    	for i := 0; i < 4; i++ {
    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.guid = largeGuid;
    
            assertEquals(1024, serverData.guid.length);
            assertEquals((byte) 0xCA, serverData.guid[0]);
            assertEquals((byte) 0xCA, serverData.guid[1023]);
        }
    
        /**
         * Test that ServerData can be used in collections
         */
        @Test
        @DisplayName("Test ServerData can be used in collections")
        public void testUseInCollections() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
Back to Top