Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Intersect (0.14 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

            !patternSet.intersect().isEmpty()
    
            when:
            patternSet = new PatternSet()
            patternSet.exclude { false }
            then:
            !patternSet.isEmpty()
            !patternSet.intersect().isEmpty()
    
            when:
            patternSet = new PatternSet()
            patternSet.exclude("*.txt")
            then:
            !patternSet.isEmpty()
            !patternSet.intersect().isEmpty()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/image/image.go

    // SubImage returns an image representing the portion of the image p visible
    // through r. The returned value shares pixels with the original image.
    func (p *RGBA) SubImage(r Rectangle) Image {
    	r = r.Intersect(p.Rect)
    	// If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside
    	// either r1 or r2 if the intersection is empty. Without explicitly checking for
    	// this, the Pix[i:] expression below can panic.
    	if r.Empty() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  3. src/cmd/covdata/metamerge.go

    		}
    		fnIdx = gfidx
    	}
    	if !haveCounters {
    		return
    	}
    
    	// Install counters in package ctab.
    	gfp, ok := mm.p.ctab[fnIdx]
    	if ok {
    		if verb == "subtract" || verb == "intersect" {
    			panic("should never see this for intersect/subtract")
    		}
    		if *verbflag >= 3 {
    			fmt.Printf("counter merge for %s fidx=%d\n", fd.Funcname, fnIdx)
    		}
    		// Merge.
    		err, overflow := mm.MergeCounters(gfp.Counters, counters)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    	//   * if the tokenreview returns with audiences in the status that intersect
    	//     with the audiences in the ctx, copy into the response and return success
    	//   * if the tokenreview returns without an audience in the status, ensure
    	//     the ctx audiences intersect with the implicit audiences, and set the
    	//     intersection in the response.
    	//   * otherwise return unauthenticated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

    import okhttp3.ConnectionSpec.Builder
    import okhttp3.internal.concat
    import okhttp3.internal.effectiveCipherSuites
    import okhttp3.internal.hasIntersection
    import okhttp3.internal.indexOf
    import okhttp3.internal.intersect
    
    /**
     * Specifies configuration for the socket connection that HTTP traffic travels through. For `https:`
     * URLs, this includes the TLS version and cipher suites to use when negotiating a secure
     * connection.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
        if (intersect(features, requirements.getAbsentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> unwantedFeatures = Helpers.copyToSet(requirements.getAbsentFeatures());
            unwantedFeatures.retainAll(features);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
        if (intersect(features, requirements.getAbsentFeatures())) {
          if (logger.isLoggable(FINER)) {
            Set<Feature<?>> unwantedFeatures = Helpers.copyToSet(requirements.getAbsentFeatures());
            unwantedFeatures.retainAll(features);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessorTest.groovy

            componentSelection.rejectionReason == "rejected"
    
            and:
            // None of the metadata rules get fired because a non-metadata rule rejected first
            closuresCalled.intersect(1..3) == []
            closuresCalled.contains(5)
    
            and:
            0 * metadataProvider._
        }
    
        // Short circuiting tests will need to be removed once the extra param feature is removed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. src/cmd/covdata/tool_test.go

    		t.Fatalf("can't create outdir %s: %v", ioutdir, err)
    	}
    
    	// Intersect the two dirs into a final result.
    	ins := fmt.Sprintf("-i=%s,%s", indir1, indir2)
    	out := fmt.Sprintf("-o=%s", ioutdir)
    	sargs := []string{ins, out}
    	lines := runToolOp(t, s, "intersect", sargs)
    	if len(lines) != 0 {
    		t.Errorf("intersect run produced unexpected output: %+v", lines)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

          )
        }
      }
    
      private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> {
        return client.connectionSpecs.first().cipherSuites!!.map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet())
      }
    
      private fun makeClient(
        connectionSpec: ConnectionSpec? = null,
        tlsVersion: TlsVersion? = null,
        cipherSuites: List<CipherSuite>? = null,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top