Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for usable (0.31 sec)

  1. 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)
  2. guava/src/com/google/common/cache/LocalCache.java

            long now = map.ticker.read();
            preWriteCleanup(now);
    
            int newCount = this.count - 1;
            AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
            int index = hash & (table.length() - 1);
            ReferenceEntry<K, V> first = table.get(index);
    
            for (e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
    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. 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)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * An operation that computes a result.
       *
       * @param <V> the type of the result
       */
      public interface ClosingCallable<V extends @Nullable Object> {
        /**
         * Computes a result, or throws an exception if unable to do so.
         *
         * <p>Any objects that are passed to {@link DeferredCloser#eventuallyClose(Object, Executor)
         * closer.eventuallyClose()} will be closed when the {@link ClosingFuture} pipeline is done (but
    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)
  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
      }
    
      /**
       * Creates a <i>mutable</i>, empty, insertion-ordered {@code LinkedHashMap} instance.
       *
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

            long now = map.ticker.read();
            preWriteCleanup(now);
    
            int newCount = this.count - 1;
            AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
            int index = hash & (table.length() - 1);
            ReferenceEntry<K, V> first = table.get(index);
    
            for (e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
    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)
Back to top