Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Road (0.2 sec)

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

              @Override
              public String load(String key) throws Exception {
                return cache.get(
                    key,
                    identityLoader()); // recursive load (same as the initial one), this should fail
              }
            };
        CacheLoader<String, String> proxyLoader =
            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
    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

              @Override
              public String load(String key) throws Exception {
                return cache.get(
                    key,
                    identityLoader()); // recursive load (same as the initial one), this should fail
              }
            };
        CacheLoader<String, String> proxyLoader =
            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
    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/src/com/google/common/cache/LocalCache.java

        @Override
        public void notifyNewValue(@CheckForNull V newValue) {
          if (newValue != null) {
            // The pending load was clobbered by a manual write.
            // Unblock all pending gets, and have them return the new value.
            set(newValue);
          } else {
            // The pending load was removed. Delay notifications until loading completes.
            oldValue = unset();
          }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransform_StackOverflow() throws Exception {
        {
          /*
           * Initialize all relevant classes before running the test, which may otherwise poison any
           * classes it is trying to load during its stack overflow.
           */
          SettableFuture<Object> root = SettableFuture.create();
          ListenableFuture<Object> unused = transform(root, identity(), directExecutor());
          root.set("foo");
        }
    
    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)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransform_StackOverflow() throws Exception {
        {
          /*
           * Initialize all relevant classes before running the test, which may otherwise poison any
           * classes it is trying to load during its stack overflow.
           */
          SettableFuture<Object> root = SettableFuture.create();
          ListenableFuture<Object> unused = transform(root, identity(), directExecutor());
          root.set("foo");
        }
    
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        @Override
        public void notifyNewValue(@CheckForNull V newValue) {
          if (newValue != null) {
            // The pending load was clobbered by a manual write.
            // Unblock all pending gets, and have them return the new value.
            set(newValue);
          } else {
            // The pending load was removed. Delay notifications until loading completes.
            oldValue = unset();
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
       * larger than expectedSize and the load factor is ≥ its default (0.75).
       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
    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