Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for disambiguate (0.22 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/cpp/CppBinary.java

    public interface CppBinary {
        /**
         * Returns the name of this binary. This is used to disambiguate the binaries of a project. Each binary has a unique name within its project. However, these names are not unique across multiple projects.
         */
        String getName();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            def candidates = [value1, value2] as Set
    
            when:
            def best = schema.matcher().selectionSchema.disambiguate(attr, flavor('requested'), candidates)
    
            then:
            best == [value1] as Set
    
            when:
            best = schema.matcher().selectionSchema.disambiguate(attr, value2, candidates)
    
            then:
            best == [value1] as Set
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/cpp/CppComponent.java

    import org.gradle.tooling.model.DomainObjectSet;
    
    /**
     * Represents a C++ component.
     *
     * @since 4.10
     */
    public interface CppComponent {
        /**
         * Returns the name of this component. This is used to disambiguate the component of a project. Each component has a unique name within its project. However, these names are not unique across multiple projects.
         */
        String getName();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/go/parser/testdata/issue49482.go2

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type (
            // these need a comma to disambiguate
            _[P *T,] struct{}
            _[P *T, _ any] struct{}
            _[P (*T),] struct{}
            _[P (*T), _ any] struct{}
            _[P (T),] struct{}
            _[P (T), _ any] struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 20:20:27 UTC 2022
    - 965 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/issue49482.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type (
            // these need a comma to disambiguate
            _[P *T,] struct{}
            _[P *T, _ any] struct{}
            _[P (*T),] struct{}
            _[P (*T), _ any] struct{}
            _[P (T),] struct{}
            _[P (T), _ any] struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 965 bytes
    - Viewed (0)
  6. test/typeparam/issue54456.go

    // run
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The Go 1.18 frontend failed to disambiguate instantiations of
    // different, locally defined generic types with the same name.
    //
    // The unified frontend also exposed the scope-disambiguation mangling
    // to end users in reflect data.
    
    package main
    
    import (
    	"reflect"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:13:48 UTC 2022
    - 898 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AttributeSelectionSchema.java

         *
         * @return A subset of {@code candidates} which contain matched attribute values. Or, null if no matches were found.
         */
        @Nullable
        Set<Object> disambiguate(Attribute<?> attribute, @Nullable Object requested, Set<Object> candidates);
    
        boolean matchValue(Attribute<?> attribute, Object requested, Object candidate);
    
        @Nullable
        Attribute<?> getAttribute(String name);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/OperationDescriptor.java

    @HasInternalProtocol
    public interface OperationDescriptor {
    
        /**
         * Returns the name of the operation. This name does not necessarily uniquely identify the operation. However, the name can be used
         * by a human to disambiguate between the children of a given operation.
         *
         * @return The name of the operation.
         */
        String getName();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/MultipleCandidateMatcher.java

            Set<Object> candidateValues = getCandidateValues(compatible, c -> getCandidateValue(c, a));
            if (candidateValues.size() <= 1) {
                return;
            }
    
            Set<Object> matches = schema.disambiguate(requestedAttributes.get(a), requestedAttributeValues[a], candidateValues);
            if (matches != null && matches.size() < candidateValues.size()) {
                // Remove any candidates which do not satisfy the disambiguation rule.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

                "Consider adding an additional attribute to one of the configurations to disambiguate them.  " +
                "Run the 'outgoingVariants' task for more details. ${documentationRegistry.getDocumentationRecommendationFor("information", "upgrading_version_7", "unique_attribute_sets")}")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top