- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,300 for map1 (0.26 sec)
-
test/typeparam/boundmethod.go
// // the generic type StringInt[T], which maps directly to T. // got2 := stringify(x2) // want2 := []string{"5", "7", "6"} // if !reflect.DeepEqual(got2, want2) { // panic(fmt.Sprintf("got %s, want %s", got2, want2)) // } // stringify on an instantiated type, whose bound method is associated with // the generic type StringStruct[T], which maps to a struct containing T.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 14:29:30 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableNetwork.java
} private static <N, E> NetworkConnections<N, E> connectionsOf(Network<N, E> network, N node) { if (network.isDirected()) { Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network)); Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network)); int selfLoopCount = network.edgesConnecting(node, node).size(); return network.allowsParallelEdges()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableNetwork.java
} private static <N, E> NetworkConnections<N, E> connectionsOf(Network<N, E> network, N node) { if (network.isDirected()) { Map<E, N> inEdgeMap = Maps.asMap(network.inEdges(node), sourceNodeFn(network)); Map<E, N> outEdgeMap = Maps.asMap(network.outEdges(node), targetNodeFn(network)); int selfLoopCount = network.edgesConnecting(node, node).size(); return network.allowsParallelEdges()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 9.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go
data: []byte(`{"a":` + strings.Repeat(`[`, 3*1024*1024)), }, { name: "3MB of deeply nested maps", checkErr: successOrMaxDepthError, data: []byte(strings.Repeat(`{"":`, 3*1024*1024/5/2) + "{}" + strings.Repeat(`}`, 3*1024*1024/5/2)), }, { name: "3MB of unbalanced nested maps", checkErr: nonNilError, data: []byte(strings.Repeat(`{"":`, 3*1024*1024/5)), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 4.5K bytes - Viewed (0) -
pilot/pkg/model/fake_store.go
"istio.io/istio/pkg/config/schema/collection" "istio.io/istio/pkg/config/schema/collections" "istio.io/istio/pkg/maps" ) type FakeStore struct { store map[config.GroupVersionKind]map[string]map[string]config.Config } func NewFakeStore() *FakeStore { f := FakeStore{ store: make(map[config.GroupVersionKind]map[string]map[string]config.Config), } return &f } var _ ConfigStore = (*FakeStore)(nil)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 18 06:50:06 UTC 2023 - 3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/proxyconfig.go
"istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/util/protomarshal" ) type EffectiveProxyConfigResolver struct { meshConfig *meshconfig.MeshConfig rootNamespace string root *v1beta1.ProxyConfig namespace map[string]*v1beta1.ProxyConfig workload map[string]*v1beta1.ProxyConfig }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 21:07:52 UTC 2024 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go
} // unstructured maps, as seen in annotations // map keys must be strings if mapOfVal, ok := value.Value().(map[ref.Val]ref.Val); ok { result := make(map[string]any) for k, v := range mapOfVal { stringKey, ok := k.Value().(string) if !ok { return nil, fmt.Errorf("map key %q is of type %t, not string", k, k) } result[stringKey] = v.Value() } return result, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 21:55:08 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java
Map<String, String> entries = Maps.fromProperties(properties); entries .entrySet() .stream() .filter(entry -> !propertyResourceFilter.shouldBeIgnored(entry.getKey())) .sorted(Map.Entry.comparingByKey()) .forEach(entry -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.3K bytes - Viewed (0) -
pilot/pkg/autoregistration/connections.go
type adsConnections struct { sync.Mutex // keyed by proxy id, then connection id byProxy map[proxyKey]map[string]connection } func newAdsConnections() *adsConnections { return &adsConnections{byProxy: map[proxyKey]map[string]connection{}} } func (m *adsConnections) ConnectionsForGroup(wg types.NamespacedName) []connection {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Sep 19 20:41:55 UTC 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
public class HashBasedTable<R, C, V> extends StandardTable<R, C, V> { private static class Factory<C, V> implements Supplier<Map<C, V>>, Serializable { final int expectedSize; Factory(int expectedSize) { this.expectedSize = expectedSize; } @Override public Map<C, V> get() { return Maps.newLinkedHashMapWithExpectedSize(expectedSize); } private static final long serialVersionUID = 0; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 4K bytes - Viewed (0)