Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for clicks (0.18 sec)

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

       */
      public Monitor(boolean fair) {
        this.fair = fair;
        this.lock = new ReentrantLock(fair);
      }
    
      /** Enters this monitor. Blocks indefinitely. */
      public void enter() {
        lock.lock();
      }
    
      /**
       * Enters this monitor. Blocks at most the given time.
       *
       * @return whether the monitor was entered
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 10 21:41:58 GMT 2012
    - 1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          fail("Unexpected InterruptedException");
        }
      }
    
      /**
       * Checks that thread does not terminate within the default millisecond delay of {@code
       * timeoutMillis()}.
       */
      void assertThreadStaysAlive(Thread thread) {
        assertThreadStaysAlive(thread, timeoutMillis());
      }
    
      /** Checks that thread does not terminate within the given millisecond delay. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 13 20:26:15 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      // The first code point in the safe range.
      private final int safeMin;
      // The last code point in the safe range.
      private final int safeMax;
    
      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/PackageSanityTests.java

    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import junit.framework.AssertionFailedError;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Kurt Alfred Kluever
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * strategies.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/RelationshipTester.java

      static class ItemReporter {
        String reportItem(Item<?> item) {
          return item.toString();
        }
      }
    
      /**
       * A word about using {@link Equivalence}, which automatically checks for {@code null} and
       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually
     * comparable. This implementation passes the navigable set test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top