Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for Constraint (0.45 sec)

  1. build-logic-commons/build-platform/build.gradle.kts

    import groovy.lang.GroovySystem
    import org.gradle.util.internal.VersionNumber
    
    plugins {
        `java-platform`
    }
    
    group = "gradlebuild"
    
    description = "Provides a platform that constrains versions of external dependencies used by Gradle"
    
    // Here you should declare versions which should be shared by the different modules of buildSrc itself
    val javaParserVersion = "3.18.0"
    val groovyVersion = GroovySystem.getVersion()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pkg/util/smallset/smallset.go

    //
    //	At 1000 items, it is roughly 5x slower (30ns vs 5ns).
    type Set[T constraints.Ordered] struct {
    	items []T
    }
    
    // NewPresorted creates a new Set with the given items.
    // If items is not sorted or contains duplicates, this gives undefined behavior; use New instead.
    func NewPresorted[T constraints.Ordered](items ...T) Set[T] {
    	return Set[T]{items: items}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. architecture/runtimes.md

    The core-runtime module defines each runtime:
    
    - The target JVM for the runtime. Each runtime has its own JVM compatibility constraints.
    - Some base services that are available to code hosted by the runtime. This varies by runtime.
    - Additional constraints. For example, the CLI client runtimes limit the libraries that are available to the code in that runtime, for performance reasons. 
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 06:42:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt

    /**
     * A candidate that is applicable for a call. A candidate is applicable if the call's arguments are complete and are assignable to the
     * candidate's parameters, AND the call's type arguments are complete and fit all the constraints of the candidate's type parameters.
     */
    public class KaApplicableCallCandidateInfo(
        candidate: KaCall,
        isInBestCandidates: Boolean,
    ) : KaCallCandidateInfo(candidate, isInBestCandidates)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/platforms/plugins-platform/build.gradle.kts

    plugins {
        id("java-platform")
    }
    
    group = "com.example.platform"
    
    dependencies {
        constraints {
            api("com.android.tools.build:gradle:7.3.1")
            api("org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin:1.9.23")
            api("org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.23")
            api("org.springframework.boot:org.springframework.boot.gradle.plugin:2.7.8")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:36:42 UTC 2024
    - 427 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/platforms/plugins-platform/build.gradle

    plugins {
        id('java-platform')
    }
    
    group = 'com.example.platform'
    
    dependencies {
        constraints {
            api('com.android.tools.build:gradle:7.3.0')
            api('org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin:1.9.23')
            api('org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.23')
            api('org.springframework.boot:org.springframework.boot.gradle.plugin:2.7.8')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:36:42 UTC 2024
    - 427 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc

    == Declaring a dependency without version
    
    A recommended practice for larger projects is to declare dependencies without versions and use <<dependency_constraints.adoc#sec:adding-constraints-transitive-deps,dependency constraints>> for version declaration.
    The advantage is that dependency constraints allow you to manage versions of all dependencies, including transitive ones, in one place.
    
    .Declaring a dependency without version
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:46:26 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. integration-tests/gradle/build.gradle.kts

                }
                ?.apply { select(this) }
            }
          }
        }
    
        if (name.contains("AndroidConstraint")) {
          dependencies {
            constraints {
              "api"("com.google.guava:guava") {
                attributes {
                  // if the Gradle version is 7+, you can use
                  // TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    // for every possible instantiation of V[A_1, ..., A_N], the instantiation
    // T[A_1, ..., A_N] is valid and V[A_1, ..., A_N] implements T[A_1, ..., A_N].
    //
    // If T has structural constraints, they must be satisfied by V.
    //
    // For example, consider the following type declarations:
    //
    //	type Interface[T any] interface {
    //		Accept(T)
    //	}
    //
    //	type Container[T any] struct {
    //		Element T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/internal/types/testdata/spec/typeAliases1.23b.go

    type _[P any] = RHS[P, int]
    
    // Or it may have more type parameters than its RHS.
    type _[P any, Q ~int, R comparable] = RHS[P, Q]
    
    // The type parameters of a type alias must implement the
    // corresponding type constraints of the type parameters
    // on the RHS (if any)
    type _[P any, Q ~int] = RHS[P, Q]
    type _[P any, Q int] = RHS[P, Q]
    type _[P int | float64] = RHS[P, int]
    type _[P, Q any] = RHS[P, Q /* ERROR "Q does not satisfy ~int" */]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top