Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for rosulate (0.19 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. .gitignore

    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    docs/debugging/reorder-disks/reorder-disks
    docs/debugging/populate-hard-links/populate-hardlinks
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 707 bytes
    - Viewed (0)
  4. internal/bpool/bpool.go

    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/NewCustomTableTest.java

              }
            };
        Map<String, Map<Integer, Character>> backingMap = Maps.newLinkedHashMap();
        Table<String, Integer, Character> table = Tables.newCustomTable(backingMap, factory);
        populate(table, data);
        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableMultimap.copyOf(delegate).asMap();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableMultimap.copyOf(delegate).asMap();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapAsMapImplementsMapTest.java

        return ImmutableSetMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableSetMultimap.copyOf(delegate).asMap();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = LinkedHashMultimap.create();
        populate(delegate);
        return Multimaps.unmodifiableMultimap(delegate).asMap();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = LinkedHashMultimap.create();
        populate(delegate);
        return Multimaps.unmodifiableMultimap(delegate).asMap();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top