Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,674 for One (0.17 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
      }
    
      public void testRemovalListener_collected() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
      }
    
      public void testRemovalListener_collected() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                            Sets.newHashSet("c", elements[0], "d"));
                      }
                    })
                .named("intersection with overlap of one")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(4, diff.evictionCount());
    
        assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two));
      }
    
      public void testPlus() {
        CacheStats one = new CacheStats(11, 13, 15, 13, 11, 9);
        CacheStats two = new CacheStats(53, 47, 41, 39, 37, 35);
    
        CacheStats sum = two.plus(one);
        assertEquals(124, sum.requestCount());
        assertEquals(64, sum.hitCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      public void testForMapWithoutDefault() {
        Map<String, @Nullable Integer> map = Maps.newHashMap();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      public void testForMapWithoutDefault() {
        Map<String, @Nullable Integer> map = Maps.newHashMap();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subset() {
        expectReturnsTrue(nonEmptyProperSubset);
        expectContents(nonEmptyProperSubset.toRetain);
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subsetUnsupported() {
        expectThrows(nonEmptyProperSubset);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. guava-gwt/src/com/google/common/base/Base.gwt.xml

        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/html/Html.gwt.xml

        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
Back to top