Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 158 for writeInt4 (0.26 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         */
        public int getFlags () {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
    
        private static byte[] encode ( int flags ) {
            byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

            int start = dstIndex;
    
            writeInt2( searchAttributes, dst, dstIndex );
            dstIndex += 2;
            writeInt2( LIST_COUNT, dst, dstIndex );
            dstIndex += 2;
            writeInt2( flags, dst, dstIndex );
            dstIndex += 2;
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
            writeInt4( searchStorageType, dst, dstIndex );
            dstIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (0)
  3. 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++;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionServicePacket.java

        static final int MAX_MESSAGE_SIZE = 0x0001FFFF;
        static final int HEADER_LENGTH = 4;
    
    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            dstIndex += 8; // 7 Reserved
            dstIndex += 8; // RootDirectory = 0
    
            byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length);
            dstIndex += nameBytes.length;
    
            return dstIndex - start;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for ( SrvCopychunk chk : this.chunks ) {
                dstIndex += chk.encode(dst, dstIndex);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            dst[dstIndex++] = (byte)0x00; // Reserved
            dst[dstIndex++] = (byte)0x00; // Reserved
            writeInt4( securityInformation, dst, dstIndex );
            dstIndex += 4;
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.count, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeInt2( count, dst, dstIndex );
            dstIndex += 2;
            writeInt4( offset, dst, dstIndex );
            dstIndex += 4;
            writeInt2( remaining, dst, dstIndex );
            dstIndex += 2;
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            int start = dstIndex;
    
            writeInt2( sid, dst, dstIndex );
            dstIndex += 2;
            writeInt2( Trans2FindFirst2.LIST_COUNT, dst, dstIndex );
            dstIndex += 2;
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
            writeInt4( resumeKey, dst, dstIndex );
            dstIndex += 4;
            writeInt2( flags, dst, dstIndex );
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.2K bytes
    - Viewed (0)
Back to top