- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 494 for hashcode (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress() assertThat(b).isEqualTo(a) assertThat(b.hashCode()).isEqualTo(a.hashCode()) } @Test fun differentProxySelectorsAreDifferent() { val a = factory.newAddress(proxySelector = RecordingProxySelector()) val b = factory.newAddress(proxySelector = RecordingProxySelector())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java
// #pending hashCode(), equals() @Override public int instanceHash() { return super.hashCode(); } @Override public String toString() { return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode()); } protected abstract String doBuildColumnString(String dm);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java
// #pending hashCode(), equals() @Override public int instanceHash() { return super.hashCode(); } @Override public String toString() { return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode()); } protected abstract String doBuildColumnString(String dm);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java
private final URL url; private final int hashCode; /** * Creates a new source backed by the specified URL. * * @param url The file, must not be {@code null}. */ public UrlSource(URL url) { this.url = Objects.requireNonNull(url, "url cannot be null"); this.hashCode = Objects.hashCode(url); } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("equals and hashCode for equal and non-equal SIDs") void testEqualsAndHashCode() throws Exception { SID a1 = new SID("S-1-5-21-1-2-3-4"); SID a2 = new SID("S-1-5-21-1-2-3-4"); SID b = new SID("S-1-5-21-1-2-3-5"); assertEquals(a1, a2); assertEquals(a1.hashCode(), a2.hashCode()); assertNotEquals(a1, b);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
for (HashCode hashCode : hashCodes) { byte[] nextBytes = hashCode.asBytes(); checkArgument( nextBytes.length == resultBytes.length, "All hashcodes must have the same bit length."); for (int i = 0; i < nextBytes.length; i++) { resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]); } } return HashCode.fromBytesNoCopy(resultBytes); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
public void test_hashCode() { // Test hashCode consistency int metadataHashCode = SsoResponseType.METADATA.hashCode(); int logoutHashCode = SsoResponseType.LOGOUT.hashCode(); // Hash code should be consistent for the same object assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode()); assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
* Returns the hash code of the specified object, or 0 if the object is null. * * @param obj the object * @return the hash code or 0 */ public static int hashCode(final Object obj) { return obj == null ? 0 : obj.hashCode(); } /** * Returns the string representation of the specified object, or null if the object is null. * * @param obj the object
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java
return o instanceof DefaultArtifactInstallerRequest that && Objects.equals(artifacts, that.artifacts); } @Override public int hashCode() { return Objects.hashCode(artifacts); } @Override public String toString() { return "ArtifactInstallerRequest[" + "artifacts=" + artifacts + ']'; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0)