- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 331 for 0x02 (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
void testSubcommandConstants() { // Test Trans2 subcommands assertEquals((byte) 0x01, SmbComTransaction.TRANS2_FIND_FIRST2); assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2); assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION); assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
private Smb2SessionSetupRequest request; // Test constants private static final int TEST_SECURITY_MODE = 0x01; private static final int TEST_CAPABILITIES = 0x00000001; private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL; private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 }; @BeforeEach void setUp() { mockConfig = mock(Configuration.class);
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/internal/smb2/io/Smb2ReadRequestTest.java
request.setOffset(1000L); request.setMinimumCount(200); request.setRemainingBytes(3000); request.setPadding((byte) 4); request.setReadFlags((byte) 0x02); // Update file ID byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xEF); request.setFileId(newFileId); // Write and verify
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
PrintStream ps = new PrintStream(baos); // Test with control characters and printable characters byte[] data = { 0x00, 0x01, 0x09, 0x0A, 0x0D, 0x1F, // Control characters 0x20, 0x41, 0x42, 0x7E, // Printable characters (byte) 0x7F, (byte) 0x80, (byte) 0xFF // Extended/control }; Hexdump.hexdump(ps, data, 0, data.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
*/ public class SmbDirectNegotiateResponse { // Protocol constants /** SMB Direct negotiate response message type */ public static final int NEGOTIATE_RESPONSE = 0x02; /** Status indicating successful negotiation */ public static final int STATUS_SUCCESS = 0x00000000; /** Status indicating SMB Direct is not supported */ public static final int STATUS_NOT_SUPPORTED = 0x00000001;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0); // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[8] = 0x01; // Revision testBuffer[9] = 0x01; // Sub-authority count testBuffer[10] = 0x00; // Identifier authority testBuffer[11] = 0x00; testBuffer[12] = 0x00; testBuffer[13] = 0x00; testBuffer[14] = 0x00; testBuffer[15] = 0x01; testBuffer[16] = 0x00; // Sub-authority testBuffer[17] = 0x00; testBuffer[18] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
assertEquals(0x01, ACE.FLAGS_OBJECT_INHERIT, "FLAGS_OBJECT_INHERIT should be 0x01"); assertEquals(0x02, ACE.FLAGS_CONTAINER_INHERIT, "FLAGS_CONTAINER_INHERIT should be 0x02"); assertEquals(0x04, ACE.FLAGS_NO_PROPAGATE, "FLAGS_NO_PROPAGATE should be 0x04"); assertEquals(0x08, ACE.FLAGS_INHERIT_ONLY, "FLAGS_INHERIT_ONLY should be 0x08");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} @Test void testConstructorWithMalformedToken() { // Test that PACDecodingException is thrown for a malformed token byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 }; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(malformedToken, (byte) 0, keys)); assertTrue(e.getMessage().startsWith("Malformed kerberos ticket")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
void testWriteBytesWireFormatWithInputBuffer() { request = new Smb2QueryInfoRequest(mockConfig, testFileId); request.setInfoType((byte) 0x02); request.setFileInfoClass((byte) 0x08); Encodable mockInputBuffer = mock(Encodable.class); when(mockInputBuffer.encode(any(byte[].class), anyInt())).thenReturn(50); when(mockInputBuffer.size()).thenReturn(50);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0)