Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 260 for dash (0.16 sec)

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

        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/FunnelsTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static org.mockito.Mockito.inOrder;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import com.google.common.base.Charsets;
    import com.google.common.testing.EqualsTester;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        for (int i : keys) {
          cache.getUnchecked(i);
        }
      }
    
      private Object objectWithHash(final int hash) {
        return new Object() {
          @Override
          public int hashCode() {
            return hash;
          }
        };
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashBasedTable.java

    import com.google.common.base.Supplier;
    import java.io.Serializable;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration
     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public boolean equals(@Nullable Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        // not caching hash code since it could change if map values are mutable
        // in a way that modifies their hash codes
        return entrySet().hashCode();
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEquals(actual + " should hash like " + expected, expected.hashCode(), actual.hashCode());
      }
    
      public void testHashCodeForBooleanOperations() {
        Predicate<@Nullable Integer> p1 = Predicates.isNull();
        Predicate<@Nullable Integer> p2 = isOdd();
    
        // Make sure that hash codes are not computed per-instance.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Charsets.UTF_8;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.hash.BloomFilterStrategies.LockFreeBitArray;
    import com.google.common.math.LongMath;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

    import java.util.function.BiConsumer;
    import java.util.function.BiFunction;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link BiMap} backed by two hash tables. This implementation allows null keys and values. A
     * {@code HashBiMap} and its inverse are both serializable.
     *
     * <p>This implementation guarantees insertion-based iteration order of its keys.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        succeedsInMultimap(entry.getPredecessorInMultimap(), entry.getSuccessorInMultimap());
      }
    
      /**
       * LinkedHashMultimap entries are in no less than three coexisting linked lists: a bucket in the
       * hash table for a {@code Set<V>} associated with a key, the linked list of insertion-ordered
       * entries in that {@code Set<V>}, and the linked list of entries in the LinkedHashMultimap as a
       * whole.
       */
      @VisibleForTesting
    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)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    inside, no one could possibly hear you.'  And certainly there was
    a most extraordinary noise going on within--a constant howling
    and sneezing, and every now and then a great crash, as if a dish
    or kettle had been broken to pieces.
    
      `Please, then,' said Alice, `how am I to get in?'
    
      `There might be some sense in your knocking,' the Footman went
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top