Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java36 assertEquals(0x0000000011111111L, Hashing.padToLong(HashCodes.fromInt(0x11111111))); in testPadToLong()
37 assertEquals(0x0000000099999999L, Hashing.padToLong(HashCodes.fromInt(0x99999999))); in testPadToLong()
99 checkSameResult(HashCodes.fromInt(0x99999999), 0x0000000099999999L); in testConsistentHash_ofHashCode()
124 Hashing.combineOrdered(ImmutableList.of(HashCodes.fromInt(32), HashCodes.fromLong(32L))); in testCombineOrdered_differentBitLengths()
131 HashCode hash31 = HashCodes.fromInt(31); in testCombineOrdered()
132 HashCode hash32 = HashCodes.fromInt(32); in testCombineOrdered()
174 Hashing.combineUnordered(ImmutableList.of(HashCodes.fromInt(32), HashCodes.fromLong(32L))); in testCombineUnordered_differentBitLengths()
181 HashCode hash31 = HashCodes.fromInt(31); in testCombineUnordered()
182 HashCode hash32 = HashCodes.fromInt(32); in testCombineUnordered()
184 assertEquals(HashCodes.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered()
[all …]
DHashCodesTest.java50 HashCode fromInt = HashCodes.fromInt(expected.asInt); in testFromInt() local
51 assertExpectedHashCode(expected, fromInt); in testFromInt()
DAbstractStreamingHasherTest.java171 return HashCodes.fromInt(0xDeadBeef); in makeHash()
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DItemType.java112 public static ItemType fromInt(int itemType) { in fromInt() method in ItemType
DMapItem.java70 ItemType itemType = ItemType.fromInt(in.readShort()); in readItem()
/external/guava/guava/src/com/google/common/hash/
DHashCodes.java29 static HashCode fromInt(int hash) { in fromInt() method in HashCodes
DMurmur3_32HashFunction.java98 return HashCodes.fromInt(h1); in makeHash()
/external/chromium_org/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/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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-crypto.js192 function nbv(i) { var r = nbi(); r.fromInt(i); return r; }
449 if(q != null) q.fromInt(0);
634 BigInteger.prototype.fromInt = bnpFromInt; method in BigInteger
723 this.fromInt(0);
752 if(a < 2) this.fromInt(1);
1263 a.fromInt(lowprimes[i]);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-crypto.js192 function nbv(i) { var r = nbi(); r.fromInt(i); return r; }
449 if(q != null) q.fromInt(0);
634 BigInteger.prototype.fromInt = bnpFromInt; method in BigInteger
723 this.fromInt(0);
752 if(a < 2) this.fromInt(1);
1263 a.fromInt(lowprimes[i]);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-crypto.js192 function nbv(i) { var r = nbi(); r.fromInt(i); return r; }
449 if(q != null) q.fromInt(0);
634 BigInteger.prototype.fromInt = bnpFromInt; method in BigInteger
723 this.fromInt(0);
752 if(a < 2) this.fromInt(1);
1263 a.fromInt(lowprimes[i]);