Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CacheLoaderNull (0.07 sec)

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

        final AtomicInteger computeCount = new AtomicInteger();
        final AtomicInteger exceptionCount = new AtomicInteger();
        final AtomicInteger computeNullCount = new AtomicInteger();
        @SuppressWarnings("CacheLoaderNull") // test of handling of erroneous implementation
        CacheLoader<String, String> countingIdentityLoader =
            new CacheLoader<String, String>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        LoadingCache<String, String> cache =
            builder.build(
                new CacheLoader<String, String>() {
                  @Override
                  @SuppressWarnings("CacheLoaderNull") // test of broken user implementation
                  public String load(String key) throws InterruptedException {
                    callCount.incrementAndGet();
                    startSignal.await();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top