Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for decimal (0.21 sec)

  1. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    /** Benchmarks for the hashing of UTF-8 strings. */
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    /** Benchmarks for the hashing of UTF-8 strings. */
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    the literal value.
    </p>
    
    <pre class="ebnf">
    float_lit         = decimal_float_lit | hex_float_lit .
    
    decimal_float_lit = decimal_digits "." [ decimal_digits ] [ decimal_exponent ] |
                        decimal_digits decimal_exponent |
                        "." decimal_digits [ decimal_exponent ] .
    decimal_exponent  = ( "e" | "E" ) [ "+" | "-" ] decimal_digits .
    
    hex_float_lit     = "0" ( "x" | "X" ) hex_mantissa hex_exponent .
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

        return (int) (toLong(dividend) % toLong(divisor));
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given string.
       *
       * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix:
       *
       * <ul>
       *   <li>{@code 0x}<i>HexDigits</i>
       *   <li>{@code 0X}<i>HexDigits</i>
       *   <li>{@code #}<i>HexDigits</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    		fmt.Fprintln(os.Stderr, "reading input:", err)
    	}
    	fmt.Printf("%d\n", count)
    	// Output: 15
    }
    
    // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
    // 32-bit decimal input.
    func ExampleScanner_custom() {
    	// An artificial input source.
    	const input = "1234 5678 1234567901234567890"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4_test.go

    		err := readCRLF(tt.reader)
    		if err != tt.expectedErr {
    			t.Errorf("Test %d: Expected %s, got %s this", i+1, tt.expectedErr, err)
    		}
    	}
    }
    
    // Tests parsing hex number into its uint64 decimal equivalent.
    func TestParseHexUint(t *testing.T) {
    	type testCase struct {
    		in      string
    		want    uint64
    		wantErr string
    	}
    	tests := []testCase{
    		{"x", 0, "invalid byte in chunk length"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // An IP address can be represented in different formats, to guarantee the uniqueness of the IP,
    // the name of the object is the IP address in canonical format, four decimal digits separated
    // by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6.
    // Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        long rem = dividend - quotient * divisor;
        return rem - (compare(rem, divisor) >= 0 ? divisor : 0);
      }
    
      /**
       * Returns the unsigned {@code long} value represented by the given decimal string.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    // CastFunc represents CAST sql function
    type CastFunc struct {
    	Expr     *Expression `parser:" \"CAST\" \"(\" @@ "`
    	CastType string      `parser:" \"AS\" @(\"BOOL\" | \"INT\" | \"INTEGER\" | \"STRING\" | \"FLOAT\" | \"DECIMAL\" | \"NUMERIC\" | \"TIMESTAMP\") \")\" "`
    }
    
    // SubstringFunc represents SUBSTRING sql function
    type SubstringFunc struct {
    	Expr *PrimaryTerm `parser:" \"SUBSTRING\" \"(\" @@ "`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLong.java

       *
       * <p>If the argument is nonnegative, the returned result will be equal to {@code bits},
       * otherwise, the result will be equal to {@code 2^64 + bits}.
       *
       * <p>To represent decimal constants less than {@code 2^63}, consider {@link #valueOf(long)}
       * instead.
       *
       * @since 14.0
       */
      public static UnsignedLong fromLongBits(long bits) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
Back to top