Searched refs:fromInt (Results 1 – 11 of 11) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 67 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()
|
D | HashingTest.java | 156 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 …]
|
D | PackageSanityTests.java | 31 setDefault(HashCode.class, HashCode.fromInt(1)); in PackageSanityTests()
|
D | Murmur3Hash32Test.java | 56 assertEquals(HashCode.fromInt(expected), actual); in assertHash()
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCodes.java | 43 public static HashCode fromInt(int hash) { in fromInt() method in HashCodes 44 return HashCode.fromInt(hash); in fromInt()
|
D | ChecksumHashFunction.java | 88 return HashCode.fromInt((int) value); in hash()
|
D | Murmur3_32HashFunction.java | 147 return HashCode.fromInt(h1); in fmix()
|
D | HashCode.java | 113 public static HashCode fromInt(int hash) { in fromInt() method in HashCode
|
/external/v8/benchmarks/ |
D | crypto.js | 200 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/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |