Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for whale (0.13 sec)

  1. src/main/java/jcifs/smb1/util/Base64.java

            StringBuffer buffer =
                    new StringBuffer((int) Math.ceil((double) length / 3d) * 4);
            int remainder = length % 3;
            length -= remainder;
            int block;
            int i = 0;
            while (i < length) {
                block = ((bytes[i++] & 0xff) << 16) | ((bytes[i++] & 0xff) << 8) |
                        (bytes[i++] & 0xff);
                buffer.append(ALPHABET.charAt(block >>> 18));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTree.java

            try {
                session.send( request, response );
            } catch( SmbException se ) {
                if (se.getNtStatus() == se.NT_STATUS_NETWORK_NAME_DELETED) {
                    /* Someone removed the share while we were
                     * connected. Bastards! Disconnect this tree
                     * so that it reconnects cleanly should the share
                     * reappear in this client's lifetime.
                     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

                    resolveOrder[3] = RESOLVER_BCAST;
                }
            } else {
                int[] tmp = new int[4];
                StringTokenizer st = new StringTokenizer( ro, "," );
                int i = 0;
                while( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if( s.equalsIgnoreCase( "LMHOSTS" )) {
                        tmp[i++] = RESOLVER_LMHOSTS;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * other SMB clients will be permitted to read from the target file while
     * this file is open. This constant may be logically OR'd with other share
     * access flags.
     */
        public static final int FILE_SHARE_READ   = 0x01;
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
     * other SMB clients will be permitted to write to the target file while
     * this file is open. This constant may be logically OR'd with other share
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  5. src/main/java/jcifs/dcerpc/DcerpcException.java

        private static final long serialVersionUID = -6113895861333916945L;
    
    
        static String getMessageByDcerpcError ( int errcode ) {
            int min = 0;
            int max = DCERPC_FAULT_CODES.length;
    
            while ( max >= min ) {
                int mid = ( min + max ) / 2;
    
                if ( errcode > DCERPC_FAULT_CODES[ mid ] ) {
                    min = mid + 1;
                }
                else if ( errcode < DCERPC_FAULT_CODES[ mid ] ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 09:02:44 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

         */
        protected final SmbResource getParent () {
            return this.parent;
        }
    
    
        /**
         * @return
         * 
         */
        private SmbResource advance () {
            while ( this.delegate.hasNext() ) {
                FileEntry fe = this.delegate.next();
                if ( this.filter == null ) {
                    try {
                        return adapt(fe);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            }
            return sequence;
        }
    
        public KerberosApRequest(ASN1Sequence seq, KerberosKey[] keys) throws PACDecodingException {
            Enumeration<?> fields = seq.getObjects();
            while ( fields.hasMoreElements() ) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields.nextElement());
                switch ( tagged.getTagNo() ) {
                case 0:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/ShareEnumIterator.java

            this.delegate = delegate;
            this.filter = filter;
            this.next = advance();
        }
    
    
        /**
         * @return next element
         */
        private SmbResource advance () {
            while ( this.delegate.hasNext() ) {
                FileEntry n = this.delegate.next();
                if ( this.filter == null ) {
                    try {
                        return adapt(n);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            dstIndex += 4;
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            while ( this.pad-- > 0 ) {
                dst[ dstIndex++ ] = (byte) 0xEE;
            }
            System.arraycopy(this.b, this.off, dst, dstIndex, this.dataLength);
            dstIndex += this.dataLength;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerEnumIterator.java

        }
    
    
        private FileEntry advance () throws CIFSException {
            int n = this.response.getStatus() == WinError.ERROR_MORE_DATA ? this.response.getNumEntries() - 1 : this.response.getNumEntries();
            while ( this.ridx < n ) {
                FileEntry itm = this.response.getResults()[ this.ridx ];
                this.ridx++;
                if ( filter(itm) ) {
                    return itm;
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top