Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for enabled (0.19 sec)

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

         * past them.)
         *
         * We could consider "lying" and omitting @CheckNotNull from all these fields. Normally, I'm not
         * a fan of that: What if we someday implement (presumably to be enabled during tests only)
         * bytecode rewriting that checks for any null value that passes through an API with a
         * known-non-null type? But that particular problem might not arise here, since we're not
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
        DISABLED {
          @Override
    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)
  3. guava/src/com/google/common/base/Verify.java

    /**
     * Static convenience methods that serve the same purpose as Java language <a
     * href="https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html">assertions</a>,
     * except that they are always enabled. These methods should be used instead of Java assertions
     * whenever there is a chance the check may fail "in real life". Example:
     *
     * <pre>{@code
     * Bill bill = remoteService.getLastUnpaidBill();
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public interface DerivedGenerator {
      TestSubjectGenerator<?> getInnerGenerator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    /**
     * Unit tests for {@link Callables}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible(emulated = true)
    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
        assertNull(Callables.returning(null).call());
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * @param key the non-null key whose value should be loaded
       * @return the value associated with {@code key}; <b>must not be null</b>
       * @throws Exception if unable to load the result
       * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
       *     treated like any other {@code Exception} in all respects except that, when it is caught,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/package-info.java

     *   <dd>An extension of {@link java.util.Map} that guarantees the uniqueness of its values as well
     *       as that of its keys. This is sometimes called an "invertible map," since the restriction on
     *       values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another
     *       instance of {@code BiMap}.
     *   <dt>{@link Table}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            assertBitEquals(prev, aa.get(i));
            assertTrue(aa.compareAndSet(i, prev, x));
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** compareAndSet in one thread enables another waiting for value to succeed */
      public void testCompareAndSetInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray a = new AtomicDoubleArray(1);
        a.set(0, 1.0);
        Thread t =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    #### Merging pull requests ####
    
    Due to Guava's nature as a subset of Google's internal codebase which is
    automatically synced to the public GitHub repository, we are unable to merge
    pull requests directly into the master branch. Instead, once a pull request is
    ready for merging, we'll make the appropriate changes in the internal codebase
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        waiter.start();
        waiter.awaitWaiting();
    
        future.set(1);
        waiter.join();
      }
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testSetNull() throws Exception {
        future.set(null);
        assertSuccessful(future, null);
      }
    
      public void testSetExceptionNull() throws Exception {
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top