- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 552 for reassignment (0.33 sec)
-
platforms/documentation/docs/src/snippets/kotlinDsl/assignment/kotlin/build.gradle.kts
plugins { `java-library` } // tag::assignment[] java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } abstract class WriteJavaVersionTask : DefaultTask() { @get:Input abstract val javaVersion: Property<String> @get:OutputFile abstract val output: RegularFileProperty @TaskAction fun execute() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 740 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue23385.go
// license that can be found in the LICENSE file. // Check error message for use of = instead of == . package p func _() { if true || 0 /* ERROR cannot use assignment .* as value */ = 1 { } } func _(a, b string) { if a == "a" && b /* ERROR cannot use assignment .* as value */ = "b" { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 18:02:18 UTC 2022 - 406 bytes - Viewed (0) -
test/fixedbugs/issue54632.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The inliner would erroneously scan the caller function's body for // reassignments *before* substituting the inlined function call body, // which could cause false positives in deciding when it's safe to // transitively inline indirect function calls. package main func main() { bug1()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 24 14:31:08 UTC 2022 - 609 bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/defaultCodeResolver.kt
propertyAccessResolver.doResolvePropertyAccessToAssignable(analysisContext, propertyAccess) override fun doResolveAssignment(context: AnalysisContext, assignment: Assignment): AssignmentRecord? = statementResolver.doResolveAssignment(context, assignment) override fun doResolveLocalValue(context: AnalysisContext, localValue: LocalValue) = statementResolver.doResolveLocalValue(context, localValue)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 4.2K bytes - Viewed (0) -
test/typeparam/issue45547.go
package p func f[T any]() (f, g T) { return f, g } // Tests for generic function instantiation on the right hande side of multi-value // assignments. func g() { // Multi-value assignment within a function var _, _ = f[int]() } // Multi-value assignment outside a function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 471 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_device_assignment.cc
} }); } }; #define GEN_PASS_DEF_TFDEVICEASSIGNMENTBYFUNCATTRPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" // A pass to perform device assignment for TF dialect ops that do not // have device assignment, by using the device attribute of the function. // If device attribute is not found from the function, nothing is done. class TFDeviceAssignmentByFuncAttrPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.3K bytes - Viewed (0) -
test/fixedbugs/issue30085.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main() { var c, d = 1, 2, 3 // ERROR "assignment mismatch: 2 variables but 3 values|wrong number of initializations|extra init expr" var e, f, g = 1, 2 // ERROR "assignment mismatch: 3 variables but 2 values|wrong number of initializations|missing init expr" _, _, _, _, _ = c, d, e, f, g
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:07:00 UTC 2023 - 488 bytes - Viewed (0) -
src/internal/types/testdata/spec/range.go
for i /* ERROR "cannot use i (value of type MyInt) as int value in assignment" */, s /* ERROR "cannot use s (value of type MyString) as string value in assignment" */ = range f8 { _, _ = mi, ms } for mi, ms := range f8 { i, s = mi /* ERROR "cannot use mi (variable of type MyInt) as int value in assignment" */, ms /* ERROR "cannot use ms (variable of type MyString) as string value in assignment" */ } for mi, ms = range f8 { _, _ = mi, ms }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 04:31:42 UTC 2024 - 3.5K bytes - Viewed (0) -
test/escape_param.go
} func paramArraySelfAssign(p *PairOfPairs) { // ERROR "p does not escape" p.pairs[0] = p.pairs[1] // ERROR "ignoring self-assignment in p.pairs\[0\] = p.pairs\[1\]" } func paramArraySelfAssignUnsafeIndex(p *PairOfPairs) { // ERROR "leaking param content: p" // Function call inside index disables self-assignment case to trigger. p.pairs[zero()] = p.pairs[1] p.pairs[zero()+1] = p.pairs[1] } type PairOfPairs struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 26 23:50:32 UTC 2021 - 8.9K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeDependentAnalysisSourceModuleHLExpressionTypeTestGenerated.java
@TestDataPath("$PROJECT_ROOT") public class Assignment { @Test public void testAllFilesPresentInAssignment() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/assignment"), Pattern.compile("^(.+)\\.kt$"), null, true); } @Test
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 10:25:23 UTC 2024 - 21.4K bytes - Viewed (0)