Home
last modified time | relevance | path

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

/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DTypedRangeTest.java63 Set<Integer> hashCodes = new HashSet<Integer>(); in testHashCode() local
64 hashCodes.add(range1a.hashCode()); in testHashCode()
65 hashCodes.add(new TypedRange<String>(123 + 1, 456, "hi mom").hashCode()); // offset changed in testHashCode()
66 hashCodes.add(new TypedRange<String>(123, 456 + 1, "hi mom").hashCode()); // length changed in testHashCode()
67 hashCodes.add(new TypedRange<String>(123 + 1, 456, "x").hashCode()); // metadata changed in testHashCode()
68 hashCodes.add(new TypedRange<String>(123 + 1, 456, null).hashCode()); // no metadata at all in testHashCode()
70 Assert.assertEquals(5, hashCodes.size()); in testHashCode()
/external/guava/guava/src/com/google/common/hash/
DHashing.java363 public static HashCode combineOrdered(Iterable<HashCode> hashCodes) { in combineOrdered() argument
364 Iterator<HashCode> iterator = hashCodes.iterator(); in combineOrdered()
368 for (HashCode hashCode : hashCodes) { in combineOrdered()
389 public static HashCode combineUnordered(Iterable<HashCode> hashCodes) { in combineUnordered() argument
390 Iterator<HashCode> iterator = hashCodes.iterator(); in combineUnordered()
393 for (HashCode hashCode : hashCodes) { in combineUnordered()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java272 List<HashCode> hashCodes = Lists.newArrayList(); in testCombineOrdered_randomHashCodes() local
274 hashCodes.add(HashCode.fromLong(random.nextLong())); in testCombineOrdered_randomHashCodes()
276 HashCode hashCode1 = Hashing.combineOrdered(hashCodes); in testCombineOrdered_randomHashCodes()
277 Collections.shuffle(hashCodes, random); in testCombineOrdered_randomHashCodes()
278 HashCode hashCode2 = Hashing.combineOrdered(hashCodes); in testCombineOrdered_randomHashCodes()
313 List<HashCode> hashCodes = Lists.newArrayList(); in testCombineUnordered_randomHashCodes() local
315 hashCodes.add(HashCode.fromLong(random.nextLong())); in testCombineUnordered_randomHashCodes()
317 HashCode hashCode1 = Hashing.combineUnordered(hashCodes); in testCombineUnordered_randomHashCodes()
318 Collections.shuffle(hashCodes); in testCombineUnordered_randomHashCodes()
319 HashCode hashCode2 = Hashing.combineUnordered(hashCodes); in testCombineUnordered_randomHashCodes()
DSipHashFunctionTest.java151 ImmutableSet<HashCode> hashCodes = ImmutableSet.of( in testCollisionsDueToIncorrectSignExtension() local
155 assertEquals(3, hashCodes.size()); in testCollisionsDueToIncorrectSignExtension()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java72 Set<Integer> hashCodes = new HashSet<Integer>(); in testFieldCoverage() local
138 hashCodes.add(p1.hashCode()); in testFieldCoverage()
158 hashCodes.add(p1.hashCode()); in testFieldCoverage()
177 hashCodes.add(p3.hashCode()); in testFieldCoverage()
179 hashCodes.add(p4.hashCode()); in testFieldCoverage()
200 … "Too many hash code collisions: " + hashCodes.size() + " out of " + (fields.length * 4), in testFieldCoverage()
201 hashCodes.size() >= fields.length); in testFieldCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java69 Set<Integer> hashCodes = new HashSet<Integer>(); in testFieldCoverage() local
135 hashCodes.add(p1.hashCode()); in testFieldCoverage()
155 hashCodes.add(p1.hashCode()); in testFieldCoverage()
174 hashCodes.add(p3.hashCode()); in testFieldCoverage()
176 hashCodes.add(p4.hashCode()); in testFieldCoverage()
197 … "Too many hash code collisions: " + hashCodes.size() + " out of " + (fields.length * 4), in testFieldCoverage()
198 hashCodes.size() >= fields.length); in testFieldCoverage()
/external/antlr/runtime/ObjC/Framework/
DHashMap.m829 * otherwise encounter collisions for hashCodes that do not differ
834 // This function ensures that hashCodes that differ only by
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...