Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Cole (0.13 sec)

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

       * of signaling the next waiter.
       *
       * Unlike the underlying Condition, if we are not careful, an interrupt *can* cause a signal to be
       * lost, because the signal may be sent to a condition whose sole waiter has just been
       * interrupted.
       *
       * Imagine a monitor with multiple guards. A thread enters the monitor, satisfies all the guards,
    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. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return minChildIndex;
          }
          return crossOverUp(index, x);
        }
    
        /**
         * Fills the hole at {@code index} by moving in the least of its grandchildren to this position,
         * then recursively filling the new hole created.
         *
         * @return the position of the new hole (where the lowest grandchild moved from, that had no
         *     grandchild to replace it)
         */
        int fillHoleAt(int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        protected final ContiguousSet<Integer> checkedCreate(SortedSet<Integer> elementsSet) {
          List<Integer> elements = newArrayList(elementsSet);
          /*
           * A ContiguousSet can't have holes. If a test demands a hole, it should be changed so that it
           * doesn't need one, or it should be suppressed for ContiguousSet.
           */
          for (int i = 0; i < elements.size() - 1; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we
       * require a (different in each case) function that translates storedPermits to throttling time.
       *
       * This role is played by storedPermitsToWaitTime(double storedPermits, double permitsToTake). The
       * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits)
    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. android/guava/src/com/google/common/math/MathPreconditions.java

    final class MathPreconditions {
      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        protected final ContiguousSet<Integer> checkedCreate(SortedSet<Integer> elementsSet) {
          List<Integer> elements = newArrayList(elementsSet);
          /*
           * A ContiguousSet can't have holes. If a test demands a hole, it should be changed so that it
           * doesn't need one, or it should be suppressed for ContiguousSet.
           */
          for (int i = 0; i < elements.size() - 1; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top