Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 303 for SHARE (0.06 seconds)

  1. docs/pt/docs/tutorial/dependencies/index.md

    Você apenas envia para `Depends` e o **FastAPI** sabe como fazer o resto.
    
    ///
    
    ## Compartilhando dependências `Annotated` { #share-annotated-dependencies }
    
    Nos exemplos acima, você pode ver que existe uma pequena **duplicação de código**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val call3 = client.newCall(Request(server.url("/")))
        call3.execute().use { response ->
          assertThat(
            response.body.string(),
          ).isEqualTo("c")
        }
    
        // All calls share a connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(2)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/dependencies/index.md

    ```
    
    这样,你只需编写一次共享代码,**FastAPI** 会在你的*路径操作*中为你调用它。
    
    /// check | 检查
    
    注意,无需创建专门的类并传给 **FastAPI** 去“注册”之类的操作。
    
    只要把它传给 `Depends`,**FastAPI** 就知道该怎么做了。
    
    ///
    
    ## 共享 `Annotated` 依赖项 { #share-annotated-dependencies }
    
    在上面的示例中,你会发现这里有一点点**代码重复**。
    
    当你需要使用 `common_parameters()` 这个依赖时,你必须写出完整的带类型注解和 `Depends()` 的参数:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingConfigs: {
    		Code:           "InvalidArgument",
    		Description:    "Configurations overlap. Configurations on the same bucket cannot share a common event type.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedNotification: {
    		Code:           "UnsupportedNotification",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  5. docs/zh-hant/docs/tutorial/dependencies/index.md

    ```
    
    如此一來,你只需撰寫一次共用程式碼,**FastAPI** 會替你的各個「路徑操作」呼叫它。
    
    /// check | 檢查
    
    注意,你不必建立特殊的類別並把它傳到 **FastAPI** 去「註冊」或做類似的事。
    
    只要把它傳給 `Depends`,**FastAPI** 就知道該怎麼處理其餘的部分。
    
    ///
    
    ## 共用 `Annotated` 依賴 { #share-annotated-dependencies }
    
    在上面的範例中,可以看到有一點點的「重複程式碼」。
    
    當你要使用 `common_parameters()` 這個依賴時,你得寫出完整的型別註解搭配 `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v2.go

    	}
    
    	// We did not find it, add it.
    	return x.addVersion(ventry)
    }
    
    func (x *xlMetaV2) SharedDataDirCount(versionID [16]byte, dataDir [16]byte) int {
    	// v2 object is inlined, if it is skip dataDir share check.
    	if x.data.entries() > 0 && x.data.find(uuid.UUID(versionID).String()) != nil {
    		return 0
    	}
    	var sameDataDirCount int
    	var decoded xlMetaDataDirDecoder
    	for _, version := range x.versions {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  7. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                        long threadStart = System.nanoTime();
                        for (int i = 0; i < operationsPerThread; i++) {
                            try {
                                String shareName = "share" + (threadId % 5); // Use 5 different shares
    
                                // Test concurrent tree operations (should be thread-safe with CopyOnWriteArrayList)
                                long opStart = System.nanoTime();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/dependencies/index.md

    Sie übergeben es einfach an `Depends` und **FastAPI** weiß, wie der Rest erledigt wird.
    
    ///
    
    ## `Annotated`-Abhängigkeiten wiederverwenden { #share-annotated-dependencies }
    
    In den Beispielen oben sehen Sie, dass es ein kleines bisschen **Codeverdoppelung** gibt.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/dependencies/index.md

    Vous la passez simplement à `Depends` et **FastAPI** sait faire le reste.
    
    ///
    
    ## Partager des dépendances `Annotated` { #share-annotated-dependencies }
    
    Dans les exemples ci-dessus, vous voyez qu’il y a un tout petit peu de **duplication de code**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/dependencies/index.md

    /// check | 확인
    
    특별한 클래스를 만들지 않아도 되며, 이러한 것 혹은 비슷한 종류를 **FastAPI**에 "등록"하기 위해 어떤 곳에 넘겨주지 않아도 됩니다.
    
    단순히 `Depends`에 넘겨주기만 하면 되며, **FastAPI**는 나머지를 어찌할지 알고 있습니다.
    
    ///
    
    ## `Annotated`인 의존성 공유하기 { #share-annotated-dependencies }
    
    위의 예제에서 몇몇 작은 **코드 중복**이 있다는 것을 보았을 겁니다.
    
    `common_parameters()`의존을 사용해야 한다면, 타입 명시와 `Depends()`와 함께 전체 매개변수를 적어야 합니다:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top