- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 559 for hashcode (0.07 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Dependency}. * */ class DependencyTest { @Test void testHashCodeNullSafe() { new Dependency().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Dependency().equals(null)); new Dependency().equals(new Dependency()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
/** * Tests {@code DistributionManagement}. * */ class DistributionManagementTest { @Test void testHashCodeNullSafe() { new DistributionManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DistributionManagement().equals(null)); new DistributionManagement().equals(new DistributionManagement()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Exclusion}. * */ class ExclusionTest { @Test void testHashCodeNullSafe() { new Exclusion().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Exclusion().equals(null)); new Exclusion().equals(new Exclusion()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Plugin}. * */ class PluginTest { @Test void testHashCodeNullSafe() { new Plugin().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Plugin().equals(null)); new Plugin().equals(new Plugin()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Profile}. * */ class ProfileTest { @Test void testHashCodeNullSafe() { new Profile().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Profile().equals(null)); new Profile().equals(new Profile()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code RepositoryPolicy}. * */ class RepositoryPolicyTest { @Test void testHashCodeNullSafe() { new RepositoryPolicy().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new RepositoryPolicy().equals(null)); new RepositoryPolicy().equals(new RepositoryPolicy()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Resource}. * */ class ResourceTest { @Test void testHashCodeNullSafe() { new Resource().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Resource().equals(null)); new Resource().equals(new Resource()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
rvalue += implLocal.get(numStripesLocal).hashCode(); } return rvalue; } @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes; int mask = numStripes - 1; Striped<Lock> stripedLocal = striped; for (long i = 0; i < reps; i++) { rvalue += stripedLocal.getAt(stripesLocal[(int) (i & mask)]).hashCode(); } return rvalue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
rvalue += implLocal.get(numStripesLocal).hashCode(); } return rvalue; } @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes; int mask = numStripes - 1; Striped<Lock> stripedLocal = striped; for (long i = 0; i < reps; i++) { rvalue += stripedLocal.getAt(stripesLocal[(int) (i & mask)]).hashCode(); } return rvalue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt
return other is Challenge && other.scheme == scheme && other.authParams == authParams } fun Challenge.commonHashCode(): Int { var result = 29 result = 31 * result + scheme.hashCode() result = 31 * result + authParams.hashCode() return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0)