Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for Assignment (0.13 sec)

  1. platforms/core-configuration/kotlin-dsl/build.gradle.kts

            isTransitive = false
        }
        implementation(libs.futureKotlin("sam-with-receiver-compiler-plugin")) {
            isTransitive = false
        }
        implementation(libs.futureKotlin("assignment-compiler-plugin-embeddable")) {
            isTransitive = false
        }
        implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0") {
            isTransitive = false
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyAccessResolver.kt

        fun AnalysisScopeView.findLocalAsObjectOrigin(name: String): ObjectOrigin.FromLocalValue? {
            val local = findLocal(name) ?: return null
            val fromLocalValue = ObjectOrigin.FromLocalValue(local.localValue, local.assignment)
            return fromLocalValue
        }
    
        private
        fun findDataProperty(
            receiverType: DataType,
            name: String
        ): DataProperty? =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

                addAndConfigure("incorrect signature", 1) {
                    number = 123
                    number = f(illegalPropertyUsage) // for now, it is reported as a single error; do we want it to be an assignment of an erroneous value?
                }
                unknown("test2")
                complexValueOne = "type mismatch"
                noSuchFunction(two("three"))
                nested {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/spec/range_int.go

    	}
    	for j = range 1.1 /* ERROR "cannot range over 1.1 (untyped float constant)" */ {
    	}
    	for j = range 10.0 /* ERROR "cannot range over 10.0 (untyped float constant 10)" */ {
    	}
    
    	// There shouldn't be assignment errors if there are more iteration variables than permitted.
    	var i int
    	_ = i
    	for i, j /* ERROR "range over 10 (untyped int constant) permits only one iteration variable" */ = range 10 {
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. pkg/test/framework/components/environment/kube/settings.go

    	// plane cases (where each cluster has its own control plane), the cluster will map to itself (e.g. 0->0).
    	controlPlaneTopology clusterTopology
    
    	// networkTopology is used for the initial assignment of networks to each cluster.
    	// The source of truth clusters' networks is the Cluster instances themselves, rather than this field.
    	networkTopology map[clusterIndex]string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. pkg/slices/slices.go

    func Sort[E constraints.Ordered](x []E) []E {
    	if len(x) <= 1 {
    		return x
    	}
    	slices.Sort(x)
    	return x
    }
    
    // Clone returns a copy of the slice.
    // The elements are copied using assignment, so this is a shallow clone.
    func Clone[S ~[]E, E any](s S) S {
    	return slices.Clone(s)
    }
    
    // Delete removes the element i from s, returning the modified slice.
    func Delete[S ~[]E, E any](s S, i int) S {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentTrace.kt

            val assignmentResolver = assignmentResolverFactory()
            val elementResults = buildList {
                val assignments = resolutionResult.conventionAssignments + resolutionResult.assignments
                assignments.forEach { (lhs, rhs, callId, method) ->
                    add(
                        when (val additionResult = assignmentResolver.addAssignment(lhs, rhs, method, callId.generationId)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/SoftwareTypeRegistryIntegration.kt

            // TODO: optimize O(n) lookup
            softwareTypeRegistry.softwareTypeImplementations.find { it.softwareType == softwareTypeName }?.let { softwareType ->
                val assignments = buildList {
                    softwareType.conventions.filterIsInstance<AssignmentRecordConvention>().forEach { it.apply(::add) }
                }
                val additions = buildList {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/AnalysisFilterTest.kt

                }
                """.trimIndent(),
                defaultCodeResolver(elementFilter = AnalysisStatementFilterUtils.isCallNamed("n2").not())
            )
    
            assertEquals(1, result.assignments.size)
            assertEquals("4", result.assignments.single().rhs.originElement.sourceData.text())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt

    }
    
    
    fun printResolutionResults(
        result: ResolutionResult
    ) {
        println(result.errors.joinToString("\n") { "ERROR: ${it.errorReason} in ${it.element.sourceData.text()}\n" })
        println("Assignments:\n" + result.assignments.joinToString("\n") { (k, v) -> "$k := $v" })
        println()
        println("Additions:\n" + result.additions.joinToString("\n") { (container, obj) -> "$container += $obj" })
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top