Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for writeInt8 (0.3 sec)

  1. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            this(encode(ts));
        }
    
    
        /**
         * @param ts
         * @return
         */
        private static byte[] encode ( long ts ) {
            byte[] data = new byte[8];
            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
    
        /**
         * @return the timestamp
         */
        public long getTimestamp () {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt8(this.indexNumber, dst, dstIndex);
            return 8;
        }
    
    
        @Override
        public String toString () {
            return new String("SmbQueryFileInternalInfo[" + "indexNumber=" + this.indexNumber + "]");
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top