Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 2,669 for cmap (0.03 seconds)

  1. android/guava/src/com/google/common/graph/DirectedNetworkConnections.java

    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * An implementation of {@link NetworkConnections} for directed networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    final class DirectedNetworkConnections<N, E> extends AbstractDirectedNetworkConnections<N, E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java

     *
     * @since 3.0
     */
    // TODO Kristian wonders if this class really is necessary and if it overlaps other concepts.
    public final class ProjectIndex {
    
        private final Map<String, MavenProject> projects;
    
        private final Map<String, Integer> indices;
    
        public ProjectIndex(List<MavenProject> projects) {
            this.projects = new HashMap<>(projects.size() * 2);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMultimap.java

        return Spliterators.spliterator(valueIterator(), size(), 0);
      }
    
      @LazyInit private transient @Nullable Map<K, Collection<V>> asMap;
    
      @Override
      public Map<K, Collection<V>> asMap() {
        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        public void test_sizeOf_mapVariations() {
            // Empty map
            assertEquals(0L, MemoryUtil.sizeOf(new HashMap<>()));
    
            // Map with null keys and values
            Map<String, String> mapWithNulls = new HashMap<>();
            mapWithNulls.put(null, null);
            assertEquals(0L, MemoryUtil.sizeOf(mapWithNulls));
    
            // Map with mixed content
            Map<Object, Object> mixedMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

        return ImmutableListMultimap.copyOf(entries);
      }
    
      final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map;
      final transient int size;
    
      ImmutableMultimap(ImmutableMap<K, ? extends ImmutableCollection<V>> map, int size) {
        this.map = map;
        this.size = size;
      }
    
      // mutators (not supported)
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Multimap.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A collection that maps keys to values, similar to {@link Map}, but in which each key may be
     * associated with <i>multiple</i> values. You can visualize the contents of a multimap either as a
     * map from keys to <i>nonempty</i> collections of values:
     *
     * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        public CleanupMapTask(MapMakerInternalMap<?, ?, ?, ?> map) {
          this.mapReference = new WeakReference<>(map);
        }
    
        @Override
        public void run() {
          MapMakerInternalMap<?, ?, ?, ?> map = mapReference.get();
          if (map == null) {
            throw new CancellationException();
          }
    
          for (Segment<?, ?, ?, ?> segment : map.segments) {
            segment.runCleanup();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. src/bytes/example_test.go

    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    func ExampleBuffer_Grow() {
    	var b bytes.Buffer
    	b.Grow(64)
    	bb := b.Bytes()
    	b.Write([]byte("64 bytes or fewer"))
    	fmt.Printf("%q", bb[:b.Len()])
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

            }
    
            @Override
            public String getQuery() {
                return null;
            }
    
            @Override
            public Map<String, String[]> getFields() {
                return null;
            }
    
            @Override
            public Map<String, String[]> getConditions() {
                return null;
            }
    
            @Override
            public String[] getLanguages() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
Back to Top