Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for opposite (0.04 sec)

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

            // has already been moved.
            parent = elementData(removeIndex);
          } else {
            parent = elementData(getParentIndex(removeIndex));
          }
          // bubble it up the opposite heap
          if (otherHeap.bubbleUpAlternatingLevels(crossOver, toTrickle) < removeIndex) {
            return new MoveDesc<>(toTrickle, parent);
          } else {
            return null;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            // has already been moved.
            parent = elementData(removeIndex);
          } else {
            parent = elementData(getParentIndex(removeIndex));
          }
          // bubble it up the opposite heap
          if (otherHeap.bubbleUpAlternatingLevels(crossOver, toTrickle) < removeIndex) {
            return new MoveDesc<>(toTrickle, parent);
          } else {
            return null;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

         * 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>()}.
         */
        @Override
        public final TypeVariable<?>[] getTypeParameters() {
          TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

         * execute all peer settings logic on the writer thread. This relies on the fact that the
         * writer task queue won't reorder tasks; otherwise settings could be applied in the opposite
         * order than received.
         */
        fun applyAndAckSettings(
          clearPrevious: Boolean,
          settings: Settings,
        ) {
          var delta: Long
          var streamsToNotify: Array<Http2Stream>?
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

       *     filter. If the bits haven't changed, this <i>might</i> be the first time {@code object} has
       *     been added to the filter. Note that {@code put(t)} always returns the <i>opposite</i>
       *     result to what {@code mightContain(t)} would have returned at the time it is called.
       * @since 12.0 (present in 11.0 with {@code void} return type})
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

        } catch (UnknownHostException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

        } catch (UnknownHostException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            }
            for (T t : scenario.strictlyOrderedList) {
              composites.add(new Composite<T>(t, 2));
            }
            Ordering<Composite<T>> ordering =
                Ordering.<Composite<T>>natural()
                    .compound(scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
            return new Scenario<Composite<T>>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top