Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 233 for writeInt8 (0.38 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6);
            SMBUtil.writeInt2(this.command, dst, dstIndex + 12);
            SMBUtil.writeInt2(this.credit, dst, dstIndex + 14);
            SMBUtil.writeInt4(this.flags, dst, dstIndex + 16);
            SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20);
            SMBUtil.writeInt8(this.mid, dst, dstIndex + 24);
    
            if (this.async) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        void testDecode() throws SMBProtocolDecodingException {
            // Prepare buffer with known value
            long expectedValue = 0x0123456789ABCDEFL;
            byte[] buffer = new byte[16];
            SMBUtil.writeInt8(expectedValue, buffer, 0);
    
            // Decode
            int bytesRead = fileInfo.decode(buffer, 0, buffer.length);
    
            // Verify bytes read
            assertEquals(8, bytesRead);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            int ci = 0;
            SMBUtil.writeInt4(0, ctx, ci); // Next = 0
            ci += 4;
            SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset
            SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength
            ci += 4;
            SMBUtil.writeInt2(0, ctx, ci); // Reserved
            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            // Write context header
            SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(4, 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
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt8(this.indexNumber, dst, dstIndex);
            return 8;
        }
    
        @Override
        public String toString() {
            return ("SmbQueryFileInternalInfo[" + "indexNumber=" + this.indexNumber + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K 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/io/Smb2ReadRequest.java

                SMBUtil.writeInt2(80, dst, dstIndex); // ReadChannelInfoOffset (after header)
                SMBUtil.writeInt2(16, dst, dstIndex + 2); // ReadChannelInfoLength
                dstIndex += 4;
            } else {
                SMBUtil.writeInt2(0, dst, dstIndex);
                SMBUtil.writeInt2(0, dst, dstIndex + 2);
                dstIndex += 4;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top