- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 230 for SMBUtil (0.08 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 36) { throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize); } bufferIndex += 2; // Reserved (2 bytes) bufferIndex += 2; // Flags (4 bytes) this.flags = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
this.sid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; } this.setNumEntries(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.isEndOfSearch = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2; this.eaErrorOffset = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
int off = 0; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0x12345678, SMBUtil.readInt4(buf, off)); off += 4; assertEquals(blob.length, SMBUtil.readInt2(buf, off)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) - reserved, skip bufferIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); } final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart(); bufferIndex += 4; final int len = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.targetOffset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.length, dst, dstIndex); dstIndex += 4; dstIndex += 4; // reserved return dstIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
// Write context header SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last) offset += 4; SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context) offset += 2; SMBUtil.writeInt2(4, buffer, offset); // NameLength offset += 2; SMBUtil.writeInt2(0, buffer, offset); // Reserved offset += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(12, bytesWritten); assertEquals(3, SMBUtil.readInt2(buffer, 0)); assertEquals(2, SMBUtil.readInt2(buffer, 2)); assertEquals(0x01, SMBUtil.readInt2(buffer, 4)); assertEquals(0x02, SMBUtil.readInt2(buffer, 6)); assertEquals(0x03, SMBUtil.readInt2(buffer, 8)); assertArrayEquals(salt, Arrays.copyOfRange(buffer, 10, 12)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0)