Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Player (0.21 sec)

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

      // ImmutableMap.Builder, so that it can remember any DuplicateKey encountered and produce an
      // exception for a later buildOrThrow(). If builder is null that means that a duplicate
      // key will lead to an immediate exception. If it is not null then a duplicate key will instead be
      // stored in the builder, which may use it to throw an exception later.
      static <K, V> RegularImmutableMap<K, V> create(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, null);
        inner.mutex = outer;
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = Lists.newLinkedList();
        public Object mutex;
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    How to contribute
    =================
    
    Thank you so much for wanting to contribute to Guava! Here are a few important
    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        // A second pass will retain only the first entry for that key, but with this last value. The
        // value will then be replaced by null, signaling that later entries with the same key should
        // be deleted.
        Map<K, @Nullable V> duplicates = null;
        int dupCount = 0;
        for (int i = 0; i < n; i++) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

                compEvents.add(food);
              }
            };
        bus.register(stringCatcher);
        bus.register(objCatcher);
        bus.register(compCatcher);
    
        // Two additional event types: Object and Comparable<?> (played by Integer)
        Object objEvent = new Object();
        Object compEvent = 6;
    
        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

                compEvents.add(food);
              }
            };
        bus.register(stringCatcher);
        bus.register(objCatcher);
        bus.register(compCatcher);
    
        // Two additional event types: Object and Comparable<?> (played by Integer)
        Object objEvent = new Object();
        Object compEvent = 6;
    
        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /** The first exception encountered if any threadAssertXXX method fails. */
      private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null);
    
      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
    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)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        }
      }
    
      /**
       * On a concurrent computation that returns null, all threads should get an
       * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a
       * later request should call the loader again).
       */
      private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
    
        int count = 10;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we
       * require a (different in each case) function that translates storedPermits to throttling time.
       *
       * This role is played by storedPermitsToWaitTime(double storedPermits, double permitsToTake). The
       * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top