- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 34 for identityHashCode (0.08 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
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; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.4K bytes - Click Count (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()];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
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()];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one // of the values gets evicted. With weak keys, we use identity equality, which means using // System.identityHashCode, which means the assignment of keys to segments is nondeterministic, // so more than (maximumSize / #segments) keys could get assigned to the same segment, which // would cause one to be evicted.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
if (obj == null) { enc_ndr_long(0); return; } switch (type) { case 1: /* unique */ case 3: /* ref */ enc_ndr_long(System.identityHashCode(obj)); return; case 2: /* ptr */ enc_ndr_long(getDceReferent(obj)); } } @Override public String toString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
if (obj == null) { enc_ndr_long(0); return; } switch (type) { case 1: /* unique */ case 3: /* ref */ enc_ndr_long(System.identityHashCode(obj)); return; case 2: /* ptr */ enc_ndr_long(getDceReferent(obj)); } } @Override public String toString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0)