Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for asyncId (0.77 sec)

  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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (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);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (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;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Reserved / AsyncId
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // TreeId / AsyncId
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // SessionId
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. docs/pt/docs/async.md

    
    ### Outras formas de código assíncrono
    
    Esse estilo de usar `async` e `await` é relativamente novo na linguagem.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. docs/es/docs/async.md

    ### Otras formas de código asíncrono
    
    Este estilo de usar `async` y `await` es relativamente nuevo en el lenguaje.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  8. docs/fa/docs/async.md

    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### جزئیات فنی‌تر
    
    شاید متوجه شده باشی که `await` فقط توی توابعی که با `async def` تعریف شدن می‌تونه استفاده بشه.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    ### Other forms of asynchronous code { #other-forms-of-asynchronous-code }
    
    This style of using `async` and `await` is relatively new in the language.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. docs/ru/docs/async.md

    Кроме того, если хотите, вы можете использовать синтаксис `async` / `await` и без FastAPI.
    
    ### Пишите свой асинхронный код
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 39.8K bytes
    - Viewed (0)
Back to top