Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for isxdigit (0.11 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    }
    inline bool IsUpper(char ch) {
      return isupper(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsXDigit(char ch) {
      return isxdigit(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsXDigit(wchar_t ch) {
      const unsigned char low_byte = static_cast<unsigned char>(ch);
      return ch == low_byte && isxdigit(low_byte) != 0;
    }
    
    inline char ToLower(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)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    }
    inline bool IsUpper(char ch) {
      return isupper(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsXDigit(char ch) {
      return isxdigit(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsXDigit(wchar_t ch) {
      const unsigned char low_byte = static_cast<unsigned char>(ch);
      return ch == low_byte && isxdigit(low_byte) != 0;
    }
    
    inline char ToLower(char ch) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:50:51 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    	var sb strings.Builder
    	for len(name) > 0 {
    		if max > 0 && sb.Len() > max {
    			break
    		}
    
    		if !isDigit(name[0]) {
    			return "", false
    		}
    
    		val := 0
    		for len(name) > 0 && isDigit(name[0]) {
    			add := int(name[0] - '0')
    			if val >= math.MaxInt32/10-add {
    				return "", false
    			}
    			val *= 10
    			val += add
    			name = name[1:]
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. src/unicode/digit_test.go

    	0x2FA1D,
    }
    
    func TestDigit(t *testing.T) {
    	for _, r := range testDigit {
    		if !IsDigit(r) {
    			t.Errorf("IsDigit(U+%04X) = false, want true", r)
    		}
    	}
    	for _, r := range testLetter {
    		if IsDigit(r) {
    			t.Errorf("IsDigit(U+%04X) = true, want false", r)
    		}
    	}
    }
    
    // Test that the special case in IsDigit agrees with the table
    func TestDigitOptimization(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.5K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 26K bytes
    - Viewed (0)
  7. src/unicode/digit.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unicode
    
    // IsDigit reports whether the rune is a decimal digit.
    func IsDigit(r rune) bool {
    	if r <= MaxLatin1 {
    		return '0' <= r && r <= '9'
    	}
    	return isExcludingLatin(Digit, r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 352 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.cc

        if (id_pair[0].empty() || id_pair[1].empty()) return failure();
    
        auto is_digit = [](char c) { return absl::ascii_isdigit(c); };
        const std::string& group_id = id_pair[0];
        if (group_id[0] != 'p' && group_id[0] != 'r') return failure();
        if (!std::all_of(std::next(group_id.begin()), group_id.end(), is_digit)) {
          return failure();
        }
        const std::string& branch_id = id_pair[1];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/net/mac.go

    package net
    
    const hexDigit = "0123456789abcdef"
    
    // A HardwareAddr represents a physical hardware address.
    type HardwareAddr []byte
    
    func (a HardwareAddr) String() string {
    	if len(a) == 0 {
    		return ""
    	}
    	buf := make([]byte, 0, len(a)*3-1)
    	for i, b := range a {
    		if i > 0 {
    			buf = append(buf, ':')
    		}
    		buf = append(buf, hexDigit[b>>4])
    		buf = append(buf, hexDigit[b&0xF])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. src/unicode/example_test.go

    	// Output:
    	// U+0069 'i'
    	// U+0130 'İ'
    	// U+0130 'İ'
    	// U+0069 'i'
    	// U+0130 'İ'
    	// U+0130 'İ'
    }
    
    func ExampleIsDigit() {
    	fmt.Printf("%t\n", unicode.IsDigit('৩'))
    	fmt.Printf("%t\n", unicode.IsDigit('A'))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleIsNumber() {
    	fmt.Printf("%t\n", unicode.IsNumber('Ⅷ'))
    	fmt.Printf("%t\n", unicode.IsNumber('A'))
    	// Output:
    	// true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top