Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 234 for writeInt4 (0.17 sec)

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

            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileAttributes, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.shareAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createDisposition, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createOptions, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // inputOffset (relative to header start)
            SMBUtil.writeInt4(inputOffsetField, buf, pos);
            pos += 4;
            // inputCount
            SMBUtil.writeInt4(inputCount, buf, pos);
            pos += 4;
            // outputOffset (relative to header start)
            SMBUtil.writeInt4(outputOffsetField, buf, pos);
            pos += 4;
            // outputCount
            SMBUtil.writeInt4(outputCount, buf, pos);
            pos += 4;
            // ioctlFlags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // 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);
            System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            void testDecodeNegativeValuesAsUnsigned() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[12];
                SMBUtil.writeInt4(-1, buffer, 0); // chunksWritten
                SMBUtil.writeInt4(-2, buffer, 4); // chunkBytesWritten
                SMBUtil.writeInt4(-3, buffer, 8); // totalBytesWritten
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.flags0, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            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 type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Write context header
            SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last)
            offset += 4;
    
            SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context)
            offset += 2;
    
            SMBUtil.writeInt2(4, buffer, offset); // NameLength
            offset += 2;
    
            SMBUtil.writeInt2(0, buffer, offset); // Reserved
            offset += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                // Set up sync message fields
                SMBUtil.writeInt4(0, buffer, 16); // flags (no async flag)
                SMBUtil.writeInt4(123, buffer, 36); // tree ID
                SMBUtil.writeInt8(456L, buffer, 40); // session ID
                return buffer;
            }
    
            private byte[] createValidAsyncMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            int start = dstIndex;
    
            // StructureSize (2 bytes) - must be 36
            SMBUtil.writeInt2(STRUCTURE_SIZE, dst, dstIndex);
            dstIndex += 2;
    
            // Reserved (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(flags, dst, dstIndex);
            dstIndex += 4;
    
            // LeaseKey (16 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top