Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isDigits (0.05 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. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top