Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 732 for preferGo (0.3 sec)

  1. docs/en/docs/tutorial/request-files.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7  15"
        {!> ../../../docs_src/request_files/tutorial001_02_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="9  17"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

                dependencies {
                    constraints {
                        conf('org:foo') {
                            version { prefer '1.1.0' }
                        }
                        conf('org:foo') {
                            version { prefer '1.0.0' }
                        }
                    }
                    conf 'org:foo:[1.0.0,2.0.0)'
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="3"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/erasure-decode.go

    // These will be chosen before others.
    func (p *parallelReader) preferReaders(prefer []bool) {
    	if len(prefer) != len(p.orgReaders) {
    		return
    	}
    	// Copy so we don't change our input.
    	tmp := make([]io.ReaderAt, len(p.orgReaders))
    	copy(tmp, p.orgReaders)
    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataComparatorTest.groovy

    import static org.gradle.internal.jvm.inspection.JvmVendor.KnownJvmVendor.UNKNOWN
    
    /**
     * Tests {@link JvmInstallationMetadataComparator}.
     */
    class JvmInstallationMetadataComparatorTest extends Specification {
    
        def "prefers higher major versions"() {
            given:
            def metadata = [
                jvmMetadata("6.0"),
                jvmMetadata("8.0"),
                jvmMetadata("11.0"),
                jvmMetadata("5.1")
            ]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-settings/kotlin/settings.gradle.kts

                    library("groovy-nio", "org.codehaus.groovy:groovy-nio:3.0.5")
                    library("commons-lang3", "org.apache.commons", "commons-lang3").version {
                        strictly("[3.8, 4.0[")
                        prefer("3.9")
                    }
                }
            }
        }
        // end::simple_catalog[]
    }
    
    if (providers.systemProperty("create2").getOrNull() != null) {
        // tag::catalog_with_versions[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

                    noMoreExcludes()
                    prefers('2.5.6')
                    strictly(null)
                    rejects()
                }
                noMoreDependencies()
            }
    
            javaLibrary.parsedModuleMetadata.variant('runtimeElements') {
                dependency('commons-collections:commons-collections:3.2.2') {
                    noMoreExcludes()
                    prefers(null)
                    strictly('3.2.2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/PublishedCapabilitiesIntegrationTest.groovy

                            .byConflictResolution("On capability org:cap prefers module $expected")
                        module('org:testB:1.0')
                    } else {
                        module('org:testA:1.0')
                        edge('org:testB:1.0', "org:testA:1.0")
                            .byConflictResolution("On capability org:cap prefers module $expected")
                    }
                    module('org:testC:1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  9. platforms/software/plugins-version-catalog/src/integTest/resources/org/gradle/api/plugins/catalog/internal/plugin-notations.toml

    [plugins]
    simple = "org.example:1.0"
    with-id = { id = "org.example", version = "1.1"}
    with-ref = { id = "org.example", version.ref = "ref"}
    with-rich1 = { id = "org.example", version = { prefer = "1.0" } }
    with-rich2 = { id = "org.example", version.prefer = "1.0" }
    with-rich3 = { id = "org.example", version.require = "1.0" }
    with-rich4 = { id = "org.example", version.strictly = "1.0" }
    with-rich5 = { id = "org.example", version = { rejectAll = true } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 16 12:28:14 UTC 2023
    - 627 bytes
    - Viewed (0)
  10. subprojects/core/src/test/resources/org/gradle/api/internal/catalog/parser/plugin-notations.toml

    without-version = { id = "org.example" }
    with-id = { id = "org.example", version = "1.1"}
    with-ref = { id = "org.example", version.ref = "ref"}
    with-rich1 = { id = "org.example", version = { prefer = "1.0" } }
    with-rich2 = { id = "org.example", version.prefer = "1.0" }
    with-rich3 = { id = "org.example", version.require = "1.0" }
    with-rich4 = { id = "org.example", version.strictly = "1.0" }
    with-rich5 = { id = "org.example", version = { rejectAll = true } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 668 bytes
    - Viewed (0)
Back to top