Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for DataLength (0.82 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(52, 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals(0, SMBUtil.readInt2(buffer, 8)); // Reserved
            assertEquals(24, SMBUtil.readInt2(buffer, 10)); // DataOffset
            assertEquals(52, SMBUtil.readInt4(buffer, 12)); // DataLength
    
            // Verify context name
            byte[] nameBytes = new byte[4];
            System.arraycopy(buffer, 16, nameBytes, 0, 4);
            assertEquals("DLse", new String(nameBytes));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().data(false, 3, Buffer().write(ByteArray(dataLength)), dataLength)
        peer.sendFrame().data(false, 3, Buffer().write(ByteArray(dataLength)), dataLength)
        peer.sendFrame().data(false, 3, Buffer().write(ByteArray(1)), 1)
        peer.sendFrame().ping(false, 2, 0) // Ping just to make sure the stream was fastforwarded.
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top