Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Exists (0.91 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
            }
          } else {
            // The entry already exists. Wait for loading.
            return waitForLoadingValue(e, key, valueReference);
          }
        }
    
        V waitForLoadingValue(ReferenceEntry<K, V> e, K key, ValueReference<K, V> valueReference)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import static com.google.common.base.Functions.identity;
    import static com.google.common.base.Throwables.propagateIfInstanceOf;
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Sets.intersection;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import static com.google.common.base.Functions.identity;
    import static com.google.common.base.Throwables.propagateIfInstanceOf;
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Sets.intersection;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              }
    
              @Override
              public String toString() {
                return function.toString();
              }
            };
        // TODO(dpb): Switch to future.transformSync when that exists (passing a throwing function).
        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

          // creating an ArrayList so filtering happens once
          return Lists.newArrayList(iterator()).toArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

          // creating an ArrayList so filtering happens once
          return Lists.newArrayList(iterator()).toArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ClosingFuture.java

              }
    
              @Override
              public String toString() {
                return function.toString();
              }
            };
        // TODO(dpb): Switch to future.transformSync when that exists (passing a throwing function).
        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
            }
          } else {
            // The entry already exists. Wait for loading.
            return waitForLoadingValue(e, key, valueReference);
          }
        }
    
        V waitForLoadingValue(ReferenceEntry<K, V> e, K key, ValueReference<K, V> valueReference)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top