Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for writeInt8 (0.14 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
            writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
    /* Samba 2.2.7 needs ATTR_NORMAL
     */
            writeInt2( 0x80 | attributes, dst, dstIndex ); dstIndex += 2; 
                                            /* 6 zeros observed with NT */
            writeInt8( 0L, dst, dstIndex ); dstIndex += 6;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/util/SMBUtil.java

            }
            writeInt8(t, dst, dstIndex);
        }
    
    
        public static long readUTime ( byte[] buffer, int bufferIndex ) {
            return ( readInt4(buffer, bufferIndex) & 0xFFFFFFFFL ) * 1000L;
        }
    
    
        public static void writeUTime ( long t, byte[] dst, int dstIndex ) {
            writeInt4(t / 1000, dst, dstIndex);
        }
    
        public static final byte[] SMB_HEADER = {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.numberOfLinks, dst, dstIndex);
            dstIndex += 4;
            dst[ dstIndex++ ] = (byte) ( this.deletePending ? 1 : 0 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.targetOffset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.length, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // reserved
            return dstIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            dstIndex += 16;
            SMBUtil.writeInt4(this.minimumCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.channel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
            dstIndex += 4;
    
            // ReadChannelInfo
            SMBUtil.writeInt2(0, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            dstIndex += 2;
            SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            dstIndex += pad8(dstIndex);
    
            if ( this.token != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.timeout, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            dst[ dstIndex ] = (byte) ( this.timeoutSpecified ? 0x1 : 0x0 );
            dstIndex++;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            SMBUtil.writeInt4(this.channel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
            dstIndex += 4;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.writeFlags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
Back to top