Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 for SMBUtil (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(1, SMBUtil.readInt4(buffer, 16));
    
                // Verify second lock
                assertEquals(300L, SMBUtil.readInt8(buffer, 24));
                assertEquals(400L, SMBUtil.readInt8(buffer, 32));
                assertEquals(2, SMBUtil.readInt4(buffer, 40));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(maxTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 64); // eaSize
    
            // Decode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            bufferIndex++;
            this.type = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            SMBUtil.readInt4(buffer, bufferIndex); // offset to sacl
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 2] = 0x00;
    
            SMBUtil.writeInt4(totalParams, buffer, bufferIndex + 3);
            SMBUtil.writeInt4(totalData, buffer, bufferIndex + 7);
            SMBUtil.writeInt4(paramCount, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(paramOffset, buffer, bufferIndex + 15);
            SMBUtil.writeInt4(paramDisp, buffer, bufferIndex + 19);
            SMBUtil.writeInt4(dataCount, buffer, bufferIndex + 23);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                // Verify structure
                assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count
    
                // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index)
                int lockSequence = SMBUtil.readInt4(buffer, 4);
                assertEquals(0, lockSequence); // Default values
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

            final int start = bufferIndex;
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. 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);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(17, buffer, 0); // Structure size
                SMBUtil.writeInt2(0, buffer, 2); // Reserved
                SMBUtil.writeInt4(4096, buffer, 4); // Count
                SMBUtil.writeInt4(2048, buffer, 8); // Remaining
                SMBUtil.writeInt2(100, buffer, 12); // WriteChannelInfoOffset (ignored)
                SMBUtil.writeInt2(200, buffer, 14); // WriteChannelInfoLength (ignored)
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top