Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for parser (3.56 sec)

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

      Luckily for Alice, the little magic bottle had now had its full
    effect, and she grew no larger:  still it was very uncomfortable,
    and, as there seemed to be no sort of chance of her ever getting
    out of the room again, no wonder she felt unhappy.
    
      `It was much pleasanter at home,' thought poor Alice, `when one
    wasn't always growing larger and smaller, and being ordered about
    by mice and rabbits.  I almost wish I hadn't gone down that
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
        void parse(CacheBuilderSpec spec, String key, @CheckForNull String value);
      }
    
      /** Splits each key-value pair. */
      private static final Splitter KEYS_SPLITTER = Splitter.on(',').trimResults();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       *     length of zero or cannot be parsed as a long value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      @CheckForNull
      public static Long tryParse(String string) {
        return tryParse(string, 10);
      }
    
      /**
       * Parses the specified string as a signed long value using the specified radix. The ASCII
    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)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=UTF-8"),
                MediaType.parse("text/plain ; charset=utf-8"),
                MediaType.parse("text/plain; charset =UTF-8"),
                MediaType.parse("text/plain; charset= UTF-8"),
                MediaType.parse("text/plain; charset  =  UTF-8"),
                MediaType.parse("text/plain; charset=\tUTF-8"))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=UTF-8"),
                MediaType.parse("text/plain ; charset=utf-8"),
                MediaType.parse("text/plain; charset =UTF-8"),
                MediaType.parse("text/plain; charset= UTF-8"),
                MediaType.parse("text/plain; charset  =  UTF-8"),
                MediaType.parse("text/plain; charset=\tUTF-8"))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String, int)} instead.
       *
       * @param string the string containing the unsigned {@code long} representation to be parsed.
       * @param radix the radix to use while parsing {@code string}
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long} with
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

      }
    
      /**
       * Parses a media type from its string representation.
       *
       * @throws IllegalArgumentException if the input is not parsable
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static MediaType parse(String input) {
        checkNotNull(input);
        Tokenizer tokenizer = new Tokenizer(input);
        try {
    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)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        checkTryParse(Float.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Float.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Float.NEGATIVE_INFINITY, "-Infinity");
      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Short> stringConverter() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535);
      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
       * to parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Integer value, int radix) {
        assertWithMessage("Radix: " + radix)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
Back to top