Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 230 for SMBUtil (2.07 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Write FileFsFullSizeInformation data (32 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
            SMBUtil.writeInt8(500000, buffer, 28); // Caller available units
            SMBUtil.writeInt8(600000, buffer, 36); // Actual available units
            SMBUtil.writeInt4(512, buffer, 44); // Sectors per unit
            SMBUtil.writeInt4(4096, buffer, 48); // Bytes per sector
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            idx += 2;
            response.status = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.maxReadWriteSize = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.preferredSendSize = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.maxReceiveSize = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.maxFragmentedSize = SMBUtil.readInt4(data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                final byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
                SMBUtil.writeInt2(raw.length, enc, pos + 2);
                System.arraycopy(raw, 0, enc, pos + 4, raw.length);
                pos += 4 + raw.length;
            }
    
            // MsvAvEOL
            SMBUtil.writeInt2(AvPair.MsvAvEOL, enc, pos);
            SMBUtil.writeInt2(0, enc, pos + 2);
            pos += 4;
            return enc;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            testBuffer[0] = 0x01; // revision
            testBuffer[1] = 0x00; // padding
            SMBUtil.writeInt2(0x8004, testBuffer, 2); // type
            SMBUtil.writeInt4(0, testBuffer, 4); // owner offset
            SMBUtil.writeInt4(0, testBuffer, 8); // group offset
            SMBUtil.writeInt4(100, testBuffer, 12); // SACL offset (non-zero but ignored)
            SMBUtil.writeInt4(0, testBuffer, 16); // DACL offset
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Write values to buffer
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
            SMBUtil.writeInt4(numberOfMessages, buffer, bufferIndex + 8);
            SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            final int inputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart();
            bufferIndex += 4;
    
            final int inputCount = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            final int outputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart();
            bufferIndex += 4;
    
            final int outputCount = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals(5120L, SMBUtil.readInt8(buffer, offset + 8));
                assertEquals(8192, SMBUtil.readInt4(buffer, offset + 16));
    
                offset += CHUNK_SIZE;
                assertEquals(12288L, SMBUtil.readInt8(buffer, offset));
                assertEquals(13312L, SMBUtil.readInt8(buffer, offset + 8));
                assertEquals(16384, SMBUtil.readInt4(buffer, offset + 16));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Verify context header
            assertEquals(0, SMBUtil.readInt4(buffer, 0)); // Next
            assertEquals(16, SMBUtil.readInt2(buffer, 4)); // NameOffset
            assertEquals(4, SMBUtil.readInt2(buffer, 6)); // NameLength
            assertEquals(0, SMBUtil.readInt2(buffer, 8)); // Reserved
            assertEquals(24, SMBUtil.readInt2(buffer, 10)); // DataOffset
            assertEquals(52, SMBUtil.readInt4(buffer, 12)); // DataLength
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

     */
    package jcifs.internal.fscc;
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File Rename Information.
     * Used in SMB2/SMB3 set file information operations to rename files or directories,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.length, dst, dstIndex);
            dstIndex += 8;
    
            SMBUtil.writeInt4(this.flags, 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.8K bytes
    - Viewed (0)
Back to top