Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for clock (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
       *   <li>{@code isCancelled()} must return {@code false}
       *   <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the
       *       return value of this method as its cause
       * </ul>
       *
       * <p>This method is {@code protected} so that classes like {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * of reads may not be immediately reflected on the algorithm's data structures. These structures
       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
       * penalty of applying the batches is spread across threads so that the amortized cost is slightly
       * higher than performing just the operation without enforcing the capacity constraint.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * {@code tailSet} views.
       *
       * <pre>{@code
       * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>());
       *  ...
       * synchronized (set) {
       *   // Must be in the synchronized block
       *   Iterator<E> it = set.iterator();
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
       * <p>or:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       * value, you should always choose it explicitly.
       *
       * <p>The current implementation uses the concurrency level to create a fixed number of hashtable
       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * the {@code Future} is already done. Second, if buggy code calls {@code getDone} on a {@code
       * Future} that is still pending, the program will throw instead of block. This can be important
       * for APIs like {@link #whenAllComplete whenAllComplete(...)}{@code .}{@link
       * FutureCombiner#call(Callable, Executor) call(...)}, where it is easy to use a new input from
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       *     HashMultimap.<K, V>create());
       * ...
       * Collection<V> values = multimap.get(key);  // Needn't be in synchronized block
       * ...
       * synchronized (multimap) {  // Synchronizing on multimap, not values!
       *   Iterator<V> i = values.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top