Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 314 for hashInt (0.23 sec)

  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,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Buck");
        assertEquals(6, all.size());
        assertEquals(5, immut.size());
        assertEquals(5, mut.size());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

     */
    package org.apache.maven;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.ArtifactUtils;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java

            repository.load(metaData);
    
            final Set<String> excludedPrefixes = new HashSet<>();
            final Set<String> excludedPackages = new HashSet<>();
            for (String excludePattern : excludedPackagePatterns) {
                if (excludePattern.endsWith(".**")) {
                    String baseName = excludePattern.substring(0, excludePattern.length() - 3);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            }
            if (!bits.get(combinedHash % bitSize)) {
              return false;
            }
          }
          return true;
        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    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;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    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;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import junit.framework.TestCase;
    import junit.textui.ResultPrinter;
    import junit.textui.TestRunner;
    
    import org.codelibs.core.io.TraversalUtil.FileSystemTraverser;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

            this.scopes = new HashSet<>();
    
            addScopes(scopes);
        }
    
        /**
         * Creates a new filter that combines the specified filters.
         *
         * @param filters The filters to combine, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(CumulativeScopeArtifactFilter... filters) {
            this.scopes = new HashSet<>();
    
            if (filters != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

    import gradlebuild.binarycompatibility.ApiChange;
    import me.champeau.gradle.japicmp.report.SetupRule;
    import me.champeau.gradle.japicmp.report.ViolationCheckContext;
    
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    public class AcceptedRegressionsRuleSetup implements SetupRule {
    
        private final Set<ApiChange> acceptedApiChanges;
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.6K bytes
    - Viewed (0)
Back to top