Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 695 for topo (0.25 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        MapMakerInternalMap<Object, Object, ?, ?> map =
            makeMap(createMapMaker().concurrencyLevel(1).weakValues());
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        // TODO(fry): check recency ordering
    
        Object key = new Object();
        int hash = map.hash(key);
        Object value = new Object();
        AtomicReferenceArray<? extends InternalEntry<Object, Object, ?>> table = segment.table;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        MapMakerInternalMap<Object, Object, ?, ?> map =
            makeMap(createMapMaker().concurrencyLevel(1).weakValues());
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        // TODO(fry): check recency ordering
    
        Object key = new Object();
        int hash = map.hash(key);
        Object value = new Object();
        AtomicReferenceArray<? extends InternalEntry<Object, Object, ?>> table = segment.table;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

       *
       * <p>Note that this function is necessarily well-defined for any discrete type.
       *
       * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if
       *     the distance is too small or too large, respectively.
       */
      public abstract long distance(C start, C end);
    
      /**
       * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.TableCollectionTest.RowMapTests;
    import java.util.Arrays;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowMapTest extends RowMapTests {
      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.TableCollectionTest.RowTests;
    import java.util.Arrays;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowTest extends RowTests {
      public ArrayTableRowTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 01 22:53:42 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    import java.util.ListIterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

      static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap();
    
      private EmptyImmutableListMultimap() {
        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top