Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for writeInt2 (0.14 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            if ( this.inputData != null ) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset);
                int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            }
            else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
                SMBUtil.writeInt4(0, dst, inputLengthOffset);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                this.passwordLength = 1;
            }
    
            dst[ dstIndex++ ] = this.disconnectTid ? (byte) 0x01 : (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            SMBUtil.writeInt2(this.passwordLength, dst, dstIndex);
            return 4;
        }
    
    
        @SuppressWarnings ( "deprecation" )
        private static boolean isExternalAuth ( NtlmPasswordAuthenticator pwAuth ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                // no password in tree connect
                passwordLength = 1;
            }
    
            dst[dstIndex++] = disconnectTid ? (byte)0x01 : (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            writeInt2( passwordLength, dst, dstIndex );
            return 4;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if( session.transport.server.security == SECURITY_SHARE &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            dst[ start + ANDX_COMMAND_OFFSET ] = this.andxCommand;
            dst[ start + ANDX_RESERVED_OFFSET ] = (byte) 0x00;
            this.andxOffset = dstIndex - this.headerStart;
            SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            this.andx.setUseUnicode(this.isUseUnicode());
            if ( this.andx instanceof AndXServerMessageBlock ) {
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            andx.batchLevel = batchLevel + 1;
    
    
            dst[start + ANDX_COMMAND_OFFSET] = andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte)0x00;
            andxOffset = dstIndex - headerStart;
            writeInt2( andxOffset, dst, start + ANDX_OFFSET_OFFSET );
    
            andx.useUnicode = useUnicode;
            if( andx instanceof AndXServerMessageBlock ) {
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(Http2.TYPE_SETTINGS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(0) // Settings are always on the connection stream 0.
        frame.writeShort(1) // SETTINGS_HEADER_TABLE_SIZE
        frame.writeInt(reducedTableSizeBytes)
        frame.writeShort(2) // SETTINGS_ENABLE_PUSH
        frame.writeInt(0)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top