Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 277 for hashInt (0.25 sec)

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

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.logging.Logger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

       */
      private static void assertCrc(int expectedCrc, byte[] data) {
        int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
        assertEquals(
            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrc);
        int actualCrcHasher = Hashing.crc32c().newHasher().putBytes(data).hash().asInt();
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Hashing.smearedHash;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

     */
    package org.codelibs.fess.helper;
    
    import java.text.NumberFormat;
    import java.util.Arrays;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import java.util.function.Consumer;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableSet.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash
     * flooding. This implementation is never used on the GWT client side, but it must be present there
     * for serialization to work.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashing.java

       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0));
      }
    
      /** Creates and returns a properly-sized array with the given number of buckets. */
      static Object createTable(int buckets) {
        if (buckets < 2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils_test.go

    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    		if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder)
    		}
    	}
    
    	// Tests hashing order to fail for when order is '-1'.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Inject;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    import org.apache.maven.artifact.Artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.StringWriter;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.apache.pdfbox.cos.COSInputStream;
    import org.apache.pdfbox.pdmodel.PDDocument;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    class HashSet$ extends scala.collection.generic.ImmutableSetFactory implements scala.Serializable { public static final HashSet$ MODULE$; public static void <clinit>(); public static HashSet empty(); public final HashSet$HashTrieSet scala$collection$immutable$HashSet$$makeHashTrieSet(int, HashSet, int, HashSet, int); private void HashSet$(); } scala/collection/immutable/HashMap.class package scala.collection.immutable; public synchronized class HashMap extends AbstractMap implements scala.Serializable...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top