Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for One (0.14 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
      }
    
      public void testRemovalListener_collected() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
      }
    
      public void testRemovalListener_collected() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
         * @param key the key to copy from the original entry to the new one. Use this in preference to
         *     {@code original.getKey()}.
         */
        // Guarded By Segment.this
        <K, V> ReferenceEntry<K, V> copyEntry(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * that returns a {@code ClosingFuture} to its value. The function can use a {@link
       * DeferredCloser} to capture objects to be closed when the pipeline is done (other than those
       * captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} succeeds, the derived one will be equivalent to the one
       * returned by the function.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          CallerClass2.get(future);
          fail();
        } catch (CancellationException expected) {
          // There should be two CancellationException chained together.  The outer one should have the
          // stack trace of where the get() call was made, and the inner should have the stack trace of
          // where the immediateCancelledFuture() call was made.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

      /**
       * Returns the specified comparator if not null; otherwise returns {@code Ordering.natural()}.
       * This method is an abomination of generics; the only purpose of this method is to contain the
       * ugly type-casting in one place.
       */
      @SuppressWarnings("unchecked")
      static <E extends @Nullable Object> Comparator<? super E> orNaturalOrder(
          @CheckForNull Comparator<? super E> comparator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          CallerClass2.get(future);
          fail();
        } catch (CancellationException expected) {
          // There should be two CancellationException chained together.  The outer one should have the
          // stack trace of where the get() call was made, and the inner should have the stack trace of
          // where the immediateCancelledFuture() call was made.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          list.set(0, 0);
        }
        // Get threshold in the range [0, length], rounding up to ensure that
        // non-zero percent values result in a non-zero threshold (so we always
        // have at least one matching character).
        int threshold = ((percent * length) + 99) / 100;
        StringBuilder builder = new StringBuilder(length);
        for (int n = 0; n < length; n++) {
          builder.append(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

         *     we're not sure if entry will necessarily ever be garbage collected.
         * @param newNext entry in the same bucket
         * @param key the key to copy from the original entry to the new one. Use this in preference to
         *     {@code original.getKey()}.
         */
        // Guarded By Segment.this
        <K, V> ReferenceEntry<K, V> copyEntry(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          list.set(0, 0);
        }
        // Get threshold in the range [0, length], rounding up to ensure that
        // non-zero percent values result in a non-zero threshold (so we always
        // have at least one matching character).
        int threshold = ((percent * length) + 99) / 100;
        StringBuilder builder = new StringBuilder(length);
        for (int n = 0; n < length; n++) {
          builder.append(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top