Home
last modified time | relevance | path

Searched refs:fromInt (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java67 HashCode fromInt = HashCode.fromInt(expected.asInt); in testFromInt() local
68 assertExpectedHashCode(expected, fromInt); in testFromInt()
134 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong()); in testPadToLong()
135 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong()); in testPadToLong()
178 HashCode hashCode42 = HashCode.fromInt(42); in testObjectHashCode()
261 HashCodes.fromInt(42).writeBytesTo(dest, 0, 4); in testIntWriteBytesTo()
263 HashCodes.fromInt(42).asBytes(), in testIntWriteBytesTo()
DHashingTest.java156 assertEquals(0x0000000011111111L, Hashing.padToLong(HashCodes.fromInt(0x11111111))); in testPadToLong()
157 assertEquals(0x0000000099999999L, Hashing.padToLong(HashCodes.fromInt(0x99999999))); in testPadToLong()
219 checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L); in testConsistentHash_ofHashCode()
258 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineOrdered_differentBitLengths()
265 HashCode hash31 = HashCode.fromInt(31); in testCombineOrdered()
266 HashCode hash32 = HashCode.fromInt(32); in testCombineOrdered()
300 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineUnordered_differentBitLengths()
307 HashCode hash31 = HashCode.fromInt(31); in testCombineUnordered()
308 HashCode hash32 = HashCode.fromInt(32); in testCombineUnordered()
310 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered()
[all …]
DPackageSanityTests.java31 setDefault(HashCode.class, HashCode.fromInt(1)); in PackageSanityTests()
DMurmur3Hash32Test.java56 assertEquals(HashCode.fromInt(expected), actual); in assertHash()
/external/guava/guava/src/com/google/common/hash/
DHashCodes.java43 public static HashCode fromInt(int hash) { in fromInt() method in HashCodes
44 return HashCode.fromInt(hash); in fromInt()
DChecksumHashFunction.java88 return HashCode.fromInt((int) value); in hash()
DMurmur3_32HashFunction.java147 return HashCode.fromInt(h1); in fmix()
DHashCode.java113 public static HashCode fromInt(int hash) { in fromInt() method in HashCode
/external/v8/benchmarks/
Dcrypto.js200 function nbv(i) { var r = nbi(); r.fromInt(i); return r; }
457 if(q != null) q.fromInt(0);
642 BigInteger.prototype.fromInt = bnpFromInt; method in BigInteger
731 this.fromInt(0);
760 if(a < 2) this.fromInt(1);
1271 a.fromInt(lowprimes[i]);
/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/ ...