Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for Intersect (0.27 sec)

  1. pkg/serviceaccount/jwt.go

    	}
    
    	requestedAudiences, ok := authenticator.AudiencesFrom(ctx)
    	if !ok {
    		// default to apiserver audiences
    		requestedAudiences = j.implicitAuds
    	}
    
    	auds := authenticator.Audiences(tokenAudiences).Intersect(requestedAudiences)
    	if len(auds) == 0 && len(j.implicitAuds) != 0 {
    		return nil, false, fmt.Errorf("token audiences %q is invalid for the target audiences %q", tokenAudiences, requestedAudiences)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            findOpApplicationId(ApplyScriptPluginBuildOperationType, Specs.intersect(predicates))
        }
    
        private Long findPluginApplicationId(Spec<? super BuildOperationRecord>... predicates) {
            findOpApplicationId(ApplyPluginBuildOperationType, Specs.intersect(predicates))
        }
    
        private static Spec<? super BuildOperationRecord> targetsGradle() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        "0000feff".decodeHex(),
      )
    
    /**
     * Returns an array containing only elements found in this array and also in [other]. The returned
     * elements are in the same order as in this.
     */
    internal fun Array<String>.intersect(
      other: Array<String>,
      comparator: Comparator<in String>,
    ): Array<String> {
      val result = mutableListOf<String>()
      for (a in this) {
        for (b in other) {
          if (comparator.compare(a, b) == 0) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt

            val matchingClassSet = matchingClasses.toSet()
    
            val matchingClassesRanking = matchingClasses
                .associateWith { matchingClassSet.intersect(it.allSuperclasses).size }
    
            // Find supertypes with the highest number of frontend-independent supertypes
            // It means more specific classes will be selected (such as KaClassSymbol instead of KaSymbol)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.upTo(comparator(), upperBound, boundType)),
            header);
      }
    
      @Override
      public SortedMultiset<E> tailMultiset(@ParametricNullness E lowerBound, BoundType boundType) {
        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.downTo(comparator(), lowerBound, boundType)),
            header);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/image/draw/draw.go

    // the same amount as the change in r.Min.
    func clip(dst Image, r *image.Rectangle, src image.Image, sp *image.Point, mask image.Image, mp *image.Point) {
    	orig := r.Min
    	*r = r.Intersect(dst.Bounds())
    	*r = r.Intersect(src.Bounds().Add(orig.Sub(*sp)))
    	if mask != nil {
    		*r = r.Intersect(mask.Bounds().Add(orig.Sub(*mp)))
    	}
    	dx := r.Min.X - orig.X
    	dy := r.Min.Y - orig.Y
    	if dx == 0 && dy == 0 {
    		return
    	}
    	sp.X += dx
    	sp.Y += dy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeMultiset.java

        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.upTo(comparator(), upperBound, boundType)),
            header);
      }
    
      @Override
      public SortedMultiset<E> tailMultiset(@ParametricNullness E lowerBound, BoundType boundType) {
        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.downTo(comparator(), lowerBound, boundType)),
            header);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/deployment/builder.go

    			}
    			if data.RawTemplates != nil {
    				t := sets.New[string]()
    				for name := range data.RawTemplates {
    					t.Insert(name)
    				}
    				// either intersection has not been set or we intersect these templates
    				// with the current set.
    				if intersection.IsEmpty() {
    					intersection = t
    				} else {
    					intersection = intersection.Intersection(t)
    				}
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/Intersections.java

                return left;
            } else {
                return intersections.stream()
                    .filter(i -> i.applies(left, right))
                    .findFirst()
                    .map(i -> i.intersect(left, right, factory))
                    .orElse(null);
            }
        }
    
        @NonNullApi
        private final class IntersectAnyWithAny extends AbstractIntersection<ExcludeAnyOf, ExcludeAnyOf> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 21:03:05 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    		// we aren't careful about which structs or methods
    		// we rexport: it should be only those referenced
    		// from the API of s.pkg.
    		// TODO(adonovan): opt: be more precise. e.g.
    		// intersect with the set of objects computed by
    		// importMap(s.pkg.Imports()).
    		// TODO(adonovan): opt: implement "shallow" facts.
    		if k.pkg != s.pkg {
    			if k.obj == nil {
    				continue // imported package fact
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top