Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 665 for 16 (0.95 sec)

  1. docs/smb3-features/02-persistent-handles-design.md

            
            // Name
            System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, nameLen);
            
            // Data (16 bytes of reserved)
            int dataOffset = offset + 16 + nameLen;
            dataOffset = (dataOffset + 7) & ~7;  // 8-byte alignment
            
            for (int i = 0; i < 16; i++) {
                buffer[dataOffset + i] = 0;
            }
        }
        
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                bufferIndex += 4;
    
                // Write Reserved2 (4 bytes)
                bufferIndex += 4;
    
                // Write file ID (16 bytes)
                byte[] expectedFileId = createTestData(16);
                System.arraycopy(expectedFileId, 0, buffer, bufferIndex, 16);
    
                // Read the buffer
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
    
                // Verify the bytes read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NodeStatusResponse.java

                groupName = ((src[srcIndex + 16] & 0x80) == 0x80) == true;
                ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
                isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                /*
    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/util/CryptoTest.java

            byte[] md4Hash = md4.digest(data);
            byte[] md5Hash = md5.digest(data);
    
            // Then
            assertNotNull(md4Hash);
            assertNotNull(md5Hash);
            assertEquals(16, md4Hash.length);
            assertEquals(16, md5Hash.length);
        }
    
        @Test
        @DisplayName("Should handle empty input for hashing")
        void testEmptyInputHashing() {
            // Given
            byte[] emptyData = {};
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        void testSpecialFileIdPatterns() {
            // Test various special patterns
            byte[] allZeros = new byte[16];
            byte[] allOnes = new byte[16];
            Arrays.fill(allOnes, (byte) 0xFF);
            byte[] alternating = new byte[16];
            for (int i = 0; i < alternating.length; i++) {
                alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with configuration and fileId")
        void testConstructorWithConfigAndFileId() {
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) i;
            }
    
            request = new Smb2QueryDirectoryRequest(mockConfig, fileId);
    
            assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // MD5 digest length is 16 bytes
            assertEquals(16, hmac.engineGetDigestLength());
        }
    
        @Test
        void testEngineDigest() {
            // Test engineDigest()
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
            byte[] result = hmac.engineDigest();
    
            assertNotNull(result);
            assertEquals(16, result.length); // MD5 produces 16 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/HexdumpTest.java

        void testLongToHexString() {
            // Test various long values
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000000000FF", Hexdump.toHexString(255L, 16));
            assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
    
            // Test different sizes
            assertEquals("00000000", Hexdump.toHexString(0L, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            buffer[index++] = (byte) 0xFD;
    
            // Signature (16 bytes)
            byte[] signature = new byte[16];
            new SecureRandom().nextBytes(signature);
            System.arraycopy(signature, 0, buffer, index, 16);
            index += 16;
    
            // Nonce (16 bytes)
            System.arraycopy(testNonce, 0, buffer, index, 16);
            index += 16;
    
            // Original message size (4 bytes) - little-endian
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. cmd/update_test.go

    		{"more minio.RELEASE.2016-10-07T01-16-39Z", time.Time{}, "", "", true},
    		{
    			"fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z\n", releaseTime, "fbe246edbd382902db9a4035df7dce8cb441357d",
    			"minio.RELEASE.2016-10-07T01-16-39Z", false,
    		},
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top