Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 258 for operations (0.35 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

    import com.google.common.collect.testing.features.ListFeature;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code addAll(int, Collection)} operations on a list. Can't be
     * invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (1)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code putAll} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    public final class ConcurrentHashMultiset<E> extends AbstractMultiset<E> implements Serializable {
    
      /*
       * The ConcurrentHashMultiset's atomic operations are implemented primarily in terms of
       * AtomicInteger's atomic operations, with some help from ConcurrentMap's atomic operations on
       * creation and removal (including automatic removal of zeroes). If the modification of an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

          pathway.create(haveSameHashesLarge);
          long largeOps = largeCounter.total();
    
          double ratio = (double) largeOps / smallOps;
          assertWithMessage(
                  "ratio of equals/hashCode/compareTo operations to build with %s entries versus %s"
                      + " entries",
                  largeSize, smallSize)
              .that(ratio)
              .isAtMost(
                  2
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import java.util.Iterator;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      void setInverse(AbstractBiMap<V, K> inverse) {
        this.inverse = inverse;
      }
    
      // Query Operations (optimizations)
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return inverse.containsKey(value);
      }
    
      // Modification Operations
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

          SUPPORTS_SET,
          SUPPORTS_ADD_WITH_INDEX,
          SUPPORTS_REMOVE_WITH_INDEX),
    
      /** Features supported by lists where only removal is allowed. */
      REMOVE_OPERATIONS(CollectionFeature.REMOVE_OPERATIONS, SUPPORTS_REMOVE_WITH_INDEX);
    
      private final Set<Feature<? super List>> implied;
    
      ListFeature(Feature<? super List>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code poll()} operations on a queue. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top