Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for redhated (0.16 sec)

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

        T item = itemInfo.value;
        T related = relatedInfo.value;
        assertWithTemplate(
            "$ITEM must be $RELATIONSHIP to $OTHER",
            itemInfo,
            relatedInfo,
            equivalence.equivalent(item, related));
    
        int itemHash = equivalence.hash(item);
        int relatedHash = equivalence.hash(related);
        assertWithTemplate(
            "the $HASH ("
                + itemHash
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Strings.java

       *
       * @param string any non-null string
       * @param count the number of times to repeat it; a nonnegative integer
       * @return a string containing {@code string} repeated {@code count} times (the empty string if
       *     {@code count} is zero)
       * @throws IllegalArgumentException if {@code count} is negative
       */
      @InlineMe(replacement = "string.repeat(count)")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

          this.inputList = ImmutableList.sortedCopyOf(comparator, input);
          this.comparator = comparator;
          this.size = calculateSize(inputList, comparator);
        }
    
        /**
         * The number of permutations with repeated elements is calculated as follows:
         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
         *   <li>When r numbers are added to a list of n-r elements, the number of permutations is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

       * order of the returned multiset matches that of the element set of {@code multiset1} followed by
       * the members of the element set of {@code multiset2} that are not contained in {@code
       * multiset1}, with repeated occurrences of the same element appearing consecutively.
       *
       * <p>Results are undefined if {@code multiset1} and {@code multiset2} are based on different
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        builder.put(k1, v1);
        return builder.build();
      }
    
      /**
       * Returns an immutable multimap containing the given entries, in order. Repeated occurrences of
       * an entry (according to {@link Object#equals}) after the first are ignored.
       */
      public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Graph}. */
    @RunWith(JUnit4.class)
    
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 18 16:17:46 GMT 2017
    - 4.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicate.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>The {@link Predicates} class provides common predicates and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Predicate}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      private Class<?> settableFutureClass;
      private Class<?> abstractFutureClass;
    
      @Override
      protected void setUp() throws Exception {
        // Load the "normal" copy of SettableFuture and related classes.
        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.EnumMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapGenerators {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                    }
                  }
                });
    
        assertTrue(a.compareAndSet(0, 1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, a.get(0));
      }
    
      /** repeated weakCompareAndSet succeeds in changing value when equal to expected */
      public void testWeakCompareAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top