Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Ward (0.44 sec)

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

      //      since, after all, this class is also a reentrant mutual exclusion lock!?
    
      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Converter.java

     *   };</pre>
     *
     * <p>An alternative using Java 8:
     *
     * <pre>{@code
     * return Converter.from(
     *     Integer::toHexString,
     *     s -> parseUnsignedInt(s, 16));
     * }</pre>
     *
     * @author Mike Ward
     * @author Kurt Alfred Kluever
     * @author Gregory Kick
     * @since 16.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    
    /**
     * Implementation of {@link ImmutableListMultimap} with no entries.
     *
     * @author Mike Ward
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    class EmptyImmutableSetMultimap extends ImmutableSetMultimap<Object, Object> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * equal to warmupPeriod. And the time to go from thresholdPermits to 0 is warmupPeriod/2. (The
       * reason that this is warmupPeriod/2 is to maintain the behavior of the original implementation
       * where coldFactor was hard coded as 3.)
       *
       * <p>It remains to calculate thresholdsPermits and maxPermits.
       *
       * <ul>
       *   <li>The time to go from thresholdPermits to 0 is equal to the integral of the function
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        /*
         * Clear interrupt for future tests.
         *
         * (Ideally we would perform interrupts only in threads that we create, but
         * it's hard to imagine that anything will break in practice.)
         */
        clearInterrupt();
        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
    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)
  7. android/guava/src/com/google/common/io/ByteSource.java

          // implementation because:
          // 1. the string constructor can avoid an extra copy most of the time by correctly sizing the
          //    internal char array (hard to avoid using StringBuilder)
          // 2. we avoid extra copies into temporary buffers altogether
          // The downside is that this will cause us to store the file bytes in memory twice for a short
          // amount of time.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * non-deterministic behavior at an undetermined time in the future.
       *
       * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally
       * speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent
       * modification. Fail-fast iterators throw {@code ConcurrentModificationException} on a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        /*
         * Clear interrupt for future tests.
         *
         * (Ideally we would perform interrupts only in threads that we create, but
         * it's hard to imagine that anything will break in practice.)
         */
        clearInterrupt();
        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
    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)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top