Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 454 for do (0.36 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          Preconditions.checkNotNull(executor, "Executor was null.");
    
          RunnableExecutorPair newHead = new RunnableExecutorPair(runnable, executor);
          RunnableExecutorPair oldHead;
          do {
            oldHead = head;
            if (oldHead == null) {
              // If runnables == null then execute() has been called so we should just execute our
              // listener immediately.
              newHead.execute();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .testEquals();
      }
    
      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Consequently, the values do not follow their natural ordering or the ordering of the value
       * comparator.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

            .suppressing(suppressForLinkedBlockingQueue())
            .createTestSuite();
      }
    
      // Not specifying KNOWN_ORDER for PriorityQueue and PriorityBlockingQueue
      // even though they do have it, because our tests interpret KNOWN_ORDER to
      // also mean that the iterator returns the head element first, which those
      // don't.
    
      public Test testsForPriorityBlockingQueue() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
      // TODO: Test multiple waiters: If guard is no longer satisfied, do not signal next waiter.
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Consequently, the values do not follow their natural ordering or the ordering of the value
       * comparator.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SetMultimap.java

     * {@code equals} comparisons. Use caution if mutable objects are used as keys or values in a {@code
     * SetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code SetMultimap} in a way
     * that affects its {@link Object#equals} behavior. Undefined behavior and bugs will result.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          }
        } else { // non-empty list, insert before nextSibling
          /*
           * requireNonNull is safe as long as callers pass a nextSibling that (a) has the same key and
           * (b) is present in the multimap. (And they do, except maybe in case of concurrent
           * modification, in which case all bets are off.)
           */
          KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(key));
          keyList.count++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hasher.java

       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
       * running the same hash function on the equivalent input. For cross-language compatibility, use
       * {@link #putString}, usually with a charset of UTF-8. For other use cases, use {@code
       * putUnencodedChars}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top