- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 60 for 016 (0.03 seconds)
-
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) -
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) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
this.flags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseKey (16 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; // LeaseState (4 bytes) this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (0) -
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) -
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) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
this.oplockLevel = buffer[bufferIndex + 2]; bufferIndex += 4; bufferIndex += 4; // Reserved2 this.fileId = new byte[16]; System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16); bufferIndex += 16; return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#toString() */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
public void updateFileId(byte[] newFileId) { if (newFileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); } System.arraycopy(newFileId, 0, this.fileId, 0, 16); } @Override public String toString() { return "HandleInfo{" + "path='" + path + '\'' + ", createGuid=" + createGuid + ", type=" + type + ", timeout=" + timeout
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
// Verify lease key is encoded at offset 24 (after header + name + padding) byte[] encodedKey = new byte[16]; System.arraycopy(buffer, 24, encodedKey, 0, 16); assertArrayEquals(testKey.getKey(), encodedKey); // Verify lease state at offset 40 (24 + 16 for key) assertEquals(testState, SMBUtil.readInt4(buffer, 40));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/util/EncdecTest.java
0x77, (byte) 0x88 }; byte[] buffer = new byte[16]; // When System.arraycopy(uuid, 0, buffer, 0, 16); // Then assertArrayEquals(uuid, buffer); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (0)