Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 204 for unambiguous (0.31 sec)

  1. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/DependencyReportTaskTest.groovy

            def confB = project.configurations.create("confBravo")
    
            when:
            task.configuration = "coB"
    
            then:
            task.configurations == [confB] as Set
        }
    
        def "ambiguous configuration selection by camelCase shortcut fails"() {
            given:
            project.configurations.create("confAlpha")
            project.configurations.create("confAlfa")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 12 17:41:29 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/attributes/DisambiguationRuleChain.java

     * </p>
     *
     * <p>If the end of the rule chain is reached and that no rule selected a candidate then the candidate list is returned
     * unmodified, meaning we still have an ambiguous match.</p>
     *
     * @param <T> the concrete type of the attribute
     */
    @HasInternalProtocol
    public interface DisambiguationRuleChain<T> {
    
        /**
         * <p>Adds an arbitrary disambiguation rule to the chain.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/selection/DefaultBuildTaskSelectorTest.groovy

            "progx:task"    | "Cannot locate tasks that match 'progx:task' as project 'progx' not found in <default project>. Some candidates are: 'proj'."
        }
    
        def "fails on ambiguous project"() {
            withIncludedBuilds(includedBuild("proj1"))
            addProject(root, "proj2")
            addProject(root, "proj3")
    
            when:
            selector.resolveTaskName(null, null, target, ":pr:task")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/MissingAttributeAmbiguousGraphVariantsFailureDescriber.java

        }
    
        private String suggestDependencyInsight() {
            return "Use the dependencyInsight report with the --all-variants option to view all variants of the ambiguous dependency.  This report is described at " + getDocumentationRegistry().getDocumentationFor("viewing_debugging_dependencies", "sec:identifying_reason_dependency_selection") + ".";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:12:53 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. docs/features/caching.md

    Caching
    =======
    
    OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and
    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and 
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version.go

    func ParseGroupResource(gr string) GroupResource {
    	if i := strings.Index(gr, "."); i >= 0 {
    		return GroupResource{Group: gr[i+1:], Resource: gr[:i]}
    	}
    	return GroupResource{Resource: gr}
    }
    
    // GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
    // to avoid automatic coercion.  It doesn't use a GroupVersion to avoid custom marshalling
    type GroupVersionResource struct {
    	Group    string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 30 09:08:59 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go

    )
    
    type RecognizingDecoder interface {
    	runtime.Decoder
    	// RecognizesData should return true if the input provided in the provided reader
    	// belongs to this decoder, or an error if the data could not be read or is ambiguous.
    	// Unknown is true if the data could not be determined to match the decoder type.
    	// Decoders should assume that they can read as much of peek as they need (as the caller
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

          return
        }
    
        writer.write(name, tagClass, tag) {
          codec.encode(writer, value)
        }
      }
    
      /**
       * Returns a copy with a context tag. This should be used when the type is ambiguous on its own.
       * For example, the tags in this schema are 0 and 1:
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [0] INTEGER OPTIONAL,
       *   y [1] INTEGER OPTIONAL
       * }
       * ```
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentNullToNull() {
        // The spec is somewhat ambiguous about this case, but the actual default implementation
        // in Map will remove a present null.
        initMapWithNullValue();
        assertNull(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 6.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorTest.groovy

            expect:
            def result = instantiator.newInstance(SomeTypeWithPrimitiveTypes, true)
            result instanceof SomeTypeWithPrimitiveTypes
            result.result
        }
    
        def "fails when target class has ambiguous constructor"() {
            when:
            instantiator.newInstance(TypeWithAmbiguousConstructor, "param")
    
            then:
            ObjectInstantiationException e = thrown()
            e.cause instanceof IllegalArgumentException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top