Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for 0123456789 (0.15 sec)

  1. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test all non-escaped ASCII characters.
        String s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AsciiTest.java

        try {
          Ascii.truncate("foobar", 2, "...");
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          Ascii.truncate("foobar", 8, "1234567890");
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          Ascii.truncate("foobar", -1, "...");
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
        assertSip("12345678", 0x02130609caea37ebL);
        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
      // Test for common pitfall regarding sign extension.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/StringsTest.java

        }
    
        try {
          Strings.repeat("x", -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // Massive string
          Strings.repeat("12345678", (1 << 30) + 3);
          fail();
        } catch (ArrayIndexOutOfBoundsException expected) {
        }
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testRepeat_null() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top