Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 854 for Two (0.14 sec)

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

        assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3), "one", 1, "three", 3, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "four",
            4,
            "one",
            1,
            "three",
            3,
            "two",
            2);
        assertMapEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2).inverse(), 1, "one", 2, "two");
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3).inverse(),
            1,
            "one",
            2,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        Object two = new Object();
        Object three = new Object();
    
        ConcurrentMap<Object, Object> map = cache.asMap();
        assertNull(map.put(one, two));
        assertSame(two, map.get(one));
        map.putAll(ImmutableMap.of(two, three));
        assertSame(three, map.get(two));
        assertSame(two, map.putIfAbsent(one, three));
        assertSame(two, map.get(one));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3), "one", 1, "three", 3, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "four",
            4,
            "one",
            1,
            "three",
            3,
            "two",
            2);
        assertMapEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          // Do nothing.
        }
    
        redQueue.execute("task two", 200.µs) {
          // Do nothing.
        }
    
        assertThat(redQueue.scheduledTasks.toString()).isEqualTo("[task one, task two]")
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task one",
          "FINE: Q10000 scheduled after 200 µs: task two",
        )
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertTrue(queue.add("one"));
        assertTrue(queue.add("two"));
        assertTrue(queue.add("three"));
        assertEquals("one", queue.element());
        assertEquals("one", queue.peek());
        assertEquals(3, queue.size());
        assertEquals(0, queue.remainingCapacity());
    
        assertTrue(queue.add("four"));
        assertEquals("two", queue.element());
        assertEquals("two", queue.peek());
        assertEquals(3, queue.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertDiagonalLinearTransformation(
            TWO_VALUES_PAIRED_STATS.leastSquaresFit(),
            TWO_VALUES_PAIRED_STATS.xStats().mean(),
            TWO_VALUES_PAIRED_STATS.yStats().mean(),
            TWO_VALUES_PAIRED_STATS.xStats().populationVariance(),
            TWO_VALUES_PAIRED_STATS.populationCovariance());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertDiagonalLinearTransformation(
            TWO_VALUES_PAIRED_STATS.leastSquaresFit(),
            TWO_VALUES_PAIRED_STATS.xStats().mean(),
            TWO_VALUES_PAIRED_STATS.yStats().mean(),
            TWO_VALUES_PAIRED_STATS.xStats().populationVariance(),
            TWO_VALUES_PAIRED_STATS.populationCovariance());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

            .containsExactly(mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
        assertThat(map.subMap("one", "two").entrySet())
            .containsExactly(mapEntry("one", 3), mapEntry("three", 5))
            .inOrder();
    
        assertEquals(ImmutableSortedMap.of("two", 3, "three", 5), map.tailMap("three", true));
        assertEquals(ImmutableSortedMap.of("one", 3, "three", 5), map.headMap("two", false));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top