Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for intersection (0.12 sec)

  1. cmd/net_test.go

    		expectedIPList set.StringSet
    	}{
    		{set.CreateStringSet("127.0.0.1")},
    	}
    
    	for _, testCase := range testCases {
    		ipList := mustGetLocalIP4()
    		if testCase.expectedIPList != nil && testCase.expectedIPList.Intersection(ipList).IsEmpty() {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList)
    		}
    	}
    }
    
    func TestGetHostIP(t *testing.T) {
    	testCases := []struct {
    		host           string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/authentication/v1/generated.proto

      optional UserInfo user = 2;
    
      // Audiences are audience identifiers chosen by the authenticator that are
      // compatible with both the TokenReview and token. An identifier is any
      // identifier in the intersection of the TokenReviewSpec audiences and the
      // token's audiences. A client of the TokenReview API that sets the
      // spec.audiences field should validate that a compatible audience identifier
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports the {@link #add} operation if this {@code RangeSet} supports
       * {@link #remove}, and vice versa.
       */
      RangeSet<C> complement();
    
      /**
       * Returns a view of the intersection of this {@code RangeSet} with the specified range.
       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    				err = errNoSuchPolicy
    				return
    			}
    		}
    		newPolicySet = existingPolicySet.Union(policiesToUpdate)
    	} else {
    		// policies to detach => inputPolicies ∩ existing (intersection)
    		policiesToUpdate = policiesToUpdate.Intersection(existingPolicySet)
    		newPolicySet = existingPolicySet.Difference(policiesToUpdate)
    	}
    	// We return an error if the requested policy update will have no effect.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

                        Set<String> set2 = newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
                .named("Sets.intersection")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * // impossible for a non-String to be in the intersection
       * SuppressWarnings("unchecked")
       * Set<String> badStrings = (Set) Sets.intersection(
       *     aFewBadObjects, manyBadStrings);
       * }</pre>
       *
       * <p>This is unfortunate, but should come up only very rarely.
       */
      public static <E extends @Nullable Object> SetView<E> intersection(
          final Set<E> set1, final Set<?> set2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    	if dnsBuckets != nil {
    		for _, bucket := range buckets {
    			bucketsSet.Add(bucket)
    			r, ok := dnsBuckets[bucket]
    			if !ok {
    				bucketsToBeUpdated.Add(bucket)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    				if globalDomainIPs.Difference(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() && !domainMissing {
    					// No difference in terms of domainIPs and nothing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrNoSuchBucket), r.URL)
    			} else {
    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    		if globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(sr)...)).IsEmpty() {
    			r.URL.Scheme = "http"
    			if globalIsTLS {
    				r.URL.Scheme = "https"
    			}
    			r.URL.Host = getHostFromSrv(sr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. docs/sts/web-identity.md

    ### Policy
    
    An IAM policy in JSON format that you want to use as an inline session policy. This parameter is optional. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the canned policy name and the policy set here. You cannot use this policy to grant more permissions than those allowed by the canned policy name being assumed.
    
    | Params        | Value                                          |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
        assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top