Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for OK (0.16 sec)

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

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(otherKey, loader); // loads another key, is ok
              }
            };
        testLoadThrows(key, cache, proxyLoader);
      }
    
      // utility methods
    
      private void testLoadThrows(
    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

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(otherKey, loader); // loads another key, is ok
              }
            };
        testLoadThrows(key, cache, proxyLoader);
      }
    
      // utility methods
    
      private void testLoadThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
        ListenableFuture<String> future = immediateFuture(DATA1);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
        ListenableFuture<String> future = immediateFuture(DATA1);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

          // computed from that capacity. Because the internal table is only allocated on the first
          // write, we won't see copying because of the new threshold. So it is always OK to use the
          // calculation here.
          return (int) Math.ceil(expectedSize / 0.75);
        }
        return Integer.MAX_VALUE; // any large value
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top