Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        this.replacements = escaperMap.getReplacementArray();
        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will fail.
          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

          runnables = null; // allow GC to free listeners even if this stays around for a while.
        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top