Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for Rascia (0.36 sec)

  1. guava-tests/test/com/google/common/io/testdata/ascii.txt

    Kurt Kluever <******@****.***> 1372373349 -0400
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 27 23:23:22 GMT 2013
    - 95 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/testdata/ascii.txt

    zhenghua <******@****.***> 1492724018 -0700
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 95 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertEquals(LOWER, Ascii.toLowerCase(UPPER));
        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AsciiTest.java

        assertEquals(LOWER, Ascii.toLowerCase(UPPER));
        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
    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)
  5. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        return NONALPHA.charAt(random.nextInt(NONALPHA.length()));
      }
    
      @Benchmark
      int asciiStringToUpperCase(int reps) {
        String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Ascii.toUpperCase(string).length();
        }
        return dummy;
      }
    
      @Benchmark
      int asciiCharSequenceToUpperCase(int reps) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharsetsTest.java

      public void testWhyUsAsciiIsDangerous() {
        byte[] b1 = "朝日新聞".getBytes(Charsets.US_ASCII);
        byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII);
        byte[] b3 = "????".getBytes(Charsets.US_ASCII);
        byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII);
        byte[] b5 = "スューー".getBytes(Charsets.US_ASCII);
        // Assert they are all equal (using the transitive property)
        assertTrue(Arrays.equals(b1, b2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CaseFormat.java

        @Override
        String normalizeWord(String word) {
          return Ascii.toUpperCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_HYPHEN) {
            return Ascii.toLowerCase(s.replace('_', '-'));
          }
          if (format == LOWER_UNDERSCORE) {
            return Ascii.toLowerCase(s);
          }
          return super.convert(format, s);
        }
      };
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

     *
     * <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
     * non-ASCII characters to their numeric entity replacements. These XML escapers provide the minimal
     * level of escaping to ensure that the output can be safely included in a Unicode XML document.
     *
    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)
  9. guava/src/com/google/common/base/Charsets.java

      private Charsets() {}
    
      /**
       * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US).
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#US_ASCII} instead.
       *
       */
      @J2ktIncompatible
      @GwtIncompatible // Charset not supported by GWT
      public static final Charset US_ASCII = Charset.forName("US-ASCII");
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/CharsetsTest.java

      public void testWhyUsAsciiIsDangerous() {
        byte[] b1 = "朝日新聞".getBytes(Charsets.US_ASCII);
        byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII);
        byte[] b3 = "????".getBytes(Charsets.US_ASCII);
        byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII);
        byte[] b5 = "スューー".getBytes(Charsets.US_ASCII);
        // Assert they are all equal (using the transitive property)
        assertTrue(Arrays.equals(b1, b2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top