Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 399 for udigits (0.36 sec)

  1. src/internal/gover/gover.go

    	// Scan right to left turning 0s to 9s until you find a digit to decrement.
    	digits := []byte(decimal)
    	i := len(digits) - 1
    	for ; i >= 0 && digits[i] == '0'; i-- {
    		digits[i] = '9'
    	}
    	if i < 0 {
    		// decimal is all zeros
    		return ""
    	}
    	if i == 0 && digits[i] == '1' && len(digits) > 1 {
    		digits = digits[1:]
    	} else {
    		digits[i]--
    	}
    	return string(digits)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

          throw new NumberFormatException();
        }
        int octet = 0;
        for (int i = start; i < end; i++) {
          octet *= 10;
          int digit = Character.digit(ipString.charAt(i), 10);
          if (digit < 0) {
            throw new NumberFormatException();
          }
          octet += digit;
        }
        if (octet > 255) {
          throw new NumberFormatException();
        }
        return (byte) octet;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. src/math/big/example_test.go

    // This example demonstrates how to use big.Int to compute the smallest
    // Fibonacci number with 100 decimal digits and to test whether it is prime.
    func Example_fibonacci() {
    	// Initialize two big ints with the first two numbers in the sequence.
    	a := big.NewInt(0)
    	b := big.NewInt(1)
    
    	// Initialize limit as 10^99, the smallest integer with 100 digits.
    	var limit big.Int
    	limit.Exp(big.NewInt(10), big.NewInt(99), nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 16:15:32 UTC 2020
    - 4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/DependencyInsightOutputNormalizer.groovy

            output.replaceAll("(?x)" +
                "# Captures first half of the table\n" +
                "(\\s+\\|\\s+org\\.gradle\\.jvm\\.version\\s+\\|\\s+\\|\\s+)" +
                "# Decides between a single digit + spacing (e.g. '8 '), or two digits (e.g. 17)\n" +
                "# This is the value being replaced.\n" +
                "(?:\\d\\s|\\d{2})" +
                "# Capture the tail end of the table\n" +
                "(\\s+\\|)",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/main/resources/fess_message_en.properties

    constraints.DecimalMin.message  = {item} must be greater than ${inclusive == true ? 'or equal to ' : ''}{value}.
    constraints.Digits.message      = {item} is numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected).
    constraints.Future.message      = {item} must be in the future.
    constraints.Max.message         = {item} must be less than or equal to {value}.
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/main/resources/fess_message.properties

    constraints.DecimalMin.message  = {item} must be greater than ${inclusive == true ? 'or equal to ' : ''}{value}.
    constraints.Digits.message      = {item} is numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected).
    constraints.Future.message      = {item} must be in the future.
    constraints.Max.message         = {item} must be less than or equal to {value}.
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

          throw new NumberFormatException();
        }
        int octet = 0;
        for (int i = start; i < end; i++) {
          octet *= 10;
          int digit = Character.digit(ipString.charAt(i), 10);
          if (digit < 0) {
            throw new NumberFormatException();
          }
          octet += digit;
        }
        if (octet > 255) {
          throw new NumberFormatException();
        }
        return (byte) octet;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    //
    // ```
    // <quantity>        ::= <signedNumber><suffix>
    //
    //	(Note that <suffix> may be empty, from the "" case in <decimalSI>.)
    //
    // <digit>           ::= 0 | 1 | ... | 9
    // <digits>          ::= <digit> | <digit><digits>
    // <number>          ::= <digits> | <digits>.<digits> | <digits>. | .<digits>
    // <sign>            ::= "+" | "-"
    // <signedNumber>    ::= <number> | <sign><number>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
        long cap = Long.MIN_VALUE / radix;
    
        while (index < string.length()) {
          digit = AsciiDigits.digit(string.charAt(index++));
          if (digit < 0 || digit >= radix || accum < cap) {
            return null;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Longs.java

          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
        long cap = Long.MIN_VALUE / radix;
    
        while (index < string.length()) {
          digit = AsciiDigits.digit(string.charAt(index++));
          if (digit < 0 || digit >= radix || accum < cap) {
            return null;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top