Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 0123 (0.14 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. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

                2330, 3016, 2736, 191, 21729, 1257, 1098, 30041, 49548, 25103, 48708, 20570, 31080,
                21151, 37202, 31169, 20174, 27169, 49888, 20123, 51109, 25454, 32929, 35215, 4309,
                32080, 25972, 25913, 180, 2970, 50689, 38738, 20294, 12302, 2991, 21345, 20104, 32218,
                35443, 12403, 23455, 215, 20999, 23548, 31215, 32473, 30058, 30465, 23384, 48512, 28145,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  3. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertThat(join(1)).isEqualTo("1");
        assertThat(join(1, 2)).isEqualTo("1,2");
        assertThat(join(-1, Integer.MIN_VALUE)).isEqualTo("4294967295,2147483648");
    
        assertThat(UnsignedInts.join("", 1, 2, 3)).isEqualTo("123");
      }
    
      private static String join(int... values) {
        return UnsignedInts.join(",", values);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Longs.join(",", (long) 1, (long) 2)).isEqualTo("1,2");
        assertThat(Longs.join("", (long) 1, (long) 2, (long) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {MIN_VALUE},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Longs.join(",", (long) 1, (long) 2)).isEqualTo("1,2");
        assertThat(Longs.join("", (long) 1, (long) 2, (long) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {MIN_VALUE},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top