Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for paste (0.15 sec)

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

            if (lastFromForgetMeNot != null) {
              canRemove = true;
              return lastFromForgetMeNot;
            }
          }
          throw new NoSuchElementException("iterator moved past last element in queue.");
        }
    
        @Override
        public void remove() {
          checkRemove(canRemove);
          checkModCount();
          canRemove = false;
          expectedModCount++;
    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. android/guava/src/com/google/common/cache/RemovalListener.java

     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface RemovalListener<K, V> {
      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          return label;
        }
      }
    
      /** Convenient subsets of the {@link Timeout} enumeration for specifying scenario outcomes. */
      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
        FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMaker.java

       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           *
           * - in the "reentrant submit" case of `execute` (in which case we must have started running a
           *   user task -- which means that we already got past this code (or else we exited early
           *   above))
           */
          // Unconditionally set; there is no risk of throwing away a queued task from another thread,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("", is('a').retainFrom(""));
      }
    
      public void testPrecomputedOptimizations() {
        // These are testing behavior that's never promised by the API.
        // Some matchers are so efficient that it is a waste of effort to
        // build a precomputed version.
        CharMatcher m1 = is('x');
        assertSame(m1, m1.precomputed());
        assertEquals(m1.toString(), m1.precomputed().toString());
    
        CharMatcher m2 = anyOf("Az");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("", is('a').retainFrom(""));
      }
    
      public void testPrecomputedOptimizations() {
        // These are testing behavior that's never promised by the API.
        // Some matchers are so efficient that it is a waste of effort to
        // build a precomputed version.
        CharMatcher m1 = is('x');
        assertSame(m1, m1.precomputed());
        assertEquals(m1.toString(), m1.precomputed().toString());
    
        CharMatcher m2 = anyOf("Az");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

     * addressable domain on the web -- that is, for a candidate string {@code "xxx"}, might browsing to
     * {@code "http://xxx/"} result in a webpage being displayed? In the past, this test was frequently
     * done by determining whether the domain ended with a {@linkplain #isPublicSuffix() public suffix}
     * but was not itself a public suffix. However, this test is no longer accurate. There are many
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top