- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 661 for Assignment (0.14 sec)
-
analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt
Anna Kozlova <******@****.***> 1709677574 +0100
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 08 22:12:25 UTC 2024 - 72 bytes - Viewed (0) -
analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.txt
Anna Kozlova <******@****.***> 1709677574 +0100
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 08 22:12:25 UTC 2024 - 40 bytes - Viewed (0) -
src/go/types/assignments.go
// if necessary by attempting to convert untyped values to the appropriate // type. context describes the context in which the assignment takes place. // Use T == nil to indicate assignment to an untyped blank identifier. // If the assignment check fails, x.mode is set to invalid. func (check *Checker) assignment(x *operand, T Type, context string) { check.singleValue(x) switch x.mode { case invalid: return // error reported before
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
// This file implements initialization and assignment checks. package types2 import ( "cmd/compile/internal/syntax" "fmt" . "internal/types/errors" "strings" ) // assignment reports whether x can be assigned to a variable of type T, // if necessary by attempting to convert untyped values to the appropriate // type. context describes the context in which the assignment takes place.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
clause/set.go
} sort.Strings(keys) assignments := make([]Assignment, len(keys)) for idx, key := range keys { assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]} } return assignments } func AssignmentColumns(values []string) Set { assignments := make([]Assignment, len(values)) for idx, value := range values {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Nov 29 03:02:44 UTC 2021 - 1.4K bytes - Viewed (0) -
test/convert2.go
x int "foo" } var s S var t T var u struct { x int "bar" } s = s s = t // ERROR "cannot use .* in assignment|incompatible type" s = u // ERROR "cannot use .* in assignment|incompatible type" s = S(s) s = S(t) s = S(u) t = u // ERROR "cannot use .* in assignment|incompatible type" t = T(u) } func _() { type E struct{ x int } type S struct{ x E } type T struct { x E "foo"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 15:55:44 UTC 2022 - 5.9K bytes - Viewed (0) -
src/internal/types/testdata/check/conversions1.go
type T struct { x int "foo" } var s S var t T var u struct { x int "bar" } s = s s = t // ERRORx `cannot use .* in assignment` s = u // ERRORx `cannot use .* in assignment` s = S(s) s = S(t) s = S(u) t = u // ERRORx `cannot use .* in assignment` t = T(u) } func _() { type E struct{ x int } type S struct{ x E } type T struct { x E "foo" } var s S var t T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracer.kt
} return result } override fun doResolveAssignment(context: AnalysisContext, assignment: Assignment): AssignmentRecord? { val result = statementResolver.doResolveAssignment(context, assignment) if (result != null) { assignmentResolutions[assignment] = result } return result }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 12:28:39 UTC 2024 - 4.1K bytes - Viewed (0) -
test/fixedbugs/issue48558.go
package p func _(a, b, c int) { _ = a _ = a, b // ERROR "assignment mismatch: 1 variable but 2 values" _ = a, b, c // ERROR "assignment mismatch: 1 variable but 3 values" _, _ = a // ERROR "assignment mismatch: 2 variables but 1 value" _, _ = a, b _, _ = a, b, c // ERROR "assignment mismatch: 2 variables but 3 values" _, _, _ = a // ERROR "assignment mismatch: 3 variables but 1 value"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 28 18:13:13 UTC 2023 - 3K bytes - Viewed (0) -
clause/set_test.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.4K bytes - Viewed (0)