Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for DIGIT (0.05 sec)

  1. src/unicode/digit.go

    // 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)
  2. src/net/http/cookiejar/punycode.go

    			delta = 0
    			h++
    			remaining--
    		}
    		delta++
    		n++
    	}
    	return string(output), nil
    }
    
    func encodeDigit(digit int32) byte {
    	switch {
    	case 0 <= digit && digit < 26:
    		return byte(digit + 'a')
    	case 26 <= digit && digit < 36:
    		return byte(digit + ('0' - 26))
    	}
    	panic("cookiejar: internal error in punycode encoding")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 10 23:42:56 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/idna/punycode.go

    }
    
    func decodeDigit(x byte) (digit int32, ok bool) {
    	switch {
    	case '0' <= x && x <= '9':
    		return int32(x - ('0' - 26)), true
    	case 'A' <= x && x <= 'Z':
    		return int32(x - 'A'), true
    	case 'a' <= x && x <= 'z':
    		return int32(x - 'a'), true
    	}
    	return 0, false
    }
    
    func encodeDigit(digit int32) byte {
    	switch {
    	case 0 <= digit && digit < 26:
    		return byte(digit + 'a')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:36 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  4. test/fibo.go

    	const W2 = W / 2         // half-digit size in bits
    	const M2 = (1 << W2) - 1 // lower half-digit mask
    
    	z = z.make(m + 1)
    	var c big.Word
    	for i := 0; i < n; i++ {
    		// lower half-digit
    		c += x[i]&M2 + y[i]&M2
    		d := c & M2
    		c >>= W2
    		// upper half-digit
    		c += x[i]>>W2 + y[i]>>W2
    		z[i] = c<<W2 | d
    		c >>= W2
    	}
    	for i := n; i < m; i++ {
    		// lower half-digit
    		c += x[i] & M2
    		d := c & M2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 08 22:22:58 UTC 2014
    - 6.3K bytes
    - Viewed (0)
  5. src/math/trig_reduce.go

    	// B ~ (z0, z1, z2), such that the product leading digit has the exponent -61.
    	// Note, exp >= -53 since x >= PI4 and exp < 971 for maximum float64.
    	digit, bitshift := uint(exp+61)/64, uint(exp+61)%64
    	z0 := (mPi4[digit] << bitshift) | (mPi4[digit+1] >> (64 - bitshift))
    	z1 := (mPi4[digit+1] << bitshift) | (mPi4[digit+2] >> (64 - bitshift))
    	z2 := (mPi4[digit+2] << bitshift) | (mPi4[digit+3] >> (64 - bitshift))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. src/math/big/decimal.go

    // with the most-significant mantissa digit at index 0. For the zero decimal, the
    // mantissa length and exponent are 0.
    // The zero value for decimal represents a ready-to-use 0.0.
    type decimal struct {
    	mant []byte // mantissa ASCII digits, big-endian
    	exp  int    // exponent
    }
    
    // at returns the i'th mantissa digit, starting with the most significant digit at 0.
    func (d *decimal) at(i int) byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/analysis/CharTypeFilterFactory.java

        private final boolean digit;
    
        private final boolean letter;
    
        public CharTypeFilterFactory(final IndexSettings indexSettings, final Environment environment, final String name,
                final Settings settings) {
            super(indexSettings, name, settings);
    
            alphabetic = settings.getAsBoolean("alphabetic", true);
            digit = settings.getAsBoolean("digit", true);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParser.java

                    startPart = pos + 1;
                    digit = false;
                    if (ch != '.' && endBaseStr == 0) {
                        endBase = parts.size();
                        endBaseStr = pos;
                    }
                } else if (ch >= '0' && ch <= '9') {
                    if (!digit && pos > startPart) {
                        if (endBaseStr == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. .github/workflows/sigbuild-docker.yml

            run: |
              # [[:digit:]] searches for numbers and \+ joins them together
              major_version=$(grep "^#define TF_MAJOR_VERSION" ./tensorflow/core/public/version.h | grep -o "[[:digit:]]\+")
              minor_version=$(grep "^#define TF_MINOR_VERSION" ./tensorflow/core/public/version.h | grep -o "[[:digit:]]\+")
              echo "TF_VERSION=${major_version}.${minor_version}" >> "$GITHUB_OUTPUT"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 18:43:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/regexp/syntax/perl_groups.go

    	`[:ascii:]`:   {+1, code6},
    	`[:^ascii:]`:  {-1, code6},
    	`[:blank:]`:   {+1, code7},
    	`[:^blank:]`:  {-1, code7},
    	`[:cntrl:]`:   {+1, code8},
    	`[:^cntrl:]`:  {-1, code8},
    	`[:digit:]`:   {+1, code9},
    	`[:^digit:]`:  {-1, code9},
    	`[:graph:]`:   {+1, code10},
    	`[:^graph:]`:  {-1, code10},
    	`[:lower:]`:   {+1, code11},
    	`[:^lower:]`:  {-1, code11},
    	`[:print:]`:   {+1, code12},
    	`[:^print:]`:  {-1, code12},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top