Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 253 for hashInt (0.04 seconds)

  1. 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 org.jspecify.annotations.Nullable;
    
    /**
     * ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash
     * flooding. This implementation is never used on the GWT client side.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. 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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Preconditions;
    import com.google.common.collect.ImmutableList;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.HashSet;
    import java.util.Set;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/security/simple-oauth2.md

    Никогда нельзя сохранять пароли в открытом виде, поэтому мы будем использовать (пока что ненастоящую) систему хеширования паролей.
    
    Если пароли не совпадают, мы возвращаем ту же ошибку.
    
    #### Хеширование паролей { #password-hashing }
    
    "Хеширование" означает: преобразование некоторого содержимого (в данном случае пароля) в последовательность байтов (просто строку), которая выглядит как тарабарщина.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  5. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 10:49:22 GMT 2025
    - 10.1K bytes
    - Click Count (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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (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'.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal.stub;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.internal.impl.DefaultLifecycleRegistry;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.function.BiPredicate;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenStaxReader;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top