/external/guava/android/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 80 HashCode fromInt = HashCode.fromInt(expected.asInt); in testFromInt() local 81 assertExpectedHashCode(expected, fromInt); in testFromInt() 147 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong()); in testPadToLong() 148 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong()); in testPadToLong() 190 HashCode hashCode42 = HashCode.fromInt(42); in testObjectHashCode() 272 HashCode.fromInt(42).writeBytesTo(dest, 0, 4); in testIntWriteBytesTo() 273 assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest)); in testIntWriteBytesTo()
|
D | HashingTest.java | 223 checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L); in testConsistentHash_ofHashCode() 264 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineOrdered_differentBitLengths() 271 HashCode hash31 = HashCode.fromInt(31); in testCombineOrdered() 272 HashCode hash32 = HashCode.fromInt(32); in testCombineOrdered() 309 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineUnordered_differentBitLengths() 316 HashCode hash31 = HashCode.fromInt(31); in testCombineUnordered() 317 HashCode hash32 = HashCode.fromInt(32); in testCombineUnordered() 319 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered() 321 HashCode.fromInt(96), Hashing.combineUnordered(ImmutableList.of(hash32, hash32, hash32))); in testCombineUnordered()
|
D | PackageSanityTests.java | 31 setDefault(HashCode.class, HashCode.fromInt(1)); in PackageSanityTests()
|
D | Murmur3Hash32Test.java | 98 assertEquals(HashCode.fromInt(expected), actual); in assertHash()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 80 HashCode fromInt = HashCode.fromInt(expected.asInt); in testFromInt() local 81 assertExpectedHashCode(expected, fromInt); in testFromInt() 147 assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong()); in testPadToLong() 148 assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong()); in testPadToLong() 190 HashCode hashCode42 = HashCode.fromInt(42); in testObjectHashCode() 272 HashCode.fromInt(42).writeBytesTo(dest, 0, 4); in testIntWriteBytesTo() 273 assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest)); in testIntWriteBytesTo()
|
D | HashingTest.java | 223 checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L); in testConsistentHash_ofHashCode() 264 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineOrdered_differentBitLengths() 271 HashCode hash31 = HashCode.fromInt(31); in testCombineOrdered() 272 HashCode hash32 = HashCode.fromInt(32); in testCombineOrdered() 309 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); in testCombineUnordered_differentBitLengths() 316 HashCode hash31 = HashCode.fromInt(31); in testCombineUnordered() 317 HashCode hash32 = HashCode.fromInt(32); in testCombineUnordered() 319 assertEquals(HashCode.fromInt(64), Hashing.combineUnordered(ImmutableList.of(hash32, hash32))); in testCombineUnordered() 321 HashCode.fromInt(96), Hashing.combineUnordered(ImmutableList.of(hash32, hash32, hash32))); in testCombineUnordered()
|
D | PackageSanityTests.java | 31 setDefault(HashCode.class, HashCode.fromInt(1)); in PackageSanityTests()
|
D | Murmur3Hash32Test.java | 98 assertEquals(HashCode.fromInt(expected), actual); in assertHash()
|
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/ |
D | ProfileTest.java | 67 assertThat(Profile.fromInt(identifier.asInt())).isEqualTo(identifier); in fromInt_intFromCurrentProfile_equalsCurrentProfile() 74 assertThat(Profile.fromInt(identifier.asInt())).isEqualTo(identifier); in fromInt_intFromOtherProfile_equalsOtherProfile()
|
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/ |
D | FakeConnectedAppsUtils.java | 24 private static final Profile CURRENT_PROFILE_IDENTIFIER = Profile.fromInt(0); 25 private static final Profile OTHER_PROFILE_IDENTIFIER = Profile.fromInt(1);
|
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
D | ConnectedAppsUtilsImpl.java | 26 private static final Profile CURRENT_PROFILE_IDENTIFIER = Profile.fromInt(0); 27 private static final Profile OTHER_PROFILE_IDENTIFIER = Profile.fromInt(1);
|
D | Profile.java | 26 public static Profile fromInt(int legacyProfileIdentifier) { in fromInt() method in Profile
|
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/internal/ |
D | CrossProfileCallbackMultiMergerTest.java | 45 private final Profile profile0 = Profile.fromInt(0); 46 private final Profile profile1 = Profile.fromInt(1); 47 private final Profile profile2 = Profile.fromInt(2);
|
/external/auto/factory/src/test/resources/good/ |
D | MixedDepsImplementingInterfaces.java | 32 MixedDepsImplementingInterfaces fromInt(int i); in fromInt() method
|
/external/guava/guava/src/com/google/common/hash/ |
D | Crc32cHashFunction.java | 125 return HashCode.fromInt(crc); in hash()
|
D | ChecksumHashFunction.java | 85 return HashCode.fromInt((int) value); in hash()
|
D | HashCode.java | 116 public static HashCode fromInt(int hash) { in fromInt() method in HashCode
|
D | Murmur3_32HashFunction.java | 256 return HashCode.fromInt(h1); in fmix()
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | Crc32cHashFunction.java | 125 return HashCode.fromInt(crc); in hash()
|
D | ChecksumHashFunction.java | 85 return HashCode.fromInt((int) value); in hash()
|
D | HashCode.java | 116 public static HashCode fromInt(int hash) { in fromInt() method in HashCode
|
D | Murmur3_32HashFunction.java | 256 return HashCode.fromInt(h1); in fmix()
|
/external/auto/factory/src/test/resources/expected/ |
D | MixedDepsImplementingInterfacesFactory.java | 46 @Override public MixedDepsImplementingInterfaces fromInt(int i) { in fromInt() method in MixedDepsImplementingInterfacesFactory
|
/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()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager10.java | 702 assetmanager.Open(asset_path_utf8, Asset.AccessMode.fromInt(access_mode)); in nativeOpenAsset() 755 Asset.AccessMode.fromInt(access_mode)); in nativeOpenNonAsset() 758 Asset.AccessMode.fromInt(access_mode)); in nativeOpenNonAsset()
|