Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ReturnValueIgnored (0.25 sec)

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

            .testEquals();
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            .testEquals();
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        try {
          builder.expireAfterWrite(-1, SECONDS);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testTimeToLive_small() {
        CacheBuilder.newBuilder().expireAfterWrite(1, NANOSECONDS).build(identityLoader());
        // well, it didn't blow up.
      }
    
      public void testTimeToLive_setTwice() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> builder.expireAfterWrite(java.time.Duration.ofSeconds(-1)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testTimeToLive_small() {
        CacheBuilder.newBuilder().expireAfterWrite(1, NANOSECONDS).build(identityLoader());
        // well, it didn't blow up.
      }
    
      public void testTimeToLive_setTwice() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

              return name;
            }
          };
        }
    
        static final QueryOp<Map<Object, Object>> MAP_GET =
            QueryOp.create("Map.get", Map::get, Math::log);
    
        @SuppressWarnings("ReturnValueIgnored")
        static final QueryOp<Set<Object>> SET_CONTAINS =
            QueryOp.create("Set.contains", Set::contains, Math::log);
    
        abstract void apply(T collection, Object query);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top