Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 321 for 0x02 (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @see       java.io.File
     */
    
    public class SmbFile extends URLConnection implements SmbConstants {
    
        static final int O_RDONLY = 0x01;
        static final int O_WRONLY = 0x02;
        static final int O_RDWR = 0x03;
        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT = 0x0010;
        // fail if the file exists
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top