Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 0xFE (0.11 sec)

  1. cmd/erasure-sets_test.go

    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/util/SMBUtil.java

                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        /**
         * SMB2 protocol header template with magic number 0xFE 'SMB'
         */
        public static final byte[] SMB2_HEADER = { (byte) 0xFE, (byte) 'S', (byte) 'M', (byte) 'B', // ProtocolId
                (byte) 64, (byte) 0x00, // StructureSize (LE)
                (byte) 0x00, (byte) 0x00, // CreditCharge (reserved 2.0.2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(expectedSize, leaseContext.size());
        }
    
        @Test
        @DisplayName("Should set and get lease key")
        void testLeaseKeyAccessors() {
            byte[] newKeyBytes = new byte[] { (byte) 0xFF, (byte) 0xFE, (byte) 0xFD, (byte) 0xFC, (byte) 0xFB, (byte) 0xFA, (byte) 0xF9,
                    (byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Crypto.java

         *            7-byte "raw" DES key
         * @return 8-byte DES key with parity
         */
        static byte[] des7to8(final byte[] key) {
            final byte key8[] = new byte[8];
            key8[0] = (byte) (key[0] & 0xFE);
            key8[1] = (byte) (key[0] << 7 | (key[1] & 0xFF) >>> 1);
            key8[2] = (byte) (key[1] << 6 | (key[2] & 0xFF) >>> 2);
            key8[3] = (byte) (key[2] << 5 | (key[3] & 0xFF) >>> 3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils_test.go

    		{"a/b/c/", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    		{"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}},
    		{string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top