- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 89 for 0x0004 (0.33 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertNotNull(result); assertTrue(result.contains("FileNotifyInformation")); assertTrue(result.contains("nextEntry=0")); assertTrue(result.contains("action=0x0000")); // Hexdump.toHexString produces 4-char padded hex assertTrue(result.contains("file=null")); } @ParameterizedTest @DisplayName("Test decode with aligned next entry offsets")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(expectedHigh, buffer[offset + 3]); } private static Stream<Arguments> provideFidTestCases() { return Stream.of(Arguments.of(0x0000, (byte) 0x00, (byte) 0x00), Arguments.of(0x00FF, (byte) 0xFF, (byte) 0x00), Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF), Arguments.of(0x1234, (byte) 0x34, (byte) 0x12)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (16384) assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
.isEqualTo(0L) assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:0 GMT")!!.expiresAt) .isEqualTo(0L) assertThat(parse(url, "a=b; Expires=00:00:00 Thu, 01 Jan 1970 GMT")!!.expiresAt) .isEqualTo(0L) assertThat(parse(url, "a=b; Expires=00:00:00 1970 Jan 01")!!.expiresAt) .isEqualTo(0L)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0001, command); // SMB2_SESSION_SETUP command value Field securityModeField = Smb2SessionSetupRequest.class.getDeclaredField("securityMode"); securityModeField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Bit 2: active (1) // Bit 1: permanent (1) // MAC address byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(testMac, 0, src, srcIndex + 19, 6); // Statistics byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(stats, 0, src, srcIndex + 25, 6); response.readRDataWireFormat(src, srcIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0 // Therefore the method will always return false unless flags has all 0x00 bits set // This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
/** * Flag indicating that SIDs should be resolved to names. */ public static final int SID_FLAG_RESOLVE_SIDS = 0x0001; /** * Well known SID: EVERYONE */ public static SID EVERYONE = null; /** * Well known SID: CREATOR_OWNER */ public static SID CREATOR_OWNER = null; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value // Verify path is set correctly Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path"); pathField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)