Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java77 HashCode fromLong = HashCode.fromLong(expected.asLong); in testFromLong() local
78 assertExpectedHashCode(expected, fromLong); in testFromLong()
132 assertEquals(0x1111111111111111L, HashCode.fromLong(0x1111111111111111L).padToLong()); in testPadToLong()
133 assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong()); in testPadToLong()
269 HashCodes.fromLong(42).writeBytesTo(dest, 0, 8); in testLongWriteBytesTo()
271 HashCodes.fromLong(42).asBytes(), in testLongWriteBytesTo()
DHashingTest.java154 assertEquals(0x1111111111111111L, Hashing.padToLong(HashCodes.fromLong(0x1111111111111111L))); in testPadToLong()
155 assertEquals(0x9999999999999999L, Hashing.padToLong(HashCodes.fromLong(0x9999999999999999L))); in testPadToLong()
217 checkSameResult(HashCode.fromLong(1), 1); in testConsistentHash_ofHashCode()
218 checkSameResult(HashCode.fromLong(0x9999999999999999L), 0x9999999999999999L); in testConsistentHash_ofHashCode()
258 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineOrdered_differentBitLengths()
281 hashCodes.add(HashCode.fromLong(random.nextLong())); in testCombineOrdered_randomHashCodes()
300 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineUnordered_differentBitLengths()
322 hashCodes.add(HashCode.fromLong(random.nextLong())); in testCombineUnordered_randomHashCodes()
452 .setDefault(HashCode.class, HashCode.fromLong(0)); in testNullPointers()
/external/guava/guava/src/com/google/common/hash/
DHashCodes.java55 public static HashCode fromLong(long hash) { in fromLong() method in HashCodes
56 return HashCode.fromLong(hash); in fromLong()
DChecksumHashFunction.java90 return HashCode.fromLong(value); in hash()
DSipHashFunction.java148 return HashCode.fromLong(v0 ^ v1 ^ v2 ^ v3); in makeHash()
DHashCode.java169 public static HashCode fromLong(long hash) { in fromLong() method in HashCode
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java265 long fromLong = from == null ? Long.MIN_VALUE : from.getTime(); in withDateRange() local
267 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.databinding_1.3.100.I20100601-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...