Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for Pike (0.14 sec)

  1. guava/src/com/google/common/base/Functions.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * @author Mike Bostock
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Functions {
      private Functions() {}
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
     * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Benchmarks for {@link ConcurrentHashMultiset}.
     *
     * @author mike nonemacher
     */
    public class ConcurrentHashMultisetBenchmark {
      @Param({"1", "2", "4", "8"})
      int threads;
    
      @Param({"3", "30", "300"})
      int size;
    
      @Param MultisetSupplier implSupplier;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

        try {
          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // CountDownLatch treats negative timeouts just like zero.
              return latch.await(remainingNanos, NANOSECONDS);
            } catch (InterruptedException e) {
              interrupted = true;
              remainingNanos = end - System.nanoTime();
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

     *       doing something and finally closing the reader that was opened.
     * </ul>
     *
     * <p>Several methods in this class, such as {@link #readLines()}, break the contents of the source
     * into lines. Like {@link BufferedReader}, these methods break lines on any of {@code \n}, {@code
     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        return method.getName().startsWith("tryEnter");
      }
    
      /**
       * Identifies just enterIfXxx methods (a subset of {@link #isAnyEnter}), which are mostly like the
       * enterXxx methods but behave like tryEnterXxx in some scenarios.
       */
      private static boolean isEnterIf(Method method) {
        return method.getName().startsWith("enterIf");
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Object> objects = Ordering.explicit((Object) 1);
        Ordering<Number> numbers = Ordering.explicit((Number) 1);
        Ordering<Integer> integers = Ordering.explicit(1);
    
        // Like by like equals like
        Ordering<Number> a = numbers.compound(numbers);
    
        // The compound takes the more specific type of the two, regardless of order
    
        Ordering<Number> b = numbers.compound(objects);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Object> objects = Ordering.explicit((Object) 1);
        Ordering<Number> numbers = Ordering.explicit((Number) 1);
        Ordering<Integer> integers = Ordering.explicit(1);
    
        // Like by like equals like
        Ordering<Number> a = numbers.compound(numbers);
    
        // The compound takes the more specific type of the two, regardless of order
    
        Ordering<Number> b = numbers.compound(objects);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          }
        } else {
          /*
           * We'll call the user callback or collect the values only when all inputs complete,
           * regardless of whether some failed. This lets us avoid calling expensive methods like
           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * @param ipString {@code String} containing an IPv4 or IPv6 string literal, e.g. {@code
       *     "192.168.0.1"} or {@code "2001:db8::1"}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top