Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for 123 (0.15 sec)

  1. android/guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
      private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_NULL =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ConverterTest.java

        List<String> mutableList = Lists.newArrayList("789", "123");
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(mutableList);
        assertEquals(ImmutableList.of(789L, 123L), ImmutableList.copyOf(convertedValues));
    
        Iterator<Long> iterator = convertedValues.iterator();
        iterator.next();
        iterator.remove();
        assertEquals(ImmutableList.of("123"), mutableList);
      }
    
      public void testReverse() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

            ImmutableList.of(
                new StreamingVersion().newHasher(),
                new StreamingVersion().newHasher(52),
                new NonStreamingVersion().newHasher(),
                new NonStreamingVersion().newHasher(123));
        Random random = new Random(0);
        for (int i = 0; i < 200; i++) {
          RandomHasherAction.pickAtRandom(random).performAction(random, hashers);
        }
        HashCode[] codes = new HashCode[hashers.size()];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

            ImmutableList.of(
                new StreamingVersion().newHasher(),
                new StreamingVersion().newHasher(52),
                new NonStreamingVersion().newHasher(),
                new NonStreamingVersion().newHasher(123));
        Random random = new Random(0);
        for (int i = 0; i < 200; i++) {
          RandomHasherAction.pickAtRandom(random).performAction(random, hashers);
        }
        HashCode[] codes = new HashCode[hashers.size()];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. 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 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
      private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_NULL =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("foo [5, 6, 7]", Strings.lenientFormat("foo", 5, 6, 7));
        assertEquals("%s 1 2", Strings.lenientFormat("%s %s %s", "%s", 1, 2));
        assertEquals(" [5, 6]", Strings.lenientFormat("", 5, 6));
        assertEquals("123", Strings.lenientFormat("%s%s%s", 1, 2, 3));
        assertEquals("1%s%s", Strings.lenientFormat("%s%s%s", 1));
        assertEquals("5 + 6 = 11", Strings.lenientFormat("%s + 6 = 11", 5));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            AtomicDouble.class);
      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
        assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1));
        assertFalse(ArbitraryInstances.get(Equivalence.class).equivalent(1, 2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.7K bytes
    - Viewed (0)
Back to top