Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for old (0.25 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(Helpers.mapEntry(k0(), v1()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void putDistinctKeysDistinctValues() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hashing.java

       *       buckets change from {@code [alpha, bravo, charlie]} to {@code [bravo, charlie]}, it will
       *       assign all the old {@code alpha} traffic to {@code bravo} and all the old {@code bravo}
       *       traffic to {@code charlie}, rather than letting {@code bravo} keep its traffic.
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

    public class MultisetSetCountUnconditionallyTester<E> extends AbstractMultisetSetCountTester<E> {
      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertEquals(
            "multiset.setCount() should return the old count",
            getMultiset().count(element),
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
        limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate)
        for (int i = 0; i < 4; i++) {
          limiter.acquire(); // #5
        }
        stopwatch.sleepMillis(4250); // #6, back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 11; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
        limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate)
        for (int i = 0; i < 4; i++) {
          limiter.acquire(); // #5
        }
        stopwatch.sleepMillis(4250); // #6, back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 11; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/FileBackedOutputStream.java

     *
     * <p>When this stream creates a temporary file, it restricts the file's permissions to the current
     * user or, in the case of Android, the current app. If that is not possible (as is the case under
     * the very old Android Ice Cream Sandwich release), then this stream throws an exception instead of
     * creating a file that would be more accessible. (This behavior is new in Guava 32.0.0. Previous
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>The lists returned by {@link #get}, {@link #removeAll}, and {@link #replaceValues} all
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        }
      }
    
      public void testBogusSystemPropertiesUsername() {
        if (isAndroid()) {
          /*
           * The test calls directly into the "ACL-based filesystem" code, which isn't available under
           * old versions of Android. Since Android doesn't use that code path, anyway, there's no need
           * to test it.
           */
          return;
        }
    
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top