Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 2,001 for modes (0.15 seconds)

  1. internal/dsync/dsync_test.go

    )
    
    // TestMain initializes the testing framework
    func TestMain(m *testing.M) {
    	startLockServers()
    
    	// Initialize locker clients for dsync.
    	var clnts []NetLocker
    	for i := range nodes {
    		clnts = append(clnts, newClient(nodes[i].URL))
    	}
    
    	ds = &Dsync{
    		GetLockers: func() ([]NetLocker, string) { return clnts, uuid.New().String() },
    		Timeouts: Timeouts{
    			Acquire:         testDrwMutexAcquireTimeout,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

     *  * `com.twitter.hpack.HpackUtil`
     *
     * [twitter_hpack]: https://github.com/twitter/hpack
     */
    object Huffman {
      // Appendix C: Huffman Codes
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-B
      private val CODES =
        intArrayOf(
          0x1ff8,
          0x7fffd8,
          0xfffffe2,
          0xfffffe3,
          0xfffffe4,
          0xfffffe5,
          0xfffffe6,
          0xfffffe7,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/response-status-code.md

    # Response Status Code { #response-status-code }
    
    Bir response model tanımlayabildiğiniz gibi, herhangi bir *path operation* içinde `status_code` parametresiyle response için kullanılacak HTTP status code'u da belirtebilirsiniz:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * vb.
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | Not
    
    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)
  4. fastapi/security/api_key.py

    from typing import Annotated
    
    from annotated_doc import Doc
    from fastapi.openapi.models import APIKey, APIKeyIn
    from fastapi.security.base import SecurityBase
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class APIKeyBase(SecurityBase):
        model: APIKey
    
        def __init__(
            self,
            location: APIKeyIn,
            name: str,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  5. .idea/gradle.xml

                <option value="$PROJECT_DIR$/platforms/core-configuration/kotlin-dsl-tooling-models" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/model-core" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/model-groovy" />
                <option value="$PROJECT_DIR$/platforms/core-configuration/model-reflect" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 10:18:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    Но это всё ещё не слишком полезно.
    
    Сделаем так, чтобы она возвращала текущего пользователя.
    
    ## Создать модель пользователя { #create-a-user-model }
    
    Сначала создадим Pydantic-модель пользователя.
    
    Точно так же, как мы используем Pydantic для объявления тел запросов, мы можем использовать его где угодно:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/events.md

    Request’leri işlemek için kullanmak istediğiniz bazı **machine learning modelleriniz** olduğunu hayal edelim. 🤖
    
    Aynı modeller request’ler arasında paylaşılır; yani request başına bir model, kullanıcı başına bir model vb. gibi değil.
    
    Modeli yüklemenin, diskten çok fazla **data** okunması gerektiği için **oldukça uzun sürebildiğini** düşünelim. Dolayısıyla bunu her request için yapmak istemezsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. docs/en/docs/features.md

    * Automatic data model documentation with [**JSON Schema**](https://json-schema.org/) (as OpenAPI itself is based on JSON Schema).
    * Designed around these standards, after a meticulous study. Instead of an afterthought layer on top.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/sql-databases.md

    </div>
    
    ## Créer l'application avec un modèle unique { #create-the-app-with-a-single-model }
    
    Nous allons d'abord créer la première version la plus simple de l'application avec un seul modèle **SQLModel**.
    
    Ensuite, nous l'améliorerons en augmentant la sécurité et la polyvalence avec **plusieurs modèles** ci-dessous. 🤓
    
    ### Créer les modèles { #create-models }
    
    Importez `SQLModel` et créez un modèle de base de données :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/sql-databases.md

    </div>
    
    ## 建立只有單一模型的應用 { #create-the-app-with-a-single-model }
    
    我們先用單一 SQLModel 模型建立這個應用的最簡版。
    
    接著我們會在下方用多個模型來提升安全性與彈性。🤓
    
    ### 建立模型 { #create-models }
    
    匯入 `SQLModel` 並建立一個資料庫模型:
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[1:11] hl[7:11] *}
    
    `Hero` 類別與 Pydantic 模型非常相似(事實上,在底層它就是一個 Pydantic 模型)。
    
    有幾點差異:
    
    * `table=True` 告訴 SQLModel 這是一個「資料表模型」(table model),它應該代表 SQL 資料庫中的一個資料表,而不僅僅是「資料模型」(就像一般的 Pydantic 類別)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top