Searched refs:fromInt (Results 1 – 15 of 15) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 69 HashCode fromInt = HashCode.fromInt(expected.asInt); in testFromInt() local 70 assertExpectedHashCode(expected, fromInt); in testFromInt() 136 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong()); in testPadToLong() 137 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong()); in testPadToLong() 180 HashCode hashCode42 = HashCode.fromInt(42); in testObjectHashCode() 263 HashCode.fromInt(42).writeBytesTo(dest, 0, 4); in testIntWriteBytesTo() 265 HashCode.fromInt(42).asBytes(), in testIntWriteBytesTo()
|
D | HashingTest.java | 212 checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L); in testConsistentHash_ofHashCode() 251 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineOrdered_differentBitLengths() 258 HashCode hash31 = HashCode.fromInt(31); in testCombineOrdered() 259 HashCode hash32 = HashCode.fromInt(32); in testCombineOrdered() 293 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineUnordered_differentBitLengths() 300 HashCode hash31 = HashCode.fromInt(31); in testCombineUnordered() 301 HashCode hash32 = HashCode.fromInt(32); in testCombineUnordered() 303 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered() 304 assertEquals(HashCode.fromInt(96), in testCombineUnordered()
|
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 | Crc32cHashFunction.java | 121 return HashCode.fromInt(crc); in hash()
|
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 | 119 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/swiftshader/third_party/subzero/src/ |
D | IceRegAlloc.cpp | 342 RegAliases[Reg] = &Target->getAliasesForRegister(RegNumT::fromInt(Reg)); in init() 546 Iter.PreferReg = RegNumT::fromInt(SrcReg); in findRegisterPreference() 773 Iter.Cur->setRegNumTmp(RegNumT::fromInt(MinWeightIndex)); in handleNoFreeRegisters()
|
D | IceOperand.h | 488 static RegNumT fromInt(BaseType Value) { return RegNumT(Value); } in fromInt() function 555 return RegNumT::fromInt(Current);
|
D | IceTargetLowering.cpp | 185 const auto RegNum = RegNumT::fromInt(RegIndex); in filterTypeToRegisterSet()
|
D | IceTargetLoweringARM32.cpp | 341 const auto RegNum = RegNumT::fromInt(i); in staticInit() 1571 Variable *PhysicalRegister = getPhysicalRegister(RegNumT::fromInt(Reg)); in addProlog()
|
D | IceTargetLoweringX86BaseImpl.h | 1349 const auto RegNum = RegNumT::fromInt(i); 1360 const auto RegNum = RegNumT::fromInt(i);
|
D | IceTargetLoweringMIPS32.cpp | 1608 Variable *PhysicalRegister = getPhysicalRegister(RegNumT::fromInt(Reg)); in addProlog()
|