Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for oldu (0.13 sec)

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

                    v3(),
                    (oldV, newV) -> {
                      assertEquals(v0(), oldV);
                      assertEquals(v3(), newV);
                      return null;
                    }));
        expectMissing(e0());
      }
    
      public void testMergeNullValue() {
        try {
          getMap()
              .merge(
                  k0(),
                  null,
                  (oldV, newV) -> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_present() {
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. 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;
        }
    
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. 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++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                list.execute();
              }
    
              @Override
              public Object getImpl() {
                return list;
              }
            };
          }
        },
        OLD {
          @Override
          ExecutionListWrapper newExecutionList() {
            return new ExecutionListWrapper() {
              final OldExecutionList list = new OldExecutionList();
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapValues.java

      @Override
      @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<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/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>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

      ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys);
    
      /**
       * Associates {@code value} with {@code key} in this cache. If the cache previously contained a
       * value associated with {@code key}, the old value is replaced by {@code value}.
       *
       * <p>Prefer {@link #get(Object, Callable)} when using the conventional "if cached, return;
       * otherwise create, cache and return" pattern.
       *
       * @since 11.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * <p><b>Note:</b> <i>all exceptions thrown by this method will be logged and then swallowed</i>.
       *
       * @param key the non-null key whose value should be loaded
       * @param oldValue the non-null old value corresponding to {@code key}
       * @return the future new value associated with {@code key}; <b>must not be null, must not return
       *     null</b>
       * @throws Exception if unable to reload the result
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

          prevInBucket = entryInBucket;
        }
        throw new AssertionError("Expected to find entry with value " + values[entry]);
      }
    
      /**
       * Updates the specified entry to point to the new value: removes the old value from the V-to-K
       * mapping and puts the new one in. The entry does not move in the insertion order of the bimap.
       */
      private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
Back to top