Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for haste (0.15 sec)

  1. guava/src/com/google/common/base/internal/Finalizer.java

          return false;
        }
    
        if (!finalizeReference(firstReference, finalizeReferentMethod)) {
          return false;
        }
    
        /*
         * Loop as long as we have references available so as not to waste CPU looking up the Method
         * over and over again.
         */
        while (true) {
          Reference<?> furtherReference = queue.poll();
          if (furtherReference == null) {
            return true;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
             * one, we can optimistically store the new Iterator and then be willing to throw it out if
             * the user calls remove().)
             */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    and confusion, as the large birds complained that they could not
    taste theirs, and the small ones choked and had to be patted on
    the back.  However, it was over at last, and they sat down again
    in a ring, and begged the Mouse to tell them something more.
    
      `You promised to tell me your history, you know,' said Alice,
    `and why it is you hate--C and D,' she added in a whisper, half
    afraid that it would be offended again.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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/cache/LocalCache.java

      }
    
      /*
       * Note: All of this duplicate code sucks, but it saves a lot of memory. If only Java had mixins!
       * To maintain this code, make a change for the strong reference type. Then, cut and paste, and
       * replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that
       * strong entries store the key reference directly while soft and weak entries delegate to their
    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)
Back to top