Home
last modified time | relevance | path

Searched refs:fromLong (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java79 HashCode fromLong = HashCode.fromLong(expected.asLong); in testFromLong() local
80 assertExpectedHashCode(expected, fromLong); in testFromLong()
134 assertEquals(0x1111111111111111L, HashCode.fromLong(0x1111111111111111L).padToLong()); in testPadToLong()
135 assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong()); in testPadToLong()
271 HashCode.fromLong(42).writeBytesTo(dest, 0, 8); in testLongWriteBytesTo()
273 HashCode.fromLong(42).asBytes(), in testLongWriteBytesTo()
DHashingTest.java210 checkSameResult(HashCode.fromLong(1), 1); in testConsistentHash_ofHashCode()
211 checkSameResult(HashCode.fromLong(0x9999999999999999L), 0x9999999999999999L); in testConsistentHash_ofHashCode()
251 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineOrdered_differentBitLengths()
274 hashCodes.add(HashCode.fromLong(random.nextLong())); in testCombineOrdered_randomHashCodes()
293 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineUnordered_differentBitLengths()
315 hashCodes.add(HashCode.fromLong(random.nextLong())); in testCombineUnordered_randomHashCodes()
448 .setDefault(HashCode.class, HashCode.fromLong(0)); in testNullPointers()
/external/guava/guava/src/com/google/common/hash/
DChecksumHashFunction.java90 return HashCode.fromLong(value); in hash()
DSipHashFunction.java148 return HashCode.fromLong(v0 ^ v1 ^ v2 ^ v3); in makeHash()
DHashCode.java179 public static HashCode fromLong(long hash) { in fromLong() method in HashCode
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java249 long fromLong = from == null ? Long.MIN_VALUE : from.getTime(); in withDateRange() local
251 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java268 long fromLong = from == null ? Long.MIN_VALUE : from.getTime(); in withDateRange() local
270 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()