- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 557 for hashCode (0.25 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
} this.addr = addr; } /** * Return the IP address of this address as a 32 bit integer. */ @Override public int hashCode () { return this.addr.hashCode(); } /** * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal * if they are both <tt>UniAddress</tt>' and refer to the same IP address. */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
} @Override @CanIgnoreReturnValue public final Hasher putLong(long l) { buffer.putLong(l); munchIfFull(); return this; } @Override public final HashCode hash() { munch(); Java8Compatibility.flip(buffer); if (buffer.remaining() > 0) { processRemaining(buffer); Java8Compatibility.position(buffer, buffer.limit()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
private static final long K2 = 0xc47b6e9e3a970ed3L; private static final long K3 = 0xc6a4a7935bd1e995L; @Override public HashCode hashBytes(byte[] input, int off, int len) { checkPositionIndexes(off, off + len, input.length); return HashCode.fromLong(fingerprint(input, off, len)); } @Override public int bits() { return 64; } @Override public String toString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Dec 28 17:50:25 UTC 2021 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3)))); Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2); assertEquals(intMap.hashCode(), map.entrySet().hashCode()); assertEquals(intMap.hashCode(), map.hashCode()); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testViewSerialization() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* * @return A hashcode for this abstract file * @throws SmbException */ public int hashCode() { int hash; try { hash = getAddress().hashCode(); } catch( UnknownHostException uhe ) { hash = getServer().toUpperCase().hashCode(); } getUncPath0(); return hash + canon.toUpperCase().hashCode(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
public long getTreeNum () { return this.treeNum; } /** * {@inheritDoc} * * @see java.lang.Object#hashCode() */ @Override public int hashCode () { return this.share.hashCode() + 7 * this.service.hashCode(); } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
int expectedHash = (entry.getKey() == null ? 0 : entry.getKey().hashCode()) ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode()); assertEquals(expectedHash, entry.hashCode()); expectedEntrySetHash += expectedHash; } assertEquals(expectedEntrySetHash, entrySet.hashCode()); assertTrue(entrySet.containsAll(new HashSet<Entry<K, V>>(entrySet)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMultiset.java
} /** * {@inheritDoc} * * <p>This implementation returns the hash code of {@link Multiset#entrySet()}. */ @Override public final int hashCode() { return entrySet().hashCode(); } /** * {@inheritDoc} * * <p>This implementation returns the result of invoking {@code toString} on {@link * Multiset#entrySet()}. */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
<version>1.2.0+</version> <comment>Generated hashCode() and equals() based on identifier also calls its super, which breaks comparison </comment> <code> <![CDATA[ /** * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values. */ public int hashCode() { return java.util.Objects.hash(getType(), getProvides());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
/** * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Character) * value).hashCode()}. * * <p><b>Java 8+ users:</b> use {@link Character#hashCode(char)} instead. * * @param value a primitive {@code char} value * @return a hash code for the value */ public static int hashCode(char value) { return value; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0)