Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isDigits (0.09 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (!isDigits(s)) {
                return null;
            }
    
            try {
                long longValue = Long.parseLong(s);
                if (longValue > Integer.MAX_VALUE) {
                    return null;
                }
                return (int) longValue;
            } catch (NumberFormatException e) {
                // should never happen since checked isDigits(s) before
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            }
        }
    
        private static Item parseItem(boolean isDigit, String buf) {
            return parseItem(false, isDigit, buf);
        }
    
        private static Item parseItem(boolean isCombination, boolean isDigit, String buf) {
            if (isCombination) {
                return new CombinationItem(buf.replace("-", ""));
            } else if (isDigit) {
                buf = stripLeadingZeroes(buf);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

        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++ ]) ) {
                    if ( i == len && dots == 3 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/Lmhosts.java

                        throw new IOException("no lmhosts alternate includes loaded");
                    }
                }
                else if ( Character.isDigit(line.charAt(0)) ) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
                    c = '.';
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

        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++] )) {
                    if( i == len && dots == 3 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PipeTest.java

                String server = handle.getServerWithDfs();
                int dot = server.indexOf('.');
                if ( dot > 0 && Character.isDigit(server.charAt(0)) == false )
                    server = server.substring(0, dot);
    
                try ( LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                        alt--;
                        throw new IOException( "no lmhosts alternate includes loaded" );
                    }
                } else if( Character.isDigit( line.charAt( 0 ))) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

            this.calledName = this.hostName.name;
    
            if ( Character.isDigit(this.calledName.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = this.calledName.length();
                data = this.calledName.toCharArray();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
                    if ( i == len && dots == 3 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            calledName = hostName.name;
    
            if( Character.isDigit( calledName.charAt( 0 ))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = calledName.length();
                data = calledName.toCharArray();
                while( i < len && Character.isDigit( data[i++] )) {
                    if( i == len && dots == 3 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( host == null || host.length() == 0 ) {
                return getLocalHost();
            }
    
            Name name = new Name(this.transportContext.getConfig(), host, type, scope);
            if ( !Character.isDigit(host.charAt(0)) ) {
                return doNameQuery(name, svr);
            }
    
            int IP = 0x00;
            int hitDots = 0;
            char[] data = host.toCharArray();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top