Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for oldu (0.25 sec)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

           * elements from each bin must either stay at same index, or move with a power of two offset.
           * We eliminate unnecessary node creation by catching cases where old nodes can be reused
           * because their next fields won't change. Statistically, at the default threshold, only
           * about one-sixth of them need cloning when a table doubles. The nodes they replace will be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        @Override
        Listener gasListeners(AbstractFuture<?> future, Listener update) {
          synchronized (future) {
            Listener old = future.listeners;
            if (old != update) {
              future.listeners = update;
            }
            return old;
          }
        }
    
        /** Performs a GAS operation on the {@link #waiters} field. */
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFuture.java

        @Override
        Listener gasListeners(AbstractFuture<?> future, Listener update) {
          synchronized (future) {
            Listener old = future.listeners;
            if (old != update) {
              future.listeners = update;
            }
            return old;
          }
        }
    
        /** Performs a GAS operation on the {@link #waiters} field. */
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * possible pair of these futures in {@link FuturesTest#runExtensiveMergerTest}.
       *
       * <p>Each test requires a new {@link TestFutureBatch} because we need new delayed futures each
       * time, as the old delayed futures were completed as part of the old test.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static final class TestFutureBatch {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * possible pair of these futures in {@link FuturesTest#runExtensiveMergerTest}.
       *
       * <p>Each test requires a new {@link TestFutureBatch} because we need new delayed futures each
       * time, as the old delayed futures were completed as part of the old test.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static final class TestFutureBatch {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

                  // if checkTime, we want to check *after* acquiring the lock if refresh still needs
                  // to be scheduled
                  return null;
                }
    
                // continue returning old value while loading
                ++modCount;
                LoadingValueReference<K, V> loadingValueReference =
                    new LoadingValueReference<>(valueReference);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

          if (lastKnownIndex == -1) {
            put(key, value);
            return unsafeNull(); // See discussion in getValue().
          } else {
            V old = value(lastKnownIndex);
            CompactHashMap.this.setValue(lastKnownIndex, value);
            return old;
          }
        }
      }
    
      @Override
      public int size() {
        Map<K, V> delegate = delegateOrNull();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
    
        // No longer used for new writes, but kept so that old data can still be read.
        @GwtIncompatible // serialization
        @J2ktIncompatible
        @SuppressWarnings("unused")
        private static class SerializedForm<K> implements Serializable {
          final ImmutableMap<K, ?> map;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

        }
    
        moveLastEntry(index, mask);
        size--;
        incrementModCount();
    
        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();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       * normally derive from {@code Map<Object, Object>}, but they typically contain strings, which is
       * awkward. This method lets you get a plain-old-{@code Map} out of a {@code Properties}.
       *
       * @param properties a {@code Properties} object to be converted
       * @return an immutable map containing all the entries in {@code properties}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
Back to top