- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for asyncIds (1.44 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
@ParameterizedTest @ValueSource(longs = { 1L, 100L, Long.MAX_VALUE }) @DisplayName("isResponseAsync should return true for various non-zero asyncIds") void testIsResponseAsyncWithDifferentValues(long asyncId) { testRequest.setAsyncId(asyncId); assertTrue(testRequest.isResponseAsync()); } } @Nested @DisplayName("Timeout Tests") class TimeoutTests {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)