Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 229 for Rascia (0.18 sec)

  1. guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/html/HtmlEscapers.java

       * document's character encoding can encode any non-ASCII code points in the input (as UTF-8 and
       * other Unicode encodings can).
       *
       * <p><b>Note:</b> This escaper only performs minimal escaping to make content structurally
       * compatible with HTML. Specifically, it does not perform entity replacement (symbolic or
       * numeric), so it does not replace non-ASCII code points with character references. This escaper
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 14 22:08:54 GMT 2021
    - 3K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/FunnelsTest.java

            SerializableTester.reserialize(Funnels.sequentialFunnel(Funnels.integerFunnel())));
        assertEquals(
            Funnels.stringFunnel(Charsets.US_ASCII),
            SerializableTester.reserialize(Funnels.stringFunnel(Charsets.US_ASCII)));
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(Funnels.byteArrayFunnel())
            .addEqualityGroup(Funnels.integerFunnel())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

        assertHash32(0x5BD90FD9, ADLER_32, "The quick brown fox jumps over the lazy cog");
      }
    
      private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) {
        byte[] bytes = HashTestUtils.ascii(input);
    
        Checksum checksum = supplier.get();
        checksum.update(bytes, 0, bytes.length);
        long value = checksum.getValue();
    
        String toString = "name";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testToString() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertEquals(ASCII, Files.toString(asciiFile, Charsets.US_ASCII));
        assertEquals(I18N, Files.toString(i18nFile, Charsets.UTF_8));
        assertThat(Files.toString(i18nFile, Charsets.US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testWriteString() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
      private fun String.asciiToLowercase(): String {
        return when {
          isAscii() -> lowercase(Locale.US) // This is an ASCII string.
          else -> this
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

              }
            };
        EscaperAsserts.assertBasic(deletingEscaper);
        assertEquals(
            "Everything outside the printable ASCII range is deleted.",
            deletingEscaper.escape(
                "\tEverything\0 outside the\uD800\uDC00 "
                    + "printable ASCII \uFFFFrange is \u007Fdeleted.\n"));
      }
    
      public void testReplacementPriority() throws IOException {
        CharEscaper replacingEscaper =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top