Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for 0x16 (0.17 sec)

  1. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

                    0x04, // FILE_ATTRIBUTE_SYSTEM
                    0x10, // FILE_ATTRIBUTE_DIRECTORY
                    0x20, // FILE_ATTRIBUTE_ARCHIVE
                    0x80, // FILE_ATTRIBUTE_NORMAL
                    0x100, // FILE_ATTRIBUTE_TEMPORARY
                    0x21, // Combination: ARCHIVE | READONLY
                    0x06 // Combination: HIDDEN | SYSTEM
            };
    
            for (int attributes : attributeFlags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes
    
            // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0
            byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 };
            assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0
            assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

         * RPC message for getting information about a specific share.
         */
        public static class ShareGetInfo extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x10;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void testCollisionsDueToIncorrectSignExtension() {
        byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80};
        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
                SIP_WITH_KEY.hashBytes(col1),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/util/SMBUtilTest.java

            // Test with simple value
            SMBUtil.writeInt4(0x12345678L, dst, 0);
            assertEquals((byte) 0x78, dst[0]);
            assertEquals((byte) 0x56, dst[1]);
            assertEquals((byte) 0x34, dst[2]);
            assertEquals((byte) 0x12, dst[3]);
    
            // Test with max value for 4 bytes
            SMBUtil.writeInt4(0xFFFFFFFFL, dst, 4);
            assertEquals((byte) 0xFF, dst[4]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to check if a directory exists.
         */
        public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10;
    
        /**
         * SMB command to seek within a file.
         */
        public static final byte SMB_COM_SEEK = (byte) 0x12;
    
        /**
         * SMB command for file locking operations.
         */
        public static final byte SMB_COM_LOCKING_ANDX = (byte) 0x24;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16)
                    0x01, // ShareType (DISK)
                    0x00, // Reserved
                    0x01, 0x00, 0x00, 0x00, // ShareFlags
                    0x08, 0x00, 0x00, 0x00, // Capabilities
                    (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess
            };
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
            // Name bytes at 0x10
            byte[] name = new byte[] { 'T', 'E', 'S', 'T' };
            System.arraycopy(name, 0, ctx, 0x10, name.length);
            // Data bytes at 0x20
            byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            System.arraycopy(data, 0, ctx, 0x20, data.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            byte[] dst = new byte[2];
            int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, bytesWritten);
            // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06
            assertEquals(0x06, dst[0]);
            assertEquals(0x00, dst[1]);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            // Test the writing of bytes to a byte array
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            final int start = bufferIndex;
    
            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.typeOfLock = buffer[bufferIndex];
    
            if ((this.typeOfLock & 0x10) == 0x10) {
                this.largeFile = true;
            }
    
            this.newOpLockLevel = buffer[bufferIndex + 1];
            bufferIndex += 2;
    
            this.timeout = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top