- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for identityHashCode (0.07 sec)
-
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum.getHashFunction().hashString(strings[i & SAMPLE_MASK], UTF_8)); } return res; } @Benchmark int hashUtf8Hasher(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum .getHashFunction()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
private static final SecureRandom RANDOM = new SecureRandom(); private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM)); /** * Creates a UUID. * * @return the UUID string */ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
* * @return a unique registration identifier */ private String generateRegistrationId() { return "REG-" + System.currentTimeMillis() + "-" + Integer.toHexString(System.identityHashCode(this)); } /** * Gets the next sequence number for this registration. * * @return the next sequence number */ public long getNextSequenceNumber() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
} } @Override public int compareTo(Cut<Comparable<?>> o) { return (o == this) ? 0 : -1; } @Override public int hashCode() { return System.identityHashCode(this); } @Override public String toString() { return "-\u221e"; } private Object readResolve() { return INSTANCE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
@Benchmark public int collapseFrom(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += System.identityHashCode(matcher.collapseFrom(teststring, ' ')); } return result; } private static String allMatchingChars(BitSet bitSet) { char[] result = new char[bitSet.cardinality()];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(4, ndrBuffer.getIndex()); assertEquals(System.identityHashCode(obj1), Encdec.dec_uint32le(buffer, 0)); ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(obj2, 3); assertEquals(4, ndrBuffer.getIndex()); assertEquals(System.identityHashCode(obj2), Encdec.dec_uint32le(buffer, 0)); // Test ptr type (type 2) - uses internal referent map
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
return new SubscriberExceptionContext(bus, event, target, method); } @Override public final int hashCode() { return (31 + method.hashCode()) * 31 + System.identityHashCode(target); } @Override public final boolean equals(@Nullable Object obj) { if (obj instanceof Subscriber) { Subscriber that = (Subscriber) obj;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} @Override public void removeTransport(final SmbTransport trans) { if (log.isDebugEnabled()) { log.debug("Scheduling transport connection for removal " + trans + " (" + System.identityHashCode(trans) + ")"); } this.toRemove.add((SmbTransportImpl) trans); } private void cleanup() { SmbTransportImpl trans; while ((trans = this.toRemove.poll()) != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
*/ public static Equivalence<Object> equals() { return Equals.INSTANCE; } /** * Returns an equivalence that uses {@code ==} to compare values and {@link * System#identityHashCode(Object)} to compute the hash code. {@link Equivalence#equivalent} * returns {@code true} if {@code a == b}, including in the case that a and b are both null. * * @since 13.0 * @since 4.0 (in Equivalences)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
} /** * Generate a unique resource ID */ private String generateResourceId(AutoCloseable resource) { return String.format("%s-%d-%d", resource.getClass().getSimpleName(), System.identityHashCode(resource), resourceIdCounter.incrementAndGet()); } /** * Start the cleanup task */ private void startCleanupTask() { if (cleanupTask != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0)