- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 441 for cmap (0.02 seconds)
-
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) -
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) -
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) -
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) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
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) -
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) -
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) -
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) -
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) -
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)