Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for CHAR (0.19 sec)

  1. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

            if (zterm) {
                buffer[i] = (short)0;
            }
        }
    
        public String toString() {
            int len = length / 2 - (zterm ? 1 : 0);
            char[] ca = new char[len];
            for (int i = 0; i < len; i++) {
                ca[i] = (char)buffer[i];
            }
            return new String(ca, 0, len);
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

                }
                count++;
            }
    
            return value;
        }
        static final char[] HEXCHARS = {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
        public static String bin_to_hex(int value, int length) {
            char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

                    }
                }
                else if ( Character.isDigit(line.charAt(0)) ) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
                    c = '.';
                    ip = i = 0;
                    for ( ; i < data.length && c == '.'; i++ ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

         * @return whether this is an IP address
         */
        public 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();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
Back to top