Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for probes (0.21 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
       *         .addAll(SINGLE_DIGIT_PRIMES)
       *         .add(42)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

       */
      @GwtIncompatible // TODO
      public static boolean isPrime(long n) {
        if (n < 2) {
          checkNonNegative("n", n);
          return false;
        }
        if (n < 66) {
          // Encode all primes less than 66 into mask without 0 and 1.
          long mask =
              (1L << (2 - 2))
                  | (1L << (3 - 2))
                  | (1L << (5 - 2))
                  | (1L << (7 - 2))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. guava-gwt/src/com/google/common/collect/Collect.gwt.xml

    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 24 14:08:06 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * (or {@link FluentFuture#transform(com.google.common.base.Function, Executor)
     * FluentFuture.transform}), but you will often find it easier to use a framework. Frameworks
     * automate the process, often adding features like monitoring, debugging, and cancellation.
     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
       *     must be at least 4
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      /**
       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
       * both use cases by using @PolyNull. (By contrast, we can't use @PolyNull for our superinterface
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     */
    public class ImmutableTypeToInstanceMapTest extends TestCase {
    
      @AndroidIncompatible // problem with suite builders on Android
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top