Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 307 for mover (3.55 sec)

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

                skipMe = new ArrayList<>(3);
              }
              if (!foundAndRemovedExactReference(skipMe, moved.toTrickle)) {
                forgetMeNot.add(moved.toTrickle);
              }
              if (!foundAndRemovedExactReference(forgetMeNot, moved.replaced)) {
                skipMe.add(moved.replaced);
              }
            }
            cursor--;
            nextCursor--;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashSet.java

        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
          // move the last entry to the removed spot, just like we moved the element
          entries[dstIndex] = entries[srcIndex];
          entries[srcIndex] = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/LruHashSet.java

        public LruHashSet(final int limitSize) {
            map = new LruHashMap<>(limitSize);
        }
    
        /**
         * Returns an iterator over the elements in this set. The elements are
         * returned in no particular order.
         *
         * @return an Iterator over the elements in this set.
         * @see ConcurrentModificationException
         */
        @Override
        public Iterator<E> iterator() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/"));
        assertHash(
            -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog"));
      }
    
      @SuppressWarnings("deprecation")
      public void testKnownEncodedStringInputs() {
        assertStringHash(0, "", Charsets.UTF_8);
        assertStringHash(0xcfbda5d1, "k", Charsets.UTF_8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            }
        }
    
        protected HtmlResponse doMove(final SearchForm form, final int move) {
            int start = fessConfig.getPagingSearchPageStartAsInteger();
            if (form.pn != null) {
                int pageNumber = form.pn;
                if (pageNumber > 0) {
                    pageNumber = pageNumber + move;
                    if (pageNumber < 1) {
                        pageNumber = 1;
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

        assertTrue(concurrentlyMutatedList.getAllStates().contains(copyOfIterable));
      }
    
      private static void runConcurrentlyMutatedTest(WrapWithIterable wrap) {
        /*
         * TODO: Iterate over many array sizes and all possible operation lists,
         * performing adds and removes in different ways.
         */
        runConcurrentlyMutatedTest(elements(), ops(add(1), add(2)), wrap);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * test methods in these degenerate classloaders.
     */
    
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
      // stash these in static fields to avoid loading them over and over again (speeds up test
      // execution significantly)
    
      /**
       * This classloader disallows {@link sun.misc.Unsafe}, which will prevent us from selecting our
       * preferred strategy {@code UnsafeAtomicHelper}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableBiMap.java

       * convenient.
       *
       * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order
       * they were inserted into the builder. For example, in the above example, {@code
       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
Back to top