Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Slough (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
       * source Iterable, unless that Iterator is unmodifiable.
       */
      protected abstract I newTargetIterator();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          LinkedHashMultimap<K, V> create() {
        return new LinkedHashMultimap<>(DEFAULT_KEY_CAPACITY, DEFAULT_VALUE_SET_CAPACITY);
      }
    
      /**
       * Constructs an empty {@code LinkedHashMultimap} with enough capacity to hold the specified
       * numbers of keys and values without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * save that if that location is already full, we try the next index, and the next, until we
       * find an empty table position.  Since the table has a power-of-two size, we use
       * & (table.length - 1) instead of % table.length, though.
       */
    
      @CheckForNull private final transient Object hashTable;
      @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues;
      private final transient int size;
    
      /*
    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)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
        List<Future<?>> futures = Lists.newArrayList();
    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

            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
        List<Future<?>> futures = Lists.newArrayList();
    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

     *       {@code fail}, {@code assertTrue}, etc.) It is OK (but not particularly recommended) for
     *       other code to use these forms too. Only the most typically used JUnit assertion methods are
     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
    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/src/com/google/common/collect/TreeMultiset.java

      private static final class AvlNode<E extends @Nullable Object> {
        /*
         * For "normal" nodes, the type of this field is `E`, not `@Nullable E` (though note that E is a
         * type that can include null, as in a TreeMultiset<@Nullable String>).
         *
         * For the header node, though, this field contains `null`, regardless of the type of the
         * multiset.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *     neither fast nor secure. As of January 2017, we suggest:
       *     <ul>
       *       <li>For security:
       *           {@link Hashing#sha256} or a higher-level API.
       *       <li>For speed: {@link Hashing#goodFastHash}, though see its docs for caveats.
       *     </ul>
       */
      @Deprecated
      public static HashFunction md5() {
        return Md5Holder.MD5;
      }
    
      private static class Md5Holder {
    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)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          // If map has a null comparator, the keys should have a natural ordering,
          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top