Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 843 for Two (0.19 seconds)

  1. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code AbstractBiMap}.
     *
     * @author Mike Bostock
     */
    @NullUnmarked
    public class AbstractBiMapTest extends TestCase {
    
      // The next two tests verify that map entries are not accessed after they're
      // removed, since IdentityHashMap throws an exception when that occurs.
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

              2 * THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS * ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS
              +
              // Two two byte characters
              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS * TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS
              +
              // Permutations of one and two byte characters
              3
                  * TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS
                  * ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/DialectVersion.java

        public boolean atMost(final DialectVersion v) {
            return ordinal() <= v.ordinal();
        }
    
        /**
         * Get the minimum of two dialect versions
         *
         * @param a the first version to compare
         * @param b the second version to compare
         * @return smaller of the two versions
         */
        public static DialectVersion min(final DialectVersion a, final DialectVersion b) {
            if (a.atMost(b)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ComparisonChain.java

      /**
       * Compares two objects using a comparator, <i>if</i> the result of this comparison chain has not
       * already been determined.
       */
      public abstract <T extends @Nullable Object> ComparisonChain compare(
          @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object one = new Object();
        Object two = new Object();
        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
        Object six = new Object();
    
        map.put(one, two);
        map.remove(one);
        assertNotified(listener, one, two, RemovalCause.EXPLICIT);
    
        map.put(two, three);
        map.remove(two, three);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object one = new Object();
        Object two = new Object();
        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
        Object six = new Object();
    
        map.put(one, two);
        map.remove(one);
        assertNotified(listener, one, two, RemovalCause.EXPLICIT);
    
        map.put(two, three);
        map.remove(two, three);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/StringsTest.java

        // One invalid pair.
        assertThat(Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uD8ABxyz")).isEqualTo("abc");
        // Two identical invalid pairs.
        assertThat(Strings.commonPrefix("abc\uD8AB\uD8ACdef", "abc\uD8AB\uD8ACxyz"))
            .isEqualTo("abc\uD8AB\uD8AC");
        // Two differing invalid pairs.
        assertThat(Strings.commonPrefix("abc\uD8AB\uD8ABdef", "abc\uD8AB\uD8ACxyz"))
            .isEqualTo("abc\uD8AB");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/StringsTest.java

        // One invalid pair.
        assertThat(Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uD8ABxyz")).isEqualTo("abc");
        // Two identical invalid pairs.
        assertThat(Strings.commonPrefix("abc\uD8AB\uD8ACdef", "abc\uD8AB\uD8ACxyz"))
            .isEqualTo("abc\uD8AB\uD8AC");
        // Two differing invalid pairs.
        assertThat(Strings.commonPrefix("abc\uD8AB\uD8ABdef", "abc\uD8AB\uD8ACxyz"))
            .isEqualTo("abc\uD8AB");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top