Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 200 for Intersections (0.32 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typeparams/typeterm.go

    	}
    	// x.typ == y.typ
    
    	// ~t ∪ ~t == ~t
    	// ~t ∪  T == ~t
    	//  T ∪ ~t == ~t
    	//  T ∪  T ==  T
    	if x.tilde || !y.tilde {
    		return x, nil
    	}
    	return y, nil
    }
    
    // intersect returns the intersection x ∩ y.
    func (x *term) intersect(y *term) *term {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return nil // ∅ ∩ y == ∅ and ∩ ∅ == ∅
    	case x.typ == nil:
    		return y // 𝓤 ∩ y == y
    	case y.typ == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 21:08:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. src/go/types/termlist.go

    		}
    		rl = append(rl, xi)
    	}
    	return rl
    }
    
    // union returns the union xl ∪ yl.
    func (xl termlist) union(yl termlist) termlist {
    	return append(xl, yl...).norm()
    }
    
    // intersect returns the intersection xl ∩ yl.
    func (xl termlist) intersect(yl termlist) termlist {
    	if xl.isEmpty() || yl.isEmpty() {
    		return nil
    	}
    
    	// Quadratic algorithm, but good enough for now.
    	// TODO(gri) fix asymptotic performance
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
       * Math.min(multisetToModify.count(e), multisetToRetain.count(e))}. This is similar to {@link
       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multisets.java

       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
       * Math.min(multisetToModify.count(e), multisetToRetain.count(e))}. This is similar to {@link
       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity.go

    				// The requirements represent ANDed constraints, and so we need to
    				// find the intersection of nodes.
    				s := sets.New(r.Values...)
    				if termNodeNames == nil {
    					termNodeNames = s
    				} else {
    					termNodeNames = termNodeNames.Intersection(s)
    				}
    			}
    		}
    		if termNodeNames == nil {
    			// If this term has no node.Name field affinity,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. docs/sts/client-grants.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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

        }
    
        private static Predicate<? super Map<String, ?>> payloadEquals(Map<String, ?> expectedPayload) {
            { actualPayload ->
                def present = Sets.intersection(actualPayload.keySet(), expectedPayload.keySet())
                for (String key : present) {
                    if (!testValue(expectedPayload[key], actualPayload[key])) {
                        return false
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              val protocol = peerProtocols[i] as String
              if (protocol in protocols) {
                selected = protocol
                return selected
              }
            }
            selected = protocols[0] // On no intersection, try peer's first protocol.
            return selected
          } else if ((methodName == "protocolSelected" || methodName == "selected") && callArgs.size == 1) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authentication/v1beta1/types_swagger_doc_generated.go

    	"audiences":     "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 is returned in the status.audiences field to ensure that the TokenReview...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/main/java/org/gradle/configuration/TaskDetailPrinter.java

            for (TaskDetails.OptionDetails optionDescriptor : allOptions) {
                if (result.containsKey(optionDescriptor.getName())) {
                    Collection<String> commonValues = Sets.intersection(optionDescriptor.getAvailableValues(), result.get(optionDescriptor.getName()));
                    result.put(optionDescriptor.getName(), new TreeSet<>(commonValues));
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 11:25:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top