Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Wayong (1.04 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
    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)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

        return construct(e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11);
      }
    
      // These go up to eleven. After that, you just get the varargs form, and
      // whatever warnings might come along with it. :(
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 12}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * Thread2: acquire(LockB) --X acquire(LockA)
     * </pre>
     *
     * <p>Neither thread will progress because each is waiting for the other. In more complex
     * applications, cycles can arise from interactions among more than 2 locks:
     *
     * <pre>
     * Thread1: acquire(LockA) --X acquire(LockB)
     * Thread2: acquire(LockB) --X acquire(LockC)
     * ...
     * ThreadN: acquire(LockN) --X acquire(LockA)
     * </pre>
     *
    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)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // Execute the runnable immediately. Because of scheduling this may end up getting called before
        // some of the previously added runnables, but we're OK with that. If we want to change the
        // contract to guarantee ordering among runnables we'd have to modify the logic here to allow
        // it.
        executeListener(runnable, executor);
      }
    
      /**
       * Runs this execution list, executing all existing pairs in the order they were added. However,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

    })
    @GwtCompatible(emulated = true)
    // TODO(cpovirk): Annotate for nullness.
    class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> {
    
      /*
       * The basic strategy is to subdivide the table among Segments, each of which itself is a
       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

          }
          iterables.add(Ordering.<Integer>natural().sortedCopy(list));
        }
    
        verifyMergeSorted(iterables, allIntegers);
      }
    
      // Like the pyramid, but creates more unique values, along with repeated ones.
      public void testMergeSorted_skipping_pyramid() {
        List<Iterable<Integer>> iterables = Lists.newLinkedList();
        List<Integer> allIntegers = Lists.newArrayList();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            S extends MapMakerInternalMap.Segment<K, V, E, S>>
        extends AbstractMap<K, V> implements ConcurrentMap<K, V>, Serializable {
    
      /*
       * The basic strategy is to subdivide the table among Segments, each of which itself is a
       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Returns {@code true} if the provided keys are among the keys provided when the table was
       * constructed.
       */
      @Override
      public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        return containsRow(rowKey) && containsColumn(columnKey);
      }
    
      /**
       * Returns {@code true} if the provided column key is among the column keys provided when the
       * table was constructed.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
Back to top