Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Char (0.15 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

                finally {
    
                    String[] s = ((SmbFile)f).list();
    
                    f.delete();
                }
            }
        }
    
        private static String repeat ( char c, int n ) {
            char chs[] = new char[n];
            for ( int i = 0; i < n; i++ ) {
                chs[ i ] = c;
            }
            return new String(chs);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        static String unescape( String str ) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
            int i, j, state, len;
            char[] out;
            byte[] b = new byte[1];
    
            if( str == null ) {
                return null;
            }
    
            len = str.length();
            out = new char[len];
            state = 0;
            for( i = j = 0; i < len; i++ ) {
                switch( state ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         */
        protected static DcerpcBinding parseBinding ( String str ) throws DcerpcException {
            int state, mark, si;
            char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                char ch = arr[ si ];
    
                switch ( state ) {
                case 0:
                    if ( ch == ':' ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Encdec.java

            return di - start;
        }
        public static String dec_utf8( byte[] src, int si, int slim ) throws IOException {
            char[] uni = new char[slim - si];
            int ui, ch;
    
            for( ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++ ) {
                if( ch < 0x80 ) {
                    uni[ui] = (char)ch;
                } else if((ch & 0xE0) == 0xC0 ) {
                    if((slim - si) < 2 ) {
                        break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint16be( tmp, 0 ) & 0xFFFF;
        }
        public final char readChar() throws SmbException {
            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return (char)Encdec.dec_uint16be( tmp, 0 );
        }
        public final int readInt() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                return (NbtAddress)doNameQuery( new Name( host, type, scope ), svr );
            } else {
                int IP = 0x00;
                int hitDots = 0;
                char[] data = host.toCharArray();
    
                for( int i = 0; i < data.length; i++ ) {
                    char c = data[i];
                    if( c < 48 || c > 57 ) {
                        return (NbtAddress)doNameQuery( new Name( host, type, scope ), svr );
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( !Character.isDigit(host.charAt(0)) ) {
                return doNameQuery(name, svr);
            }
    
            int IP = 0x00;
            int hitDots = 0;
            char[] data = host.toCharArray();
    
            for ( int i = 0; i < data.length; i++ ) {
                char c = data[ i ];
                if ( c < 48 || c > 57 ) {
                    return doNameQuery(name, svr);
                }
                int b = 0x00;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/UniAddress.java

            return getByName( hostname, false );
        }
    
        static boolean isDotQuadIP( String hostname ) {
            if( Character.isDigit( hostname.charAt( 0 ))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
    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)
  9. src/main/java/jcifs/util/Encdec.java

        }
    
    
        public static String dec_utf8 ( byte[] src, int si, int slim ) throws IOException {
            char[] uni = new char[slim - si];
            int ui, ch;
    
            for ( ui = 0; si < slim && ( ch = src[ si++ ] & 0xFF ) != 0; ui++ ) {
                if ( ch < 0x80 ) {
                    uni[ ui ] = (char) ch;
                }
                else if ( ( ch & 0xE0 ) == 0xC0 ) {
                    if ( ( slim - si ) < 2 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
    
        /**
         * @throws MalformedURLException
         * 
         */
        private synchronized void canonicalizePath () {
            char[] in = this.url.getPath().toCharArray();
            char[] out = new char[in.length];
            int length = in.length, prefixLen = 0, state = 0;
    
            /*
             * The canonicalization routine
             */
            for ( int i = 0; i < length; i++ ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
Back to top