Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for Rascia (0.23 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

     *       which operate only on the ASCII characters of a string.
     * </ul>
     *
     * @author Catherine Berry
     * @author Gregory Kick
     * @since 7.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Ascii {
    
      private Ascii() {}
    
      /* The ASCII control characters, per RFC 20. */
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Ascii;
    import com.google.common.collect.testing.SpliteratorTester;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Spliterator;
    import java.util.stream.DoubleStream;
    import java.util.stream.IntStream;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
       * an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
       * {@code null} if non-ASCII digits are present in the string.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.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 {
        UnicodeEscaper replacingEscaper =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  7. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
              return 0x80;
            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/MediaType.java

        checkArgument(!token.isEmpty());
        return Ascii.toLowerCase(token);
      }
    
      private static String normalizeParameterValue(String attribute, String value) {
        checkNotNull(value); // for GWT
        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
        return CHARSET_ATTRIBUTE.equals(attribute) ? Ascii.toLowerCase(value) : value;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

      }
    
      public static ByteSinkFactory fileByteSinkFactory() {
        return new FileByteSinkFactory(null);
      }
    
      public static ByteSinkFactory appendingFileByteSinkFactory() {
        String initialString = IoTestCase.ASCII + IoTestCase.I18N;
        return new FileByteSinkFactory(initialString.getBytes(Charsets.UTF_8));
      }
    
      public static CharSourceFactory fileCharSourceFactory() {
        return new FileCharSourceFactory();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/package-info.java

     * library.
     *
     * <h2>Contents</h2>
     *
     * The classes in this package that are most commonly useful are:
     *
     * <h3>String utilities</h3>
     *
     * <ul>
     *   <li>{@link Ascii}
     *   <li>{@link CaseFormat}
     *   <li>{@link CharMatcher}
     *   <li>{@link Splitter}
     *   <li>{@link Strings}
     * </ul>
     *
     * <h3>Function types</h3>
     *
     * <ul>
     *   <li>{@link Converter}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top