- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 554 for HashCode (0.08 sec)
-
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java
* but can be extended by registering a {@code org.apache.maven.api.spi.ProjectScopeProvider}. * <p> * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface * can be used as keys. * * @since 4.0.0 */ @Experimental @Immutable @SuppressWarnings("checkstyle:InterfaceIsType")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Feb 05 09:42:51 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
/** * Tests {@code DependencyManagement}. * */ class DependencyManagementTest { @Test void testHashCodeNullSafe() { new DependencyManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DependencyManagement().equals(null)); new DependencyManagement().equals(new DependencyManagement()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K 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) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 9.5K bytes - Viewed (0)