Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isxdigit (0.16 sec)

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

                    buildNumber = null;
                }
            }
        }
    
        private static boolean isDigits(String cs) {
            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;
        }
    
    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. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

          }
        }
    
        // Read a group, one to four hex digits.
        var value = 0
        groupOffset = i
        while (i < limit) {
          val hexDigit = input[i].parseHexDigit()
          if (hexDigit == -1) break
          value = (value shl 4) + hexDigit
          i++
        }
        val groupLength = i - groupOffset
        if (groupLength == 0 || groupLength > 4) return null // Group is the wrong size.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. internal/event/target/postgresql.go

    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    		case unicode.IsLetter(r):
    			return 'a'
    		case unicode.IsDigit(r):
    			return '0'
    		case r == '_', r == '$':
    			return r
    		default:
    			valid = false
    			return -1
    		}
    	}, name)
    
    	if valid {
    		// check for simple name or quoted name
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/HostAndPort.java

              "Only a colon may follow a close bracket: %s",
              hostPortString);
          for (int i = closeBracketIndex + 2; i < hostPortString.length(); ++i) {
            checkArgument(
                Character.isDigit(hostPortString.charAt(i)),
                "Port must be numeric: %s",
                hostPortString);
          }
          return new String[] {host, hostPortString.substring(closeBracketIndex + 2)};
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

       */
      @Deprecated
      public static CharMatcher digit() {
        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top