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

/external/guava/guava/src/com/google/common/hash/
H A DHashCodes.java39 * @deprecated Use {@link HashCode#fromInt} instead. This method is scheduled to be removed in
43 public static HashCode fromInt(int hash) { method in class:HashCodes
44 return HashCode.fromInt(hash);
H A DChecksumHashFunction.java88 return HashCode.fromInt((int) value);
H A DMurmur3_32HashFunction.java147 return HashCode.fromInt(h1);
H A DHashCode.java113 public static HashCode fromInt(int hash) { method in class:HashCode
/external/guava/guava-tests/test/com/google/common/hash/
H A DPackageSanityTests.java31 setDefault(HashCode.class, HashCode.fromInt(1));
H A DHashCodeTest.java67 HashCode fromInt = HashCode.fromInt(expected.asInt);
68 assertExpectedHashCode(expected, fromInt);
134 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
135 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
178 HashCode hashCode42 = HashCode.fromInt(42);
261 HashCodes.fromInt(42).writeBytesTo(dest, 0, 4);
263 HashCodes.fromInt(42).asBytes(),
H A DHashingTest.java156 assertEquals(0x0000000011111111L, Hashing.padToLong(HashCodes.fromInt(0x11111111)));
157 assertEquals(0x0000000099999999L, Hashing.padToLong(HashCodes.fromInt(0x99999999)));
219 checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L);
258 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
265 HashCode hash31 = HashCode.fromInt(31);
266 HashCode hash32 = HashCode.fromInt(32);
300 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
307 HashCode hash31 = HashCode.fromInt(31);
308 HashCode hash32 = HashCode.fromInt(32);
310 assertEquals(HashCode.fromInt(6
[all...]
H A DMurmur3Hash32Test.java56 assertEquals(HashCode.fromInt(expected), actual);
/external/v8/benchmarks/
H A 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;
731 this.fromInt(0);
760 if(a < 2) this.fromInt(1);
1271 a.fromInt(lowprimes[i]);
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...

Completed in 1145 milliseconds