Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 75 for regenerate (0.15 sec)

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

          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
          Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
          if (arg != shouldBeEqualArg
              && Objects.equal(arg, shouldBeEqualArg)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
        assertEquals(new TreeSet<E>(), empty);
      }
    
      /*
       * TODO(cpovirk): more testing of subSet/headSet/tailSet/descendingSet? and/or generate derived
       * suites?
       */
    
      /**
       * Returns the {@link Method} instances for the test methods in this class that create a set with
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

    @ElementTypesAreNonnullByDefault
    public abstract class AbstractFuture<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
    
      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *         .buildOrThrow();
       * }</pre>
       *
       * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order
       * they were inserted into the builder. For example, in the above example, {@code
       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        TreeMultiset<String> ms = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms.add("foo");
        ms.add("a");
        ms.add("bar");
        ms.add("b");
        ms.add("c");
    
        assertEquals(2, ms.count("bar"));
        assertEquals(3, ms.count("b"));
    
        Multiset<String> ms2 = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms2.add("cat", 2);
        ms2.add("x", 3);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     *
     * To force selection of our fallback strategies we load {@link AbstractFuture} (and all of {@code
     * com.google.common.util.concurrent}) in degenerate class loaders which make certain platform
     * classes unavailable. Then we construct a test suite so we can run the normal AbstractFutureTest
     * test methods in these degenerate classloaders.
     */
    
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Platform.java

      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
       * GWT). This is sometimes acceptable, when only server-side code could generate enough volume
       * that reclamation becomes important.
       */
      @J2ktIncompatible
      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker.weakKeys();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // (1) 00 01 02 03 04 05 06 07 80
      // (2) 00 01 02 03 04 05 06 07 81
      // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
      // A fault implementation will generate collisions for these inputs.
      public void testCollisionsDueToIncorrectSignExtension() {
        byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostAndPort.java

        checkArgument(isValidPort(defaultPort));
        if (hasPort()) {
          return this;
        }
        return new HostAndPort(host, defaultPort, hasBracketlessColons);
      }
    
      /**
       * Generate an error if the host might be a non-bracketed IPv6 literal.
       *
       * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]".
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheTesting.java

       * SoftValueReference (and not a LoadingValueReference), and throws an IllegalStateException if
       * that assumption does not hold.
       */
      @SuppressWarnings("unchecked") // the instanceof check and the cast generate this warning
      static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
        ReferenceEntry<K, V> entry = getReferenceEntry(cache, key);
        if (entry != null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top