Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for setS (0.14 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       */
      public static <E extends @Nullable Object> SetView<E> union(
          final Set<? extends E> set1, final Set<? extends E> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
        return new SetView<E>() {
          @Override
          public int size() {
            int size = set1.size();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Sets.java

       * equivalence relations, for example if {@code set1} is a {@link HashSet} and {@code set2} is a
       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       *
       * @since 3.0
       */
      public static <E extends @Nullable Object> SetView<E> symmetricDifference(
          final Set<? extends E> set1, final Set<? extends E> set2) {
        checkNotNull(set1, "set1");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = Sets.newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = Sets.newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    	}
    
    	testCases := []struct {
    		available               sets.Set[string]
    		fromAffinityExpected    sets.Set[string]
    		notFromAffinityExpected sets.Set[string]
    		withoutTopologyExpected sets.Set[string]
    	}{
    		{
    			available:               sets.New[string]("dev1", "dev2"),
    			fromAffinityExpected:    sets.New[string]("dev2"),
    			notFromAffinityExpected: sets.New[string]("dev1"),
    			withoutTopologyExpected: sets.New[string](),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		},
    		{
    			name: "claim and expression are set",
    			in: []api.ClaimValidationRule{
    				{Claim: "claim", Expression: "expression"},
    			},
    			structuredAuthnFeatureEnabled: true,
    			want:                          `issuer.claimValidationRules[0]: Invalid value: "claim": claim and expression can't both be set`,
    		},
    		{
    			name: "message set when claim is set",
    			in: []api.ClaimValidationRule{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/replica_calculator_test.go

    		expectReadyPodCount int
    		expectUnreadyPods   sets.String
    		expectMissingPods   sets.String
    		expectIgnoredPods   sets.String
    	}{
    		{
    			name:                "void",
    			pods:                []*v1.Pod{},
    			metrics:             metricsclient.PodMetricsInfo{},
    			resource:            v1.ResourceCPU,
    			expectReadyPodCount: 0,
    			expectUnreadyPods:   sets.NewString(),
    			expectMissingPods:   sets.NewString(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          this.taskRunner = okHttpClient.taskRunner
        }
    
        /**
         * Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.
         */
        fun dispatcher(dispatcher: Dispatcher) =
          apply {
            this.dispatcher = dispatcher
          }
    
        /**
         * Sets the connection pool used to recycle HTTP and HTTPS connections.
         *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context_test.go

    				}
    				deletes := sets.Set[ConfigKey]{}
    				for _, key := range tt.deletes {
    					store.Delete(gvk.EnvoyFilter, key.Name, key.Namespace, nil)
    					deletes.Insert(key)
    				}
    
    				createSet := sets.New(maps.Keys(creates)...)
    				updateSet := sets.New(maps.Keys(updates)...)
    				changes := deletes.Union(createSet).Union(updateSet)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/validation/validation.go

    type preexistingExpressions struct {
    	matchConditionExpressions        sets.Set[string]
    	validationExpressions            sets.Set[string]
    	validationMessageExpressions     sets.Set[string]
    	auditAnnotationValuesExpressions sets.Set[string]
    }
    
    func newPreexistingExpressions() preexistingExpressions {
    	return preexistingExpressions{
    		matchConditionExpressions:        sets.New[string](),
    		validationExpressions:            sets.New[string](),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  10. pkg/proxy/endpointschangetracker_test.go

    			},
    		},
    		expected: map[types.NamespacedName]sets.Set[string]{
    			{Namespace: "ns2", Name: "ep2"}: sets.New[string]("2.2.2.2", "2.2.2.22", "2.2.2.3"),
    			{Namespace: "ns4", Name: "ep4"}: sets.New[string]("4.4.4.4", "4.4.4.6"),
    		},
    	}, {
    		// Case[5]: named local and non-local ports for different IPs, some not ready.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
Back to top