Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 441 for cmap (0.02 seconds)

  1. src/cmd/api/main_test.go

    	current     *apiPackage
    	deprecated  map[token.Pos]bool
    	features    map[string]bool              // set
    	imported    map[string]*apiPackage       // packages already imported
    	stdPackages []string                     // names, omitting "unsafe", internal, and vendored packages
    	importMap   map[string]map[string]string // importer dir -> import path -> canonical path
    	importDir   map[string]string            // canonical import path -> dir
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  2. src/builtin/builtin.go

    // (m[key]) from the map. If m is nil or there is no such element, delete
    // is a no-op.
    func delete(m map[Type]Type1, key Type)
    
    // The len built-in function returns the length of v, according to its type:
    //
    //   - Array: the number of elements in v.
    //   - Pointer to array: the number of elements in *v (even if v is nil).
    //   - Slice, or map: the number of elements in v; if v is nil, len(v) is zero.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  3. internal/lru/lru.go

    		ttl:       ttl,
    		size:      size,
    		evictList: NewList[K, V](),
    		items:     make(map[K]*Entry[K, V]),
    		onEvict:   onEvict,
    		done:      make(chan struct{}),
    	}
    
    	// initialize the buckets
    	res.buckets = make([]bucket[K, V], numBuckets)
    	for i := 0; i < numBuckets; i++ {
    		res.buckets[i] = bucket[K, V]{entries: make(map[K]*Entry[K, V])}
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. doc/go_spec.html

    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    The number of map elements is called its length.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  5. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

            .testForwarding(
                Map.class,
                new Function<Map, Map>() {
                  @Override
                  public Map apply(Map delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Map<Integer, String> map1 = ImmutableMap.of(1, "one");
        Map<Integer, String> map2 = ImmutableMap.of(2, "two");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                return Map.of();
            }
        }
    
        /**
         * Gets a nested map value from the given map.
         *
         * @param map the source map.
         * @param key the key to look up.
         * @return the map value, or {@code null} if not found or not a map.
         */
        @SuppressWarnings("unchecked")
        protected Map<String, Object> getMapValue(final Map<String, Object> map, final String key) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            final Map<String, Object> map = new HashMap<String, Object>();
    
            assertTrue(0.0f == docBoostMatcher.getValue(map));
    
            map.put("data1", 20);
            assertTrue(docBoostMatcher.match(map));
    
            map.put("data1", 5);
            assertFalse(docBoostMatcher.match(map));
    
            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

      }
    
      public void testTransformSingletonMapEquality() {
        Map<String, String> map =
            transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
        Map<String, String> expected = ImmutableMap.of("a", "1");
        assertMapsEqual(expected, map);
        assertThat(map.get("a")).isEqualTo(expected.get("a"));
      }
    
      public void testTransformIdentityFunctionEquality() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("quux");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      }
    
      public void testTransformSingletonMapEquality() {
        Map<String, String> map =
            transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
        Map<String, String> expected = ImmutableMap.of("a", "1");
        assertMapsEqual(expected, map);
        assertThat(map.get("a")).isEqualTo(expected.get("a"));
      }
    
      public void testTransformIdentityFunctionEquality() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top