Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for 0x80 (0.12 sec)

  1. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

          }
    
          // We can't use .clone() because of GWT.
          byte[] newDecodabet = Arrays.copyOf(decodabet, decodabet.length);
          for (int upper = 'A'; upper <= 'Z'; upper++) {
            int lower = upper | 0x20;
            byte decodeUpper = decodabet[upper];
            byte decodeLower = decodabet[lower];
            if (decodeUpper == -1) {
              newDecodabet[upper] = decodeLower;
            } else {
              checkState(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testBase32InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base32(), "A ", "Unrecognized character: 0x20");
        assertFailsToDecode(base32(), "Wf2!", "Unrecognized character: f");
        // This sentence just isn't base32() encoded.
        assertFailsToDecode(base32(), "let's not talk of love or chains!");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/xml/XmlEscapers.java

     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class XmlEscapers {
      private XmlEscapers() {}
    
      private static final char MIN_ASCII_CONTROL_CHAR = 0x00;
      private static final char MAX_ASCII_CONTROL_CHAR = 0x1F;
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

                  new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00},
                  0x0000abcd,
                  null,
                  "cdab0000"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x00,
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
                  },
                  0x00abcdef,
                  0x0000000000abcdefL,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putChar((char) 0x0101)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0x80, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0xa0, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32)));
        assertFalse(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
Back to top