Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 172 for lengthOf (0.16 sec)

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

        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)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

        @Override
        public String toString () {
            String mic = null;
            if ( this.getMechanismListMIC() != null ) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
    
        @Override
        public byte[] toByteArray () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
            dstIndex += 2;
    
            for ( int dialect : this.dialects ) {
                SMBUtil.writeInt2(dialect, 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
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            if ( len > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
    
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex);
            dstIndex += 2;
    
            if ( this.ciphers != null ) {
                for ( int cipher : this.ciphers ) {
                    SMBUtil.writeInt2(cipher, dst, dstIndex);
                    dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
            writeInt4( serverTypes, dst, dstIndex );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
    /**
     * Reads up to b.length bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
    /**
     * Reads up to len bytes of data from this input stream into an array of bytes.
     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/StringUtil.java

         */
        public static String join ( CharSequence delimiter, CharSequence... elements ) {
            StringBuilder sb = new StringBuilder();
            for ( CharSequence element : elements ) {
                if ( sb.length() > 0 ) {
                    if ( delimiter != null ) {
                        sb.append(delimiter);
                    }
                    else {
                        sb.append("null");
                    }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

            super(policyHandle,
                    new LsarSidArrayX(sids),
                    new lsarpc.LsarRefDomainList(),
                    new lsarpc.LsarTransNameArray(),
                    (short)1,
                    sids.length);
            this.sids = sids;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.5K bytes
    - Viewed (0)
Back to top