Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 356 for hashKey (0.06 seconds)

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

                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

     */
    @NullUnmarked
    public class HashingOutputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

        assertThrows(IllegalStateException.class, () -> hasher.putInt(42));
      }
    
      public void testHashTwice() {
        Hasher hasher = sha512().newHasher();
    
        assertThat(
                hasher
                    .putString("The quick brown fox jumps over the lazy dog", UTF_8)
                    .hash()
                    .toString())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        /**
         * Creates and returns a new instance of {@link HashSet}.
         *
         * @param <E> the element type of {@link HashSet}
         * @return a new instance of {@link HashSet}
         * @see HashSet#HashSet()
         */
        public static <E> HashSet<E> newHashSet() {
            return new HashSet<>();
        }
    
        /**
         * Creates and returns a new instance of {@link HashSet}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

        assertThat(map.values().toString()).isEqualTo("[" + JOINER.join(map.values()) + "]");
    
        assertEquals(new HashSet<>(map.entrySet()), map.entrySet());
        assertEquals(new HashSet<>(map.keySet()), map.keySet());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

        assertThat(map.values().toString()).isEqualTo("[" + JOINER.join(map.values()) + "]");
    
        assertEquals(new HashSet<>(map.entrySet()), map.entrySet());
        assertEquals(new HashSet<>(map.keySet()), map.keySet());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        }
    
        @Override
        public Hasher putByte(byte b) {
          ensureCapacity(Byte.BYTES);
          buffer.put(b);
          return this;
        }
    
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          ensureCapacity(len);
          buffer.put(bytes, off, len);
          return this;
        }
    
        @Override
        public Hasher putBytes(ByteBuffer bytes) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 04 15:39:10 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionRule.java

     * and be part of all the specified tasks.
     */
    public class TestingConventionRule implements Serializable {
    
        private final String suffix;
    
        private Set<String> baseClasses = new HashSet<>();
    
        private Set<Pattern> taskNames = new HashSet<>();
    
        public TestingConventionRule(String suffix) {
            this.suffix = suffix;
        }
    
        public String getSuffix() {
            return suffix;
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

     */
    @CacheableTask
    public abstract class FindMissingDocumentationFiles extends DefaultTask {
        private static final Set<String> EXCLUDED_FILES = new HashSet<>(Arrays.asList(
            "temp.adoc",
            "userguide_single.adoc"
        ));
    
        private static final Set<String> EXCLUDED_ANCHORS = new HashSet<>(Arrays.asList(
            // properties have been deprecated in Gradle 9.0.0
            "sec:war_convention_properties",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top