Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 179 for Want (0.25 sec)

  1. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

    package com.google.common.math;
    
    import java.math.BigInteger;
    import java.util.Random;
    
    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteProcessor.java

    /**
     * A callback interface to process bytes from a stream.
     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // we really just want to wait for the thread to be in the failure callback so we wait for that
        // explicitly instead.
        failEnter.await();
        assertFalse("State should be updated before calling listeners", manager.isHealthy());
        // now we want to stop the services.
        Thread stoppingThread =
            new Thread() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

          return DELEGATE.next(value);
        }
    
        @Override
        public Integer previous(Integer value) {
          return DELEGATE.previous(value);
        }
    
        // Do *not* override offset() to delegate: We want to test the default implementation.
    
        @Override
        public long distance(Integer start, Integer end) {
          return DELEGATE.distance(start, end);
        }
    
        @Override
        public Integer minValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. .github/workflows/scorecard.yml

            with:
              results_file: results.sarif
              results_format: sarif
              # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
              # - you want to enable the Branch-Protection check on a *public* repository, or
              # - you are installing Scorecard on a *private* repository
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

     * arbitrary q-quantiles, use {@link #scale scale(q)}.
     *
     * <p>These examples all take a copy of your dataset. If you have a double array, you are okay with
     * it being arbitrarily reordered, and you want to avoid that copy, you can use {@code
     * computeInPlace} instead of {@code compute}.
     *
     * <h3>Definition and notes on interpolation</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

       * </ul>
       *
       * <p>This method is suitable for the common use case of dividing work among buckets that meet the
       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

          return uncheckedCastNullableTToT(value);
        }
    
        @Override
        public String toString() {
          // This is a little strange if the unit the user provided was not NANOS,
          // but we don't want to store the unit just for toString
          return "Suppliers.memoizeWithExpiration(" + delegate + ", " + durationNanos + ", NANOS)";
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

     * Converter.apply (like Converter.convert) is capable of accepting null inputs. However, a
     * supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They
     * want their output to be non-null in operations like `stream.map(myConverter)`, and we can
     * guarantee that as long as we also require the input type to be non-null[*] (which is a
     * requirement that existing callers already fulfill).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top