Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java69 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()
DHashingTest.java212 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()
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/
DCrc32cHashFunction.java121 return HashCode.fromInt(crc); in hash()
DChecksumHashFunction.java88 return HashCode.fromInt((int) value); in hash()
DMurmur3_32HashFunction.java147 return HashCode.fromInt(h1); in fmix()
DHashCode.java119 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/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp342 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()
DIceOperand.h488 static RegNumT fromInt(BaseType Value) { return RegNumT(Value); } in fromInt() function
555 return RegNumT::fromInt(Current);
DIceTargetLowering.cpp185 const auto RegNum = RegNumT::fromInt(RegIndex); in filterTypeToRegisterSet()
DIceTargetLoweringARM32.cpp341 const auto RegNum = RegNumT::fromInt(i); in staticInit()
1571 Variable *PhysicalRegister = getPhysicalRegister(RegNumT::fromInt(Reg)); in addProlog()
DIceTargetLoweringX86BaseImpl.h1349 const auto RegNum = RegNumT::fromInt(i);
1360 const auto RegNum = RegNumT::fromInt(i);
DIceTargetLoweringMIPS32.cpp1608 Variable *PhysicalRegister = getPhysicalRegister(RegNumT::fromInt(Reg)); in addProlog()