- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 234 for readInt4 (0.04 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
throw new SMBProtocolDecodingException("Invalid durable handle V2 response length: " + len); } this.timeout100Ns = SMBUtil.readInt4(buffer, bufferIndex) & 0xFFFFFFFFL; // Timeout (4 bytes, 100-ns intervals, unsigned) this.flags = SMBUtil.readInt4(buffer, bufferIndex + 4); // Flags (4 bytes) return 8; } /** * Get the timeout value in 100-nanosecond intervals (raw wire format)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
byte[] data = response.getOutputBuffer(); int offset = 0; while (offset < data.length) { int nextEntryOffset = readInt4(data, offset); int action = readInt4(data, offset + 4); int fileNameLength = readInt4(data, offset + 8); // Extract filename byte[] fileNameBytes = new byte[fileNameLength];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// Then assertEquals(6, bytesWritten); assertEquals(fid, SMBUtil.readInt2(dst, 0)); // lastWriteTime is not written if digest is null, so the remaining bytes should be zero assertEquals(0, SMBUtil.readInt4(dst, 2)); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
header.originalMessageSize = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // Skip reserved (2 bytes) bufferIndex += 2; // Read flags header.flags = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; // Read session ID header.sessionId = SMBUtil.readInt8(buffer, bufferIndex); return header; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); // Test when current time is in DST but test time is not when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true) // current time
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; new NbtAddress(null, addr, false, NbtAddress.B_NODE); readInt2(buffer, bufferIndex); return this.length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
while (offset < outputBuffer.length) { // Parse FILE_NOTIFY_INFORMATION structure int nextEntryOffset = SMBUtil.readInt4(outputBuffer, offset); int action = SMBUtil.readInt4(outputBuffer, offset + 4); int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8); // Extract filename byte[] fileNameBytes = new byte[fileNameLength];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE); int retargetPort = readInt2(buffer, bufferIndex); return length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
if (wordCount == 0) { return 0; } fileAttributes = readInt2(buffer, bufferIndex); bufferIndex += 2; lastWriteTime = readUTime(buffer, bufferIndex); bufferIndex += 4; fileSize = readInt4(buffer, bufferIndex); return 20; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java
final int start = bufferIndex; status = readInt2(buffer, bufferIndex); bufferIndex += 2; converter = readInt2(buffer, bufferIndex); bufferIndex += 2; numEntries = readInt2(buffer, bufferIndex); bufferIndex += 2; totalAvailableEntries = readInt2(buffer, bufferIndex); bufferIndex += 2; return bufferIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0)