- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 332 for 0x02 (0.01 sec)
-
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
void testWithVariousAttributeFlags() { // Test common file attribute combinations int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY 0x02, // FILE_ATTRIBUTE_HIDDEN 0x04, // FILE_ATTRIBUTE_SYSTEM 0x10, // FILE_ATTRIBUTE_DIRECTORY 0x20, // FILE_ATTRIBUTE_ARCHIVE 0x80, // FILE_ATTRIBUTE_NORMAL 0x100, // FILE_ATTRIBUTE_TEMPORARY
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K 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/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/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/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/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/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/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/smb1/trans/SmbComTransactionResponseTest.java
assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, resp1.getCommand()); // Test with NT_TRANSACT command TestSmbComTransactionResponse resp2 = new TestSmbComTransactionResponse(mockConfig, SmbComTransaction.SMB_COM_NT_TRANSACT, (byte) 0x02); assertEquals(SmbComTransaction.SMB_COM_NT_TRANSACT, resp2.getCommand());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0)