Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for parser (0.36 sec)

  1. android/guava/src/com/google/common/net/HostAndPort.java

       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
       * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. android/pom.xml

                    <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
                    <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
                    <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
                    <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testParseIntWithRadixLimits() {
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
          String maxAsString = Long.toString((1L << 32) - 1, radix);
          assertThat(UnsignedInts.parseUnsignedInt(maxAsString, radix)).isEqualTo(-1);
    
          try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE);
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
          String maxAsString = max.toString(radix);
          assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue());
    
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testParseIntWithRadixLimits() {
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
          String maxAsString = Long.toString((1L << 32) - 1, radix);
          assertThat(UnsignedInts.parseUnsignedInt(maxAsString, radix)).isEqualTo(-1);
    
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        checkTryParse(Double.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Double.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Double.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
    - 31.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        checkTryParse(Double.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Double.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Double.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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
        // TODO(user): Consider using
        // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Long value, int radix) {
        assertWithMessage("Radix: " + radix)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top