- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 230 for SMBUtil (0.06 seconds)
-
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
if (this.largeFile) { this.pid = SMBUtil.readInt2(buffer, bufferIndex); final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4); final int boLow = SMBUtil.readInt4(buffer, bufferIndex + 8); this.byteOffset = boHigh << 32 | boLow; final int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12); final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Write structure header SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(12 + fileNameBytes.length, buffer, offset + 4); // Write notification int notifyOffset = 80; SMBUtil.writeInt4(0, buffer, notifyOffset); SMBUtil.writeInt4(1, buffer, notifyOffset + 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertEquals(32, SMBUtil.readInt2(buffer, 0)); // StructureSize assertEquals(0x0001, SMBUtil.readInt2(buffer, 2)); // Flags assertEquals(8192, SMBUtil.readInt4(buffer, 4)); // OutputBufferLength // FileId at offset 8-23 assertEquals(0x00000FFF, SMBUtil.readInt4(buffer, 24)); // CompletionFilter assertEquals(0, SMBUtil.readInt4(buffer, 28)); // Reserved }
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) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(512, SMBUtil.readInt4(buffer, 32)); // Minimum count assertEquals(Smb2ReadRequest.SMB2_CHANNEL_NONE, SMBUtil.readInt4(buffer, 36)); // Channel assertEquals(1024, SMBUtil.readInt4(buffer, 40)); // Remaining bytes // ReadChannelInfo assertEquals(0, SMBUtil.readInt2(buffer, 44)); // ReadChannelInfoOffset
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Set SMB 3.1.1 dialect and 1 context SMBUtil.writeInt2(0x0311, buffer, 4); SMBUtil.writeInt2(1, buffer, 6); SMBUtil.writeInt4(128, buffer, 60); // Context offset // At offset 128 + 64 (header start), set context with excessive data length int contextPos = 192; SMBUtil.writeInt2(1, buffer, contextPos); // Context typeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0)); } @Test @DisplayName("Test encode with buffer offset") void testEncodeWithBufferOffset() throws SMBProtocolDecodingException { // First decode to set internal state byte[] sourceBuffer = new byte[8]; long expectedIndexNumber = 0xAABBCCDDEEFF1122L; SMBUtil.writeInt8(expectedIndexNumber, sourceBuffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Version (2 bytes) SMBUtil.writeInt2(3, buffer, 8); // Size (2 bytes) - the size of this referral entry SMBUtil.writeInt2(20, buffer, 10); // Server type (2 bytes) SMBUtil.writeInt2(1, buffer, 12); // Referral flags (2 bytes) SMBUtil.writeInt2(0, buffer, 14); // Proximity (2 bytes for v3) SMBUtil.writeInt2(0, buffer, 16);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.tflags, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.desiredAccess, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex); dstIndex += 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
this.dataOffset += this.pad; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4; for (int i = 0; i < 4; i++) { dst[dstIndex++] = (byte) 0xFF; } SMBUtil.writeInt2(this.writeMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.remaining, dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0)