Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for 0123 (0.23 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Integer#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, Integer> stringConverter() {
        return IntConverter.INSTANCE;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. 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() {
        return ShortConverter.INSTANCE;
      }
    
    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)
  3. android/guava/src/com/google/common/primitives/Longs.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Long#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 83L}.
       *
       * @since 16.0
       */
      public static Converter<String, Long> stringConverter() {
        return LongConverter.INSTANCE;
      }
    
    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. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123));
        assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123));
      }
    
      public void testHashCodeAndEquals() {
        HostAndPort hpNoPort1 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort2 = HostAndPort.fromString("foo::123");
        HostAndPort hpNoPort3 = HostAndPort.fromString("[foo::123]");
        HostAndPort hpNoPort4 = HostAndPort.fromHost("[foo::123]");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashCodeTest.java

                    (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01
                  },
                  0x89abcdef,
                  0x0123456789abcdefL,
                  "efcdab8967452301"),
              new ExpectedHashCode(
                  new byte[] {
                    (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x89,
                    (byte) 0x67, (byte) 0x45, (byte) 0x23,
                        (byte) 0x01, // up to here, same bytes as above
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

    /**
     * Common benchmarking utilities.
     *
     * @author Christopher Swenson
     * @author Louis Wasserman
     */
    class BenchmarkHelpers {
      private static final String WHITESPACE_CHARACTERS =
          "\u00a0\u180e\u202f\t\n\013\f\r \u0085"
              + "\u1680\u2028\u2029\u205f\u3000\u2000\u2001\u2002\u2003\u2004\u2005"
              + "\u2006\u2007\u2008\u2009\u200a";
      private static final String ASCII_CHARACTERS;
    
      static {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/DoubleUtils.java

      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGN_MASK = 0x8000000000000000L;
    
      static final int SIGNIFICAND_BITS = 52;
    
      static final int EXPONENT_BIAS = 1023;
    
      /** The implicit 1 bit that is omitted in significands of normal doubles. */
      static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1;
    
      static long getSignificand(double d) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(SignedBytes.join(",", ARRAY1)).isEqualTo("1");
        assertThat(SignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2");
        assertThat(SignedBytes.join("", (byte) 1, (byte) 2, (byte) 3)).isEqualTo("123");
        assertThat(SignedBytes.join(",", (byte) -128, (byte) -1)).isEqualTo("-128,-1");
      }
    
      @J2ktIncompatible // b/285319375
      public void testLexicographicalComparator() {
        List<byte[]> ordered =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2Half() {
        // We don't expect perfect rounding accuracy.
        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
            double x = Math.scalb(Math.sqrt(2) + 0.001, exp);
            double y = Math.scalb(Math.sqrt(2) - 0.001, exp);
            if (exp < 0) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.join(",", -1, Long.MIN_VALUE))
            .isEqualTo("18446744073709551615,9223372036854775808");
        assertThat(UnsignedLongs.join("", 1, 2, 3)).isEqualTo("123");
        assertThat(UnsignedLongs.join("", -1, Long.MIN_VALUE))
            .isEqualTo("184467440737095516159223372036854775808");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top