Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rubble (0.22 sec)

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

       * includes exceptional exits, so all control paths involving signalling must be protected by a
       * finally block.
       *
       * Further optimizations of this algorithm become increasingly subtle. A wait that terminates
       * without the guard being satisfied (due to timeout, but not interrupt) can then immediately exit
       * the monitor without signalling. If it timed out without being signalled, it does not need to
    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/src/com/google/common/collect/MinMaxPriorityQueue.java

        // comparisons with toTrickle, but in some cases we will need to bubble it
        // all the way up again.
        int vacated = heap.fillHoleAt(index);
        // Try to see if toTrickle can be bubbled up min levels.
        int bubbledTo = heap.bubbleUpAlternatingLevels(vacated, toTrickle);
        if (bubbledTo == vacated) {
          // Could not bubble toTrickle up min levels, try moving
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertThat(result).containsExactly(1, 15, 13, 8, 14);
      }
    
      /**
       * This tests a special case of the removeAt() call. Moving an element sideways on the heap could
       * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See
       * implementation.
       */
      public void testInvalidatingRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
      public void testPartiallyConstructedManager() {
    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)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
      public void testPartiallyConstructedManager() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertThat(result).containsExactly(1, 15, 13, 8, 14);
      }
    
      /**
       * This tests a special case of the removeAt() call. Moving an element sideways on the heap could
       * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See
       * implementation.
       */
      public void testInvalidatingRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Invokable.java

         * <p>{@code [<E>]} will be returned for ArrayList's constructor. When both the class and the
         * constructor have type parameters, the class parameters are prepended before those of the
         * constructor's. This is an arbitrary rule since no existing language spec mandates one way or
         * the other. From the declaration syntax, the class type parameter appears first, but the call
         * syntax may show up in opposite order such as {@code new <A>Foo<B>()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

     *       undefined horrible things to happen in {@code Range}. For now, the Range API does not
     *       prevent its use, because this would also rule out all ungenerified (pre-JDK1.5) data types.
     *       <b>This may change in the future.</b>
     * </ul>
     *
     * <h3>Other notes</h3>
     *
     * <ul>
     *   <li>All ranges are shallow-immutable.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top