- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getValuesInSet (0.07 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
public void prepareContents() throws Exception { mapsImpl = mapEnums.get(implName); elems = new CollectionBenchmarkSampleData(elements); contents = Maps.newHashMap(); for (Element key : elems.getValuesInSet()) { contents.put(key, key); } map = mapsImpl.create(contents); } @Benchmark @Footprint(exclude = Element.class) public Map<Element, Element> create() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
this.random = checkNotNull(random); this.hitRate = hitRate; this.size = size; this.valuesInSet = createData(); this.queries = createQueries(valuesInSet, 1024); } Set<Element> getValuesInSet() { return valuesInSet; } Element[] getQueries() { return queries; } private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
this.random = checkNotNull(random); this.hitRate = hitRate; this.size = size; this.valuesInSet = createData(); this.queries = createQueries(valuesInSet, 1024); } Set<Element> getValuesInSet() { return valuesInSet; } Element[] getQueries() { return queries; } private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0)