Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IsAlpha (0.11 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    package language
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"sort"
    
    	"golang.org/x/text/internal/tag"
    )
    
    // isAlpha returns true if the byte is not a digit.
    // b must be an ASCII letter or digit.
    func isAlpha(b byte) bool {
    	return b > '9'
    }
    
    // isAlphaNum returns true if the string contains only ASCII letters or digits.
    func isAlphaNum(s []byte) bool {
    	for _, c := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

    }
    
    std::optional<llvm::SmallDenseMap<char, int64_t>> EquationToMap(
        llvm::StringRef equation) {
      llvm::SmallDenseMap<char, int64_t> map;
      for (int64_t i = 0; i < equation.size(); ++i) {
        if (!std::isalpha(equation[i])) {
          // Unsupported character in the equation.
          return std::nullopt;
        }
        if (map.count(equation[i])) {
          // Duplicate character in the equation.
          return std::nullopt;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/codegen.cc

    namespace tensorflow {
    namespace tfcompile {
    
    namespace {
    
    using BufferInfo = xla::cpu_function_runtime::BufferInfo;
    
    bool IsAlpha(char c) {
      return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
    }
    
    bool IsAlphaNum(char c) { return IsAlpha(c) || (c >= '0' && c <= '9'); }
    
    // Convert an XLA type into a C++ type.
    Status XLATypeToCpp(xla::PrimitiveType type, string* str) {
      switch (type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    }
    
    type Region uint16
    
    // getRegionID returns the region id for s if s is a valid 2-letter region code
    // or unknownRegion.
    func getRegionID(s []byte) (Region, error) {
    	if len(s) == 3 {
    		if isAlpha(s[0]) {
    			return getRegionISO3(s)
    		}
    		if i, err := strconv.ParseUint(string(s), 10, 10); err == nil {
    			return getRegionM49(int(i))
    		}
    	}
    	return getRegionISO2(s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // may be signed, depending on the compiler (or compiler flags).
    // Therefore we need to cast a char to unsigned char before calling
    // isspace(), etc.
    
    inline bool IsAlpha(char ch) {
      return isalpha(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsAlNum(char ch) {
      return isalnum(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsDigit(char ch) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    capitaliseAllWords(String); public static String uncapitaliseAllWords(String); public static String getNestedString(String, String); public static String getNestedString(String, String, String); public static int countMatches(String, String); public static boolean isAlpha(String); public static boolean isWhitespace(String); public static boolean isAlphaSpace(String); public static boolean isAlphanumeric(String); public static boolean isAlphanumericSpace(String); public static boolean isNumeric(String); public static...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
Back to top