Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getValuesInSet (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top