- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 494 for hashcode (0.03 sec)
-
android/guava-tests/test/com/google/common/base/FunctionsTest.java
// Might be nice (eventually) to have: // assertEquals(c1, c2); // But for now, settle for this: assertEquals(c1.hashCode(), c2.hashCode()); assertEquals(c1.apply(1.0f), c2.apply(1.0f)); assertEquals(c1.apply(5.0f), c2.apply(5.0f)); } public void testComposeOfPredicateAndFunctionIsAssociative() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
} /** Returns a {@link HashCode} for a sequence of longs, in big-endian order. */ private static HashCode toHashCode(long... longs) { ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN); for (long x : longs) { bb.putLong(x); } return HashCode.fromBytes(bb.array()); } public void testParanoid() { HashFn hf =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
assertTrue(result.contains("acceptCookieTimeZone=false")); assertTrue(result.contains("@")); // Verify that hashCode is included in hex format String expectedHashCode = Integer.toHexString(provider.hashCode()); assertTrue(result.contains(expectedHashCode)); } // Test toString() format consistency public void test_toString_formatConsistency() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java
* to incrementally fetch sitemaps that have been updated since a certain date. * </p> * * <p> * This class also provides implementations for {@code equals}, {@code hashCode}, and {@code toString} methods * to facilitate object comparison and representation. * </p> * */ public class SitemapFile implements Sitemap { private static final long serialVersionUID = 1L;
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.4K bytes - Viewed (1) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} @Override public int hashCode() { return 0; } } static class SameIntegerInstance { private final Integer i; public SameIntegerInstance(Integer i) { this.i = checkNotNull(i); } @Override public int hashCode() { return i.hashCode(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
for (int index = 0; index < size; index++) { sum += array[index].hashCode(); } } return sum; } @Benchmark int arrayIndexedLength(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (int index = 0; index < array.length; index++) { sum += array[index].hashCode(); } } return sum; } @Benchmark
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 15:01:35 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHashFunction.java
} @Override public HashCode hashInt(int input) { return newHasher(4).putInt(input).hash(); } @Override public HashCode hashLong(long input) { return newHasher(8).putLong(input).hash(); } @Override public HashCode hashBytes(byte[] input) { return hashBytes(input, 0, input.length); } @Override public HashCode hashBytes(byte[] input, int off, int len) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0)