Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 296 for Mark (0.03 seconds)

  1. tensorflow/c/eager/c_api_experimental.h

    // execution of newly issued ops.
    //
    // Note that outputs of discarded ops remain in a corrupt state and should not
    // be used for future calls.
    // TODO(agarwal): mark the affected handles and raise errors if they are used.
    TF_CAPI_EXPORT extern void TFE_ExecutorClearError(TFE_Executor*);
    
    // Sets a custom Executor for the current thread. All nodes created by this
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  2. docs/changelogs/changelog_3x.md

     *  New: Make `ResponseBody.string()` and `ResponseBody.charStream()` BOM-aware. If your HTTP
        response body begins with a [byte order mark][bom] it will be consumed and used to select a
        charset for the remaining bytes. Most applications should not need a byte order mark.
    
     *  New: Upgrade to Okio 1.11.0.
    
         ```xml
         <dependency>
           <groupId>com.squareup.okio</groupId>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  3. api/maven-api-settings/src/main/mdo/settings.mdo

                <type>RepositoryPolicy</type>
              </association>
            </field>
          </fields>
          <!-- prevent Modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
          <codeSegments>
            <codeSegment>
              <version>1.0.0/1.1.0</version>
              <code>
                <![CDATA[
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_complex_doc/test_compex_doc.py

    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_complex_doc/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc.md")],
        indirect=True,
    )
    def test_fix(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 902 bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/async-tests.md

    테스트에서 비동기 함수를 사용할 수 있으면 유용할 수 있습니다. 예를 들어 데이터베이스를 비동기로 쿼리하는 경우를 생각해 보세요. FastAPI 애플리케이션에 요청을 보낸 다음, async 데이터베이스 라이브러리를 사용하면서 백엔드가 데이터베이스에 올바른 데이터를 성공적으로 기록했는지 검증하고 싶을 수 있습니다.
    
    어떻게 동작하게 만들 수 있는지 살펴보겠습니다.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    테스트에서 비동기 함수를 호출하려면, 테스트 함수도 비동기여야 합니다. AnyIO는 이를 위한 깔끔한 플러그인을 제공하며, 일부 테스트 함수를 비동기로 호출하도록 지정할 수 있습니다.
    
    ## HTTPX { #httpx }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. RELEASE.md

    Kang, Li, Guizi, Loo Rong Jie, Lucas Hendren, Lukas Geiger, Luke Han, luxupu,
    Ma, Guokai, Mahmoud Abuzaina, Mandar Deshpande, manhyuk, Marco Gaido, Marek
    Drozdowski, Mark Collier, Mark Ryan, mars20, Mateusz Chudyk, Matt Conley,
    MattConley, mbhuiyan, mdfaijul, Melissa Grueter, Michael KäUfl, MickaëL
    Schoentgen, Miguel Morin, Mihail Salnikov, Mike Arpaia, Mike Holcomb, monklof,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  7. docs_src/async_tests/app_a_py310/test_main.py

    import pytest
    from httpx import ASGITransport, AsyncClient
    
    from .main import app
    
    
    @pytest.mark.anyio
    async def test_root():
        async with AsyncClient(
            transport=ASGITransport(app=app), base_url="http://test"
        ) as ac:
            response = await ac.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 360 bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/conftest.py

    import shutil
    import sys
    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    skip_on_windows = pytest.mark.skipif(
        sys.platform == "win32", reason="Skipping on Windows"
    )
    
    
    THIS_DIR = Path(__file__).parent.resolve()
    
    
    def pytest_collection_modifyitems(config, items: list[pytest.Item]) -> None:
        if sys.platform != "win32":
            return
    
        for item in items:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 25 10:37:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  9. tests/test_openapi_schema_type.py

    import pytest
    from fastapi.openapi.models import Schema, SchemaType
    
    
    @pytest.mark.parametrize(
        "type_value",
        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: SchemaType | list[SchemaType] | None,
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 685 bytes
    - Click Count (0)
  10. tests/test_datastructures.py

        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top