- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,300 for setS (0.04 sec)
-
pkg/util/sets/set_test.go
if _, exist := set[e]; !exist { t.Errorf("%s is not in set %v", e, set) } } } func TestUnion(t *testing.T) { elements := []string{"a", "b", "c", "d"} elements2 := []string{"a", "b", "e"} want := New("a", "b", "c", "d", "e") for _, sets := range [][]Set[string]{ {New(elements...), New(elements2...)}, {New(elements2...), New(elements...)}, } { s1, s2 := sets[0], sets[1] if got := s1.Union(s2); !got.Equals(want) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
set1 := newStatefulSet(3) set2 := newStatefulSet(3) set2.Name = "foo2" set3 := newStatefulSet(3) set3.Name = "foo3" set3.Spec.Selector.MatchLabels = map[string]string{"foo3": "bar"} pod := newStatefulSetPod(set1, 0) om.setsIndexer.Add(set1) om.setsIndexer.Add(set2) om.setsIndexer.Add(set3) // Make pod an orphan. Expect matching sets to be queued. pod.OwnerReferences = nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
pkg/util/smallset/smallset_test.go
items2 = append(items2, fmt.Sprint(i)) } b.Run("Set", func(b *testing.B) { set1000 := sets.New(items1000...) set100 := sets.New(items100...) set2 := sets.New(items2...) b.Run("New/1", func(b *testing.B) { for range b.N { _ = sets.New("a") } }) b.Run("New/1000", func(b *testing.B) { for range b.N { _ = sets.New(items1000...) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 09:03:44 UTC 2023 - 7.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
// TokenTTL flag sets the time to live for token TokenTTL = "token-ttl" // TokenUsages flag sets the usages of the token TokenUsages = "usages" // TokenGroups flag sets the authentication groups of the token TokenGroups = "groups" // TokenDescription flag sets the description of the token TokenDescription = "description"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/proxy/topology_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) { List<Set<Optional<?>>> optionalSets = Lists.newArrayListWithExpectedSize(sets.length); for (Set<?> set : sets) { Set<Optional<?>> optionalSet = Sets.newLinkedHashSet(Iterables.transform(set, NULLABLE_TO_OPTIONAL)); optionalSets.add(optionalSet); } Set<List<Optional<?>>> cartesianProduct = Sets.cartesianProduct(optionalSets);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 8.1K bytes - Viewed (0) -
pilot/pkg/model/typed_xds_cache_test.go
ConfigKey{Kind: kind.WasmPlugin, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(secondEntry.Key()), }) cache.Clear(sets.Set[ConfigKey]{}) // no change on empty clear assert.Equal(t, cache.store.Len(), 2) assert.Equal(t, cache.indexLength(), 5) assert.Equal(t, cache.configIndexSnapshot(), map[ConfigHash]sets.Set[uint64]{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 29 20:35:31 UTC 2024 - 18.2K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/lds_test.go
"bar": {RequestedNames: sets.New("bar")}, "bar.ns": {RequestedNames: sets.New("bar.ns")}, "bar.ns.svc": {RequestedNames: sets.New("bar.ns.svc")}, "bar.ns.svc.cluster.local": {RequestedNames: sets.New( "bar", "bar.ns", "bar.ns.svc", "bar.ns.svc.cluster.local", )}, "foo": {RequestedNames: sets.New("foo"), Ports: sets.New("80")},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 30 20:07:58 UTC 2022 - 4.7K bytes - Viewed (0) -
pilot/pkg/xds/ecds_test.go
watchedResources []string wantExtensions sets.String wantSecrets sets.String }{ { name: "simple", proxyNamespace: "default", request: &model.PushRequest{Full: true}, watchedResources: []string{"extenstions.istio.io/wasmplugin/default.default-plugin"}, wantExtensions: sets.String{"extenstions.istio.io/wasmplugin/default.default-plugin": {}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 12K bytes - Viewed (0)