Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 118 for 0x02FF (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
        private static final int SHARING_COMPATIBILITY = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    		0x56, 0x48, 0x54, 0x28, 0x49, 0x2d, 0x2e, 0x51,
    		0x28, 0x49, 0xad, 0x28, 0x51, 0x48, 0xcb, 0xcc,
    		0x49, 0xd5, 0xe3, 0x02, 0x04, 0x00, 0x00, 0xff,
    		0xff, 0x50, 0x4b, 0x07, 0x08, 0xc0, 0xd7, 0xed,
    		0xc3, 0x20, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00,
    		0x00, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x00, 0x14,
    		0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0xc0, 0xd7, 0xed, 0xc3, 0x20, 0x00, 0x00,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NodeStatusResponse.java

                isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                /*
                 * The NbtAddress object used to query this node will be in the list
                 * returned by the Node Status. A new NbtAddress object should not be
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        void testSetDataSize() {
            response.dataSize = 1024;
            assertEquals(1024, response.dataSize);
        }
    
        @Test
        void testSetGrantedAccess() {
            response.grantedAccess = 0x02; // FILE_WRITE_DATA
            assertEquals(0x02, response.grantedAccess);
        }
    
        @Test
        void testSetFileType() {
            response.fileType = 1;
            assertEquals(1, response.fileType);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int bufferIndex = 0;
    
                // Write structure size (24)
                SMBUtil.writeInt2(24, buffer, bufferIndex);
    
                // Write oplock level at offset 2
                byte expectedOplockLevel = (byte) 0x02; // SMB2_OPLOCK_LEVEL_II
                buffer[bufferIndex + 2] = expectedOplockLevel;
    
                // Write reserved field (4 bytes at offset 4)
                bufferIndex += 4;
    
                // Write Reserved2 (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
            assertDoesNotThrow(() -> digest.update(data, 0, data.length));
        }
    
        @Test
        @DisplayName("Test update method with zero length")
        void testUpdateWithZeroLength() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // State 1: Generate Type 1 message
            context.initSecContext(new byte[0], 0, 0);
    
            // Create a mock Type 2 message (server challenge)
            byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH
                    | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/ASN1UtilTest.java

            // Tag [1] IMPLICIT, content is 0x01 0x02 0x03
            byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            ASN1InputStream ais = new ASN1InputStream(bais);
            byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais);
            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[8] = 0x00;
                buffer[9] = 0x10; // alloc = 4096
                buffer[12] = 0x00;
                buffer[13] = 0x08; // free = 2048
                buffer[16] = 0x00;
                buffer[17] = 0x02; // bytesPerSect = 512
    
                int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(20, bytesDecoded);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        void testReadUShortOutOfBounds() {
            byte[] a = new byte[] { 0x02 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0));
        }
    
        @Test
        @DisplayName("readULong throws on too short array")
        void testReadULongOutOfBounds() {
            byte[] a = new byte[] { 0x01, 0x02, 0x03 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top