- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,660 for hash_code (0.14 sec)
-
pilot/pkg/networking/core/route/route_cache_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/descriptor/DefaultExclude.java
} @Override public int hashCode() { int result = moduleId.hashCode(); result = 31 * result + (artifact != null ? artifact.hashCode() : 0); result = 31 * result + configurations.hashCode(); result = 31 * result + (patternMatcher != null ? patternMatcher.hashCode() : 0); return result; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
assertEquals( "A Map's hashCode() should be the sum of those of its entries (where " + "a null element in an entry counts as having a hash of zero).", expectedHashCode, getMap().hashCode()); } private static int hash(Entry<?, ?> e) { return (e.getKey() == null ? 0 : e.getKey().hashCode()) ^ (e.getValue() == null ? 0 : e.getValue().hashCode()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java
assertTrue(f1.equals(f2)); assertTrue(f2.equals(f1)); assertTrue(f1.hashCode() == f2.hashCode()); IncludesArtifactFilter f3 = new IncludesArtifactFilter(Arrays.asList("d", "c", "e")); assertTrue(f1.equals(f3)); assertTrue(f1.hashCode() == f3.hashCode()); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtValues.kt
override fun equals(other: Any?): Boolean { return this === other || other is KaContractConstantValue && other.backingConstantType == backingConstantType } override fun hashCode(): Int = backingConstantType.hashCode() } public typealias KtContractConstantValue = KaContractConstantValue /** * Represents parameter that can be passed to `value` argument of [kotlin.contracts.ContractBuilder.callsInPlace]. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/ModuleDependencyTest.groovy
} def hash() { expect: new ModuleDependency("a", null).hashCode() == new ModuleDependency("a", "COMPILE").hashCode() new ModuleDependency("a", "").hashCode() == new ModuleDependency("a", "COMPILE").hashCode() } def shouldNotExportDependencies() { expect: !(new ModuleDependency("a", "COMPILE").exported)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/data/MavenDependencyKeyTest.groovy
strictlyEquals(key1, key2) == equality (key1.hashCode() == key2.hashCode()) == hashCode (key1.toString() == key2.toString()) == stringRepresentation where: groupId | artifactId | type | classifier | equality | hashCode | stringRepresentation 'group-one' | 'artifact-one' | 'jar' | null | false | false | false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
sink.putByte((byte) 7); sink.putBytes(new byte[] {}); sink.putBytes(new byte[] {8}); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(expected); } public void testShort() { Sink sink = new Sink(4); sink.putShort((short) 0x0201); HashCode unused = sink.hash(); sink.assertInvariants(2); sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultVersionCatalog.java
} @Override public int hashCode() { return hashCode; } private int doComputeHashCode() { int result = libraries.hashCode(); result = 31 * result + bundles.hashCode(); result = 31 * result + versions.hashCode(); result = 31 * result + plugins.hashCode(); return result; } public boolean isNotEmpty() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Dec 17 22:25:43 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultModuleSetExclude.java
import java.util.Set; final class DefaultModuleSetExclude implements ModuleSetExclude { private final Set<String> modules; private final int hashCode; DefaultModuleSetExclude(Set<String> modules) { this.modules = modules; this.hashCode = modules.hashCode(); } @Override public boolean equals(Object o) { if (this == o) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.1K bytes - Viewed (0)