Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 445 for Async (0.01 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if ((this.flags & SMB2_FLAGS_ASYNC_COMMAND) == SMB2_FLAGS_ASYNC_COMMAND) {
                // async
                this.async = true;
                this.asyncId = SMBUtil.readInt8(buffer, bufferIndex);
                bufferIndex += 8;
            } else {
                // sync
                this.async = false;
                bufferIndex += 4; // reserved
                this.treeId = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/request-files.md

    * `close()`: Закриває файл.
    
    Оскільки всі ці методи є асинхронними `async`, Вам потрібно використовувати "await":
    
    Наприклад, всередині `async` *функції обробки шляху* Ви можете отримати вміст за допомогою:
    
    ```Python
    contents = await myfile.read()
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 22 22:01:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

                return this.notifyInformation;
            }
    
            @Override
            public boolean isAsync() {
                return this.async;
            }
    
            public void setAsync(boolean async) {
                this.async = async;
            }
    
            @Override
            public CommonServerMessageBlockResponse getNextResponse() {
                return this.nextResponse;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/testing.md

    /// tip
    
    👀 👈 🔬 🔢 😐 `def`, 🚫 `async def`.
    
     & 🤙 👩‍💻 😐 🤙, 🚫 ⚙️ `await`.
    
    👉 ✔ 👆 ⚙️ `pytest` 🔗 🍵 🤢.
    
    ///
    
    /// note | 📡 ℹ
    
    👆 💪 ⚙️ `from starlette.testclient import TestClient`.
    
    **FastAPI** 🚚 🎏 `starlette.testclient` `fastapi.testclient` 🏪 👆, 👩‍💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃.
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            when(request.allowChain(any())).thenReturn(true);
    
            // When
            boolean async = request.isResponseAsync();
            int size = request.size();
            Integer timeout = request.getOverrideTimeout();
            boolean canChain = request.allowChain(nextRequest);
    
            // Then
            assertTrue(async);
            assertEquals(100, size);
            assertEquals(3000, timeout);
            assertTrue(canChain);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. docs/vi/docs/index.md

    <details markdown="1">
    <summary>Hoặc sử dụng <code>async def</code>...</summary>
    
    Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/request-files.md

    * `close()`: Cierra el archivo.
    
    Como todos estos métodos son métodos `async`, necesitas "await" para ellos.
    
    Por ejemplo, dentro de una *path operation function* `async` puedes obtener los contenidos con:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    これを動作させるには、**Python 3.7** 以上を使用するか、**Python 3.6** では"backports"をインストールする必要があります:
    
    ```
    pip install async-exit-stack async-generator
    ```
    
    これにより<a href="https://github.com/sorcio/async_exit_stack" class="external-link" target="_blank">async-exit-stack</a>と<a href="https://github.com/python-trio/async_generator" class="external-link" target="_blank">async-generator</a>がインストールされます。
    
    ///
    
    /// note | 技術詳細
    
    以下と一緒に使用できる関数なら何でも有効です:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/events.md

    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    In neueren Versionen von Python gibt es auch einen **asynchronen Kontextmanager**. Sie würden ihn mit `async with` verwenden:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/dependencies/index.md

    Não faz diferença. O **FastAPI** sabe o que fazer.
    
    /// note | Nota
    
    Caso você não conheça, veja em [Async: *"Com Pressa?"*](../../async.md#com-pressa){.internal-link target=_blank} a sessão acerca de `async` e `await` na documentação.
    
    ///
    
    ## Integrando com OpenAPI
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top