Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for IsDigit (0.04 sec)

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

            }
    
            while (!stack.isEmpty()) {
                list = (ListItem) stack.pop();
                list.normalize();
            }
        }
    
        private static Item parseItem(boolean isDigit, String buf) {
            return parseItem(false, isDigit, buf);
        }
    
        private static Item parseItem(boolean isCombination, boolean isDigit, String buf) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

        public static boolean isDotQuadIP(final 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 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))) {
                    final char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

            if (hostname != null && hostname.length() > 0 && 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    	{"", isValidRune, -1, -1},
    	{"abc", isDigit, -1, -1},
    	{"0123", isDigit, 0, 3},
    	{"a1b", isDigit, 1, 1},
    	{space, isSpace, 0, len(space) - 3}, // last rune in space is 3 bytes
    	{"\u0e50\u0e5212hello34\u0e50\u0e51", isDigit, 0, 18},
    	{"\u2C6F\u2C6F\u2C6F\u2C6FABCDhelloEF\u2C6F\u2C6FGH\u2C6F\u2C6F", isUpper, 0, 34},
    	{"12\u0e50\u0e52hello34\u0e50\u0e51", not(isDigit), 8, 12},
    
    	// tests of invalid UTF-8
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  6. 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K 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))) {
                    final char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (cs == null || cs.isEmpty()) {
                return false;
            }
            final int sz = cs.length();
            for (int i = 0; i < sz; i++) {
                if (!Character.isDigit(cs.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
        private static Integer getNextIntegerToken(String s) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if (host == null || host.length() == 0) {
                return getLocalHost();
            }
    
            final 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;
            final char[] data = host.toCharArray();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top