Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 981 - 990 of 1,098 for init (0.09 seconds)

  1. tests/scanner_valuer_test.go

    	return time.Now() /* pass tests, mysql 8 doesn't support 0000-00-00 by default */, nil
    }
    
    type NullString struct {
    	sql.NullString
    }
    
    type Point struct {
    	X, Y int
    }
    
    func (point Point) GormDataType() string {
    	return "geo"
    }
    
    func (point Point) GormValue(ctx context.Context, db *gorm.DB) clause.Expr {
    	return clause.Expr{
    		SQL:  "ST_PointFromText(?)",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  2. docs/ja/docs/features.md

    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    これは以下のように用いられます:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. cmd/xl-storage_test.go

    			t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    		}
    	}
    }
    
    var xlStorageReadFileWithVerifyTests = []struct {
    	file      string
    	offset    int
    	length    int
    	algorithm BitrotAlgorithm
    	expError  error
    }{
    	{file: "myobject", offset: 0, length: 100, algorithm: SHA256, expError: nil},                // 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/query-params-str-validations.md

    #### `list` 사용하기
    
    `List[str]` 대신 `list`를 직접 사용할 수도 있습니다:
    
    {* ../../docs_src/query_params_str_validations/tutorial013.py hl[7] *}
    
    /// note | 참고
    
    이 경우 FastAPI는 리스트의 내용을 검사하지 않음을 명심하기 바랍니다.
    
    예를 들어, `List[int]`는 리스트 내용이 정수인지 검사(및 문서화)합니다. 하지만 `list` 단독일 경우는 아닙니다.
    
    ///
    
    ## 더 많은 메타데이터 선언
    
    매개변수에 대한 정보를 추가할 수 있습니다.
    
    해당 정보는 생성된 OpenAPI에 포함되고 문서 사용자 인터페이스 및 외부 도구에서 사용됩니다.
    
    /// note | 참고
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/custom-response.md

    ///
    
    ### `Response`
    
    其他全部的响应都继承自主类 `Response`。
    
    你可以直接返回它。
    
    `Response` 类接受如下参数:
    
    * `content` - 一个 `str` 或者 `bytes`。
    * `status_code` - 一个 `int` 类型的 HTTP 状态码。
    * `headers` - 一个由字符串组成的 `dict`。
    * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
    
    FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 media_type 的 Content-Type 头,并为文本类型附加一个字符集。
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                    .build(pomFile, configuration);
    
            assertEquals(
                    pomFile.getAbsoluteFile(),
                    result.getProject().getModel().getPomFile().getAbsoluteFile());
            int errors = 0;
            for (ModelProblem p : result.getProblems()) {
                if (p.getSeverity() == ModelProblem.Severity.ERROR) {
                    errors++;
                }
            }
            assertEquals(0, errors);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  7. docs/ru/docs/_llm-test.md

    ////
    
    ## Термины, используемые в документации { #terms-used-in-the-docs }
    
    //// tab | Тест
    
    * вы
    * ваш
    
    * например
    * и т.д.
    
    * `foo` как `int`
    * `bar` как `str`
    * `baz` как `list`
    
    * Учебник — Руководство пользователя
    * Расширенное руководство пользователя
    * Документация по SQLModel
    * Документация API
    * Автоматическая документация
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. internal/dsync/dsync_test.go

    	select {
    	case <-unlockReturned:
    		t.Fatal("Unlock timed out, which should not happen")
    	case <-timer.C:
    	}
    }
    
    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    	for range loops {
    		m.Lock(id, source)
    		m.Unlock(context.Background())
    	}
    	cdone <- true
    }
    
    // Borrowed from mutex_test.go
    func TestMutex(t *testing.T) {
    	loops := 200
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. docs/ja/docs/async.md

    `await` が機能するためには、非同期処理をサポートする関数内にある必要があります。これは、`async def` で関数を宣言するだけでよいです:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # ハンバーガーを作成するために非同期処理を実行
        return burgers
    ```
    
    ...`def` のかわりに:
    
    ```Python hl_lines="2"
    # 非同期ではない
    def get_sequential_burgers(number: int):
        # ハンバーガーを作成するためにシーケンシャルな処理を実行
        return burgers
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/custom-response.md

    Puedes devolverla directamente.
    
    Acepta los siguientes parámetros:
    
    * `content` - Un `str` o `bytes`.
    * `status_code` - Un código de estado HTTP `int`.
    * `headers` - Un `dict` de strings.
    * `media_type` - Un `str` que da el media type. Por ejemplo, `"text/html"`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top