Home
last modified time | relevance | path

Searched refs:sampleData (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/collect/
DSetCreationBenchmark.java44 private CollectionBenchmarkSampleData sampleData; field in SetCreationBenchmark
47 sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); in setUp()
53 x ^= System.identityHashCode(impl.create(sampleData.getValuesInSet())); in creation()
DSetContainsBenchmark.java58 CollectionBenchmarkSampleData sampleData = in setUp() local
62 this.setToTest = impl.create(sampleData.getValuesInSet()); in setUp()
63 this.queries = sampleData.getQueries(); in setUp()
DSetIterationBenchmark.java49 CollectionBenchmarkSampleData sampleData = in setUp() local
51 setToTest = impl.create(sampleData.getValuesInSet()); in setUp()
DMapBenchmark.java169 CollectionBenchmarkSampleData sampleData = in setUp() local
174 List<Element> valueList = newArrayList(sampleData.getValuesInSet()); in setUp()
178 values = sampleData.getValuesInSet(); in setUp()
181 this.queries = sampleData.getQueries(); in setUp()
/external/guava/guava-tests/benchmark/com/google/common/base/
DEnumsBenchmark.java36 private String[] sampleData; field in EnumsBenchmark
64 sampleData = sampleDataList.toArray(new String[sampleDataList.size()]); in setUp()
70 Enums.getIfPresent(enumType, sampleData[i & 255]); in getIfPresent()