Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Cooper (0.21 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * application-specific ordering in addition to performing general cycle detection.
     *
     * <p><strong>Garbage Collection</strong>
     *
     * <p>In order to allow proper garbage collection of unused locks, the edges of the lock graph are
     * weak references.
     *
     * <p><strong>Performance</strong>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
       * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this
       * dummy version.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    // TODO(user): Expand coverage and move to proper test suite.
    @RunWith(JUnit4.class)
    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
      MutableValueGraph<Integer, String> graph;
    
      @After
      public void validateGraphState() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

        return new ConcatenatedHashFunction(hashFunctions);
      }
    
      /**
       * Used to randomize {@link #goodFastHash} instances, so that programs which persist anything
       * dependent on the hash codes they produce will fail sooner.
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis();
    
      /**
       * Returns a hash function implementing the <a
    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)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
       * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this
       * dummy version.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

           * ClassNotFoundException thereafter.
           *
           * Android API level 26 and JVM8 both let our Error propagate directly the first time and
           * throw NoClassDefFoundError thereafter. This is the proper behavior according to the spec.
           * See https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.4.2 (steps #11 and
           * #5).
           *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/StreamsTest.java

    /** Unit test for {@link Streams}. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class StreamsTest extends TestCase {
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
        // parameters and others are from the varargs array
        assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8));
        assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          // If ApiProxy doesn't exist, we're not on AppEngine at all.
          return false;
        } catch (InvocationTargetException e) {
          // If ApiProxy throws an exception, we're not in a proper AppEngine environment.
          return false;
        } catch (IllegalAccessException e) {
          // If the method isn't accessible, we're not on a supported version of AppEngine;
          return false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
        // parameters and others are from the varargs array
        assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8));
        assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top