Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for 016 (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Verify file ID is copied correctly (16 bytes starting at offset+8)
            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
        void testWriteBytesWireFormatWithNullFileId() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

    cpovirk <******@****.***> 1774283786 -0700
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Verify file ID is copied correctly (16 bytes starting at offset+8)
            byte[] copiedFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with close flags should write flags correctly")
        void testWriteBytesWireFormatWithCloseFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID
            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, readFileId, 0, 16);
            assertArrayEquals(testFileId, readFileId);
    
            // Verify completion filter
            assertEquals(Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME, SMBUtil.readInt4(buffer, offset + 24));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, 0));
    
            // Verify client GUID (16 bytes)
            byte[] extractedGuid = new byte[16];
            System.arraycopy(buffer, 4, extractedGuid, 0, 16);
            assertArrayEquals(defaultClientGuid, extractedGuid);
    
            // Verify security mode (2 bytes)
            assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, 20));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        rc4.update(masterKey, 0, 16, exchangedKey, 0);
                        /* RC4 was not added to Java until 1.5u7 so let's use our own for a little while longer ...
                        try {
                            Cipher rc4 = Cipher.getInstance("RC4");
                            rc4.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(userSessionKey, "RC4"));
                            rc4.update(masterKey, 0, 16, exchangedKey, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  7. docs/smb3-features/01-smb3-lease-design.md

        }
        
        @Override
        public void decode(byte[] buffer, int offset, int length) {
            // Decode lease response
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, offset, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            
            this.leaseState = readInt4(buffer, offset + 16);
            this.leaseFlags = readInt4(buffer, offset + 20);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmUtil.java

            md5.update(clientChallenge, 0, 8);
            System.arraycopy(md5.digest(), 0, sessionHash, 0, 8);
    
            final byte[] key = new byte[21];
            System.arraycopy(passwordHash, 0, key, 0, 16);
            final byte[] ntResponse = new byte[24];
            NtlmUtil.E(key, sessionHash, ntResponse);
            return ntResponse;
        }
    
        /**
         * Creates the LMv2 response for the supplied information.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                assertEquals(0x12345678, SMBUtil.readInt4(buffer, 76));
    
                // Verify file ID
                byte[] actualFileId = new byte[16];
                System.arraycopy(buffer, 80, actualFileId, 0, 16);
                assertArrayEquals(testFileId, actualFileId);
    
                // Verify that info.encode was called
                verify(mockInfo, times(1)).encode(any(byte[].class), anyInt());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/util/HexdumpTest.java

            PrintStream ps = new PrintStream(baos);
    
            // Test with 16 bytes (one complete line)
            byte[] data1 = createTestData(16);
            Hexdump.hexdump(ps, data1, 0, 16);
            String output1 = baos.toString();
    
            assertNotNull(output1);
            assertTrue(output1.contains("00000:"));
            assertTrue(output1.contains(" 00 01 02 03"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top