Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for IsDigit (0.11 sec)

  1. 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 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/bytes/bytes.go

    			return false
    		case 'A' <= r && r <= 'Z':
    			return false
    		case r == '_':
    			return false
    		}
    		return true
    	}
    	// Letters and digits are not separators
    	if unicode.IsLetter(r) || unicode.IsDigit(r) {
    		return false
    	}
    	// Otherwise, all we can do for now is treat spaces as separators.
    	return unicode.IsSpace(r)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg unicode, const UpperLower ideal-char
    pkg unicode, const Version ideal-string
    pkg unicode, func Is(*RangeTable, int32) bool
    pkg unicode, func IsControl(int32) bool
    pkg unicode, func IsDigit(int32) bool
    pkg unicode, func IsGraphic(int32) bool
    pkg unicode, func IsLetter(int32) bool
    pkg unicode, func IsLower(int32) bool
    pkg unicode, func IsMark(int32) bool
    pkg unicode, func IsNumber(int32) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top