Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 303 for deduplicated (0.15 sec)

  1. src/go/types/context.go

    // identical type instances across type-checked packages or calls to
    // Instantiate. Contexts are safe for concurrent use.
    //
    // The use of a shared context does not guarantee that identical instances are
    // deduplicated in all cases.
    type Context struct {
    	mu        sync.Mutex
    	typeMap   map[string][]ctxtEntry // type hash -> instances entries
    	nextID    int                    // next unique ID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy

            classpath.sourceDir('src/main/resources').assertOutputLocation('out/res')
        }
    
        @ToBeFixedForConfigurationCache
        def "Overlapping default and source folder output paths are deduplicated"() {
            setup:
            buildFile << """
                apply plugin: 'java'
                apply plugin: 'eclipse'
    
                sourceSets {
                    "default" {
                        java {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 13:19:47 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/instantiate_test.go

    	const src = "package p; type T[P any] int"
    	pkg1 := mustTypecheck(src, nil, nil)
    	pkg2 := mustTypecheck(src, nil, nil)
    	// We consider T1 and T2 to be distinct types, so their instances should not
    	// be deduplicated by the context.
    	T1 := pkg1.Scope().Lookup("T").Type().(*Named)
    	T2 := pkg2.Scope().Lookup("T").Type().(*Named)
    	ctxt := NewContext()
    	res1, err := Instantiate(ctxt, T1, []Type{Typ[Int]}, false)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/go/types/instantiate_test.go

    	const src = "package p; type T[P any] int"
    	pkg1 := mustTypecheck(src, nil, nil)
    	pkg2 := mustTypecheck(src, nil, nil)
    	// We consider T1 and T2 to be distinct types, so their instances should not
    	// be deduplicated by the context.
    	T1 := pkg1.Scope().Lookup("T").Type().(*Named)
    	T2 := pkg2.Scope().Lookup("T").Type().(*Named)
    	ctxt := NewContext()
    	res1, err := Instantiate(ctxt, T1, []Type{Typ[Int]}, false)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                    .forTasks()
                    .run()
            }
    
            then:
            !taskExecuted(out, ":eclipseClosedDependencies")
    
    
        }
    
        def "task name is deduplicated"() {
            setup:
            multiProjectBuildInRootFolder("root", ["child1", "child2"]) {
                buildFile << """
                subprojects {
                    apply plugin: 'java-library'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. pkg/kube/controllers/queue.go

    	"istio.io/istio/pkg/config"
    	istiolog "istio.io/istio/pkg/log"
    )
    
    type ReconcilerFn func(key types.NamespacedName) error
    
    // Queue defines an abstraction around Kubernetes' workqueue.
    // Items enqueued are deduplicated; this generally means relying on ordering of events in the queue is not feasible.
    type Queue struct {
    	queue       workqueue.RateLimitingInterface
    	initialSync *atomic.Bool
    	name        string
    	maxAttempts int
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/testing/match.go

    type matcher struct {
    	filter    filterMatch
    	skip      filterMatch
    	matchFunc func(pat, str string) (bool, error)
    
    	mu sync.Mutex
    
    	// subNames is used to deduplicate subtest names.
    	// Each key is the subtest name joined to the deduplicated name of the parent test.
    	// Each value is the count of the number of occurrences of the given subtest name
    	// already seen.
    	subNames map[string]int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

            }
        }
    
        def "deduplicated keys are chosen by subkeys amount"() {
            given:
            javaLibrary()
            file("gradle/verification-keyring.keys").copyFrom(
                this.class.getResource("/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest/duplicated.keys")
            )
    
            when:
            writeVerificationMetadata()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  9. cmd/importverifier/importverifier.go

    	return !strings.HasPrefix(relPath, ".."), nil
    }
    
    // forbiddenImportsFor determines all of the forbidden
    // imports for a package given the import restrictions
    // and returns a deduplicated list of them
    func (i *ImportRestriction) forbiddenImportsFor(pkg Package) []string {
    	forbiddenImportSet := map[string]struct{}{}
    	imports := pkg.Imports
    	if !i.ExcludeTests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    				metav1.LabelSelectorOpDoesNotExist,
    			}
    
    			if j.MatchExpressions != nil {
    				// NB: the label selector parser code sorts match expressions by key, and
    				// sorts and deduplicates the values, so we need to make sure ours are
    				// sorted and deduplicated as well here to preserve round-trip comparison.
    				// In practice, not sorting doesn't hurt anything...
    
    				for i := range j.MatchExpressions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top