Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for _Intersect (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/ssa/debug.go

    		x0 := x // initial value in newState
    
    		// Intersect this slot with the slot in all the predecessors
    		for _, other := range preds {
    			if !updating && other.ID == baseID {
    				continue
    			}
    			otherSlot := blockLocs[other.ID].endState.Find(k)
    			if otherSlot == nil {
    				x = VarLoc{}
    				break
    			}
    			y := otherSlot.(*liveSlot).VarLoc
    			x = x.intersect(y)
    			if x.absent() {
    				x = VarLoc{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          smartAssertTrue(
              inputs, e, intersect(inputs, ImmutableSet.of(doneCancelled, delayedCancelled)));
        }
    
        void assertHasImmediateFailure(
            ListenableFuture<String> a, ListenableFuture<String> b, Exception e) {
          ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b);
          smartAssertTrue(
              inputs, e, intersect(inputs, ImmutableSet.of(doneFailed, doneRuntimeException)));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
Back to top