Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 517 for asyncId (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            assertEquals(asyncId, request.getAsyncId());
            assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set when asyncId is non-zero");
        }
    
        @Test
        @DisplayName("Test constructor with zero asyncId does not set async flag")
        void testConstructorWithZeroAsyncId() {
            // Given
            long mid = 12345L;
            long asyncId = 0L;
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            @Test
            @DisplayName("createCancel should return Smb2CancelRequest with same mid and asyncId")
            void testCreateCancel() {
                long mid = 123L;
                long asyncId = 456L;
                testRequest.setMid(mid);
                testRequest.setAsyncId(asyncId);
    
                CommonServerMessageBlockRequest cancelRequest = testRequest.createCancel();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

         *            The message ID of the request to cancel
         * @param asyncId
         *            The async ID for asynchronous operations (0 for synchronous)
         */
        public Smb2CancelRequest(final Configuration config, final long mid, final long asyncId) {
            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if (asyncId != 0) {
                addFlags(SMB2_FLAGS_ASYNC_COMMAND);
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         *
         * @return the asyncId
         */
        public final long getAsyncId() {
            return this.asyncId;
        }
    
        /**
         * Sets the asynchronous identifier for this message.
         *
         * @param asyncId
         *            the asyncId to set
         */
        public final void setAsyncId(final long asyncId) {
            this.asyncId = asyncId;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  5. docs/fr/docs/async.md

    ### Autres formes de code asynchrone { #other-forms-of-asynchronous-code }
    
    L'utilisation d'`async` et `await` est relativement nouvelle dans ce langage.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 27.3K bytes
    - Click Count (0)
  6. docs/tr/docs/async.md

    ### Kendi async kodunuzu yazın { #write-your-own-async-code }
    
    Starlette (ve **FastAPI**) [AnyIO](https://anyio.readthedocs.io/en/stable/) üzerine kuruludur; bu sayede Python standart kütüphanesindeki [asyncio](https://docs.python.org/3/library/asyncio-task.html) ve [Trio](https://trio.readthedocs.io/en/stable/) ile uyumludur.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/async.md

    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### 更多技術細節 { #more-technical-details }
    
    你可能已經注意到,`await` 只能在 `async def` 定義的函式內使用。
    
    但同時,使用 `async def` 定義的函式本身也必須被「等待」。所以,帶有 `async def` 的函式只能在其他使用 `async def` 定義的函式內呼叫。
    
    那麼,這就像「先有雞還是先有蛋」的問題,要如何呼叫第一個 `async` 函式呢?
    
    如果你使用 FastAPI,無需擔心這個問題,因為「第一個」函式將是你的*路徑操作函式*,FastAPI 會知道如何正確處理這個問題。
    
    但如果你想在沒有 FastAPI 的情況下使用 `async` / `await`,你也可以這樣做。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  8. docs/zh/docs/async.md

    但与此同时,必须"等待"通过 `async def` 定义的函数。因此,带 `async def` 的函数也只能在 `async def` 定义的函数内部调用。
    
    那么,这关于先有鸡还是先有蛋的问题,如何调用第一个 `async` 函数?
    
    如果你使用 **FastAPI**,你不必担心这一点,因为"第一个"函数将是你的路径操作函数,FastAPI 将知道如何做正确的事情。
    
    但如果你想在没有 FastAPI 的情况下使用 `async` / `await`,则可以这样做。
    
    ### 编写自己的异步代码 { #write-your-own-async-code }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  9. docs/uk/docs/async.md

    ### Інші форми асинхронного коду { #other-forms-of-asynchronous-code }
    
    Такий стиль використання `async` і `await` відносно новий у мові.
    
    Але він значно полегшує роботу з асинхронним кодом.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 36.6K bytes
    - Click Count (0)
  10. docs/de/docs/async.md

    Gleichzeitig müssen aber mit `async def` definierte Funktionen „erwartet“ („awaited“) werden. Daher können Funktionen mit `async def` nur innerhalb von Funktionen aufgerufen werden, die auch mit `async def` definiert sind.
    
    Daraus resultiert das Ei-und-Huhn-Problem: Wie ruft man die erste `async` Funktion auf?
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 27.3K bytes
    - Click Count (0)
Back to Top