Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for 0x9A (0.03 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashCodeTest.java

                  0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
                  "efcdab89674523010102030405060708"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xdf, (byte) 0x9b, (byte) 0x57, (byte) 0x13},
                  0x13579bdf,
                  null,
                  "df9b5713"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

                  0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
                  "efcdab89674523010102030405060708"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xdf, (byte) 0x9b, (byte) 0x57, (byte) 0x13},
                  0x13579bdf,
                  null,
                  "df9b5713"),
              new ExpectedHashCode(
                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Utf8.java

                // Check that 1 <= plane <= 16. Tricky optimized form of:
                // if (byte1 > (byte) 0xF4
                //     || byte1 == (byte) 0xF0 && byte2 < (byte) 0x90
                //     || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F)
                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
              // Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time.
              return 0x100;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
              // Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time.
              return 0x100;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

            Longs.toByteArray(0x1213141516171819L));
        assertByteArrayEquals(
            new byte[] {
              (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
              (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88
            },
            Longs.toByteArray(0xFFEEDDCCBBAA9988L));
      }
    
      public void testFromByteArray() {
        assertThat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top