- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 701 for map1 (0.06 sec)
-
src/internal/abi/map.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package abi // Map constants common to several packages // runtime/runtime-gdb.py:MapTypePrinter contains its own copy const ( // Maximum number of key/elem pairs a bucket can hold. MapBucketCountBits = 3 // log2 of number of elements in a bucket. MapBucketCount = 1 << MapBucketCountBits
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 20:09:01 UTC 2024 - 719 bytes - Viewed (0) -
pkg/typemap/map.go
import ( "reflect" "istio.io/istio/pkg/ptr" ) // TypeMap provides a map that holds a map of Type -> Value. There can be only a single value per type. // The value stored for a type must be of the same type as the key. type TypeMap struct { inner map[reflect.Type]any } func NewTypeMap() TypeMap { return TypeMap{make(map[reflect.Type]any)} } func Set[T any](t TypeMap, v T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
import com.google.common.base.MoreObjects; import com.google.common.base.Predicate; import com.google.common.collect.Maps.ViewCachingAbstractMap; import com.google.j2objc.annotations.WeakOuter; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.annotation.CheckForNull;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * @throws NullPointerException if any key or value in {@code map} is null */ public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) { if ((map instanceof ImmutableMap) && !(map instanceof SortedMap)) { @SuppressWarnings("unchecked") // safe since map is not writable ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map; if (!kvMap.isPartialView()) { return kvMap; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 30 14:39:16 UTC 2024 - 44.6K bytes - Viewed (0) -
src/go/types/builtins.go
x.typ = Typ[Int] case _Delete: // delete(map_, key) // map_ must be a map type or a type parameter describing map types. // The key cannot be a type parameter for now. map_ := x.typ var key Type if !underIs(map_, func(u Type) bool { map_, _ := u.(*Map) if map_ == nil { check.errorf(x, InvalidDelete, invalidArg+"%s is not a map", x) return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
import com.google.common.base.MoreObjects; import com.google.common.base.Predicate; import com.google.common.collect.Maps.ViewCachingAbstractMap; import com.google.j2objc.annotations.WeakOuter; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.annotation.CheckForNull;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 11.9K bytes - Viewed (0) -
src/bytes/buffer_test.go
for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) if i == 0 { cap0 = b.Cap() } } cap1 := b.Cap() // (*Buffer).grow allows for 2x capacity slop before sliding, // so set our error threshold at 3x. if cap1 > cap0*3 { t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0) } } func BenchmarkWriteByte(b *testing.B) { const n = 4 << 10 b.SetBytes(n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// // Invariant: Defs[id] == nil || Defs[id].Pos() == id.Pos() Defs map[*syntax.Name]Object // Uses maps identifiers to the objects they denote. // // For an embedded field, Uses returns the *TypeName it denotes. // // Invariant: Uses[id].Pos() != id.Pos() Uses map[*syntax.Name]Object // Implicits maps nodes to their implicitly declared objects, if any.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/unique/handle_test.go
// Manually load the value out of the map. typ := abi.TypeOf(value) a, ok := uniqueMaps.Load(typ) if !ok { return } m := a.(*uniqueMap[T]) wp, ok := m.Load(value) if !ok { return } if wp.Strong() != nil { t.Errorf("value %v still referenced a handle (or tiny block?) ", value) return } t.Errorf("failed to drain internal maps of %v", value)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
"fmt" "net" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) type ConnectionsFilter struct { Namespace string Direction string Raw bool } func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error { d := c.ztunnelDump workloads := maps.Values(d.WorkloadState)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 3.5K bytes - Viewed (0)