Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,092 for Compatible (0.15 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            // We should not attempt to compare compatible/compatible2 with fromIndirect because we should not attempt to make this chain
            0 * attributeMatcher.isMatching(compatible, fromIndirect) >> true
            0 * attributeMatcher.isMatching(compatible2, fromIndirect) >> true
    
            // compatible, compatible2 and compatibleIndirect are all compatible with requested attributes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy

            def candidate2 = candidate("best", "best", "compatible")
            def candidate3 = candidate("best", "compatible", "compatible")
            def candidate4 = candidate("compatible", "best", "best")
            def candidate5 = candidate("compatible", "compatible", "best")
            def candidate6 = candidate("compatible", "compatible", "compatible")
            def requested = requested("requested", "requested","requested")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

            expect:
            compatible
        }
    
        def "contexts with different quantity of opts are not compatible"() {
            clientWants(Jvm.forHome(javaHome), ["-Xmx256m", "-Dfoo=foo"])
            candidate.javaHome >> javaHome
            candidate.daemonOpts >> ["-Xmx256m"]
    
            expect:
            !compatible
            unsatisfiedReason.contains "At least one daemon option is different"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/CompatibleDaemonExpirationStrategyTest.groovy

            when:
            compatible = [ d1, d2 ]
    
            then:
            wouldExpire(d1)
            wouldExpire(d2)
        }
    
        def "does not expire when there are no compatible daemons"() {
            given:
            DaemonInfo d1 = registerDaemon(Idle)
            DaemonInfo d2 = registerDaemon(Idle)
            DaemonInfo d3 = registerDaemon(Idle)
    
            when:
            compatible = []
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/JavaEcosystemSupportTest.groovy

                // they should not even be called in this case
                0 * details._()
            } else if (compatible) {
                1 * details.compatible()
            } else {
                0 * details._()
            }
    
            where:
            consumer                     | producer                                             | compatible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/encoder.md

    # JSON Compatible Encoder
    
    There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc).
    
    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder`
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultCompatibilityCheckResult.java

            assert done;
            return compatible;
        }
    
        @Override
        public boolean hasResult() {
            return done;
        }
    
        @Override
        public T getConsumerValue() {
            return consumerValue;
        }
    
        @Override
        public T getProducerValue() {
            return producerValue;
        }
    
        @Override
        public void compatible() {
            done = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. test/fixedbugs/bug285.go

    	m1[i0] = 42
    	m1[i1] = 42
    	m1[new(struct {
    		x int
    	})] = 42       // this should work: *struct{x int} is assignment-compatible with I1
    	m1[false] = 42 // this should work: false is assignment-compatible with I1
    	m1[17] = 42    // this should work: 17 is assignment-compatible with I1
    	m1["foo"] = 42 // this should work: "foo" is assignment-compatible with I1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultCompatibilityRuleChainTest.groovy

            @Override
            void execute(CompatibilityCheckDetails<String> details) {
                assert details.consumerValue == "value1"
                assert details.producerValue == "value2"
                details.compatible()
            }
        }
    
        static class CompatibilityRuleWithParams implements AttributeCompatibilityRule<String> {
            String p1
    
            @Inject
            CompatibilityRuleWithParams(String p1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy

            when:
            def options = daemonForkOptionsBuilder().build()
    
            then:
            options.keepAliveMode == KeepAliveMode.DAEMON
        }
    
        def "is compatible with compatible java forkOptions"() {
            def javaForkOptions = TestFiles.execFactory().newJavaForkOptions()
            javaForkOptions.workingDir = systemSpecificAbsolutePath("foo")
            javaForkOptions.minHeapSize = "128m"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top