- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 557 for hashCode (0.07 sec)
-
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) -
android/guava-tests/test/com/google/common/hash/PackageSanityTests.java
* * @author Ben Yu */ public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { setDefault(LockFreeBitArray.class, new LockFreeBitArray(1)); setDefault(HashCode.class, HashCode.fromInt(1)); setDefault(String.class, "MD5"); setDefault(int.class, 32); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 15:56:47 UTC 2017 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
} String str = builder.toString(); HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8)); assertEquals(hashUtf8, murmur3_32().newHasher().putBytes(str.getBytes(UTF_8)).hash()); assertEquals(hashUtf8, murmur3_32().hashString(str, UTF_8)); assertEquals(hashUtf8, murmur3_32().newHasher().putString(str, UTF_8).hash()); HashCode hashUtf16 = murmur3_32().hashBytes(str.getBytes(UTF_16));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:29:46 UTC 2024 - 8.3K bytes - Viewed (0)