Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isDigits (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb/SIDCacheImpl.java

                    String server = authorityServerName;
                    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
    - 12.6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/smb1/SID.java

                        "[\\PIPE\\lsarpc]", auth);
                String server = authorityServerName;
                int dot = server.indexOf('.');
                if (dot > 0 && Character.isDigit(server.charAt(0)) == false)
                    server = server.substring(0, dot);
                policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800);
                SID.resolveSids(handle, policyHandle, sids);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  10. configure.py

      version = version.split('-')[0]
      version_segments = version.split('.')
      # Treat "0.24" as "0.24.0"
      if len(version_segments) == 2:
        version_segments.append('0')
      for seg in version_segments:
        if not seg.isdigit():
          return None
    
      version_str = ''.join(['%03d' % int(seg) for seg in version_segments])
      return int(version_str)
    
    
    def retrieve_bazel_version():
      """Retrieve installed bazel version (or bazelisk).
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
Back to top