Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for DataLength (0.91 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            writeInt2(count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(b, off, dst, dstIndex, count);
            dstIndex += count;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Put data at offset 0x20
            SMBUtil.writeInt2(0, ctx, ci); // Reserved
            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
            // Name bytes at 0x10
            byte[] name = new byte[] { 'T', 'E', 'S', 'T' };
            System.arraycopy(name, 0, ctx, 0x10, name.length);
            // Data bytes at 0x20
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(32, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(this.b, this.off, dst, dstIndex, this.count);
            dstIndex += this.count;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. docs/smb3-features/02-persistent-handles-design.md

            writeInt2(buffer, offset + 8, 0);  // Reserved
            writeInt2(buffer, offset + 10, STRUCTURE_SIZE);  // DataOffset
            writeInt4(buffer, offset + 12, STRUCTURE_SIZE);  // DataLength
            
            // Name
            System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, nameLen);
            
            // Data (16 bytes of reserved)
            int dataOffset = offset + 16 + nameLen;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            do {
                r = len > readSize ? readSize : len;
                file.send(new SmbComReadAndX(file.fid, fp, r, null), response);
                n = response.dataLength;
                if (n <= 0) {
                    return (int) (fp - start > 0L ? fp - start : -1);
                }
                fp += n;
                len -= n;
                response.off += n;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 2;
    
            SMBUtil.writeInt2(24, buffer, offset); // DataOffset (from start of context)
            offset += 2;
    
            SMBUtil.writeInt4(52, buffer, offset); // DataLength (32 standard + 20 directory-specific)
            offset += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, buffer, offset, 4);
            offset += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                        return -1;
                    }
                    throw seToIoe(se);
                }
                n = response.dataLength;
                if (n <= 0) {
                    return (int) (fp - start > 0L ? fp - start : -1);
                }
                fp += n;
                len -= n;
                response.off += n;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top