- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for identityHashCode (1.31 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) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
int tmp = 0; for (int i = 0; i < reps; i++) { tmp += System.identityHashCode(encoding.encoding.encode(encodingInputs[i & INPUTS_MASK])); } return tmp; } @Benchmark public int decode(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { tmp += System.identityHashCode(encoding.encoding.decode(decodingInputs[i & INPUTS_MASK])); } return tmp; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun hashCode_usesIdentityHashCode_regularCase() { // This one's javaName matches the identifier. val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256 assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun instancesAreInterned() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.QUEUING; import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.RUNNING; import static java.lang.System.identityHashCode; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions; import com.google.errorprone.annotations.concurrent.GuardedBy;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2K 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) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
} } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner && other.trustManager === this.trustManager override fun hashCode(): Int = System.identityHashCode(trustManager) companion object { @SuppressSignatureCheck fun buildIfSupported(trustManager: X509TrustManager): AndroidCertificateChainCleaner? { val extensions = try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K 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)