Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for togo (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testTransform_genericsNull() throws Exception {
        ListenableFuture<?> nullFuture = immediateFuture(null);
        ListenableFuture<?> transformedFuture = transform(nullFuture, constant(null), directExecutor());
        assertNull(getDone(transformedFuture));
      }
    
      @J2ktIncompatible // TODO(b/324550390): Enable
    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)
  2. guava/src/com/google/common/cache/LocalCache.java

      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).get(key, hash);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
    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)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testTransform_genericsNull() throws Exception {
        ListenableFuture<?> nullFuture = immediateFuture(null);
        ListenableFuture<?> transformedFuture = transform(nullFuture, constant(null), directExecutor());
        assertNull(getDone(transformedFuture));
      }
    
      @J2ktIncompatible // TODO(b/324550390): Enable
    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. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Charles Fry */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    public class LocalCacheTest extends TestCase {
      private static class TestStringCacheGenerator extends TestStringMapGenerator {
        private final CacheBuilder<? super String, ? super String> builder;
    
    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)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Charles Fry */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    public class LocalCacheTest extends TestCase {
      private static class TestStringCacheGenerator extends TestStringMapGenerator {
        private final CacheBuilder<? super String, ? super String> builder;
    
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        volatile ValueReference<K, V> oldValue;
    
        // TODO(fry): rename get, then extend AbstractFuture instead of containing SettableFuture
        final SettableFuture<V> futureValue = SettableFuture.create();
        final Stopwatch stopwatch = Stopwatch.createUnstarted();
    
        public LoadingValueReference() {
          this(LocalCache.<K, V>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/util/concurrent/ClosingFuture.java

     *
     * @param <V> the type of the value of this step
     * @since 30.0
     */
    // TODO(dpb): Consider reusing one CloseableList for the entire pipeline, modulo combinations.
    @DoNotMock("Use ClosingFuture.from(Futures.immediate*Future)")
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    // TODO(dpb): GWT compatibility.
    public final class ClosingFuture<V extends @Nullable Object> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object, K extends Enum<K>, V>
          Collector<T, ?, ImmutableMap<K, V>> toImmutableEnumMap(
              java.util.function.Function<? super T, ? extends K> keyFunction,
    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